ssboyz's Q&A profile
Visual Studio Team System Get file attributes - checked out or not (in code)
Hi, I am wondering if there is any command in the TFS API that lists all files in a folder, and shows whether they are checked out or not. I do know of the QueryPendingSets command, but I would have to combine that with a list of ALL files to get their state - checked in/out. I saw this helpful post about listing checked out files: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=153326&SiteID=1 Is there any API call that allows me to see this in one call P.S. For some reason, the 'Insert Hyperlink' button does not seem to work in FireFox. Hello, You need to use GetItems method of VersionControlServer class to retrieve items available (it has several overloads), and QueryPendingSets of VersionControlServer to view pend ...Show All
SQL Server Report show difference between to weekly totals ????
Hi All, I am very new to RS and i need to know how to do this kind of report. 1) Select the sum of each 7days between the dates entered by a user. 2) For sum col 1 and sum col 2 show a col with the + or - value 3) for sum col 3 and sum col 2 show the + or - vaule and so on. So i think it would look like this col1 col2 diff col3 diff col4 diff 100 50 -50 150 +50 75 -75 I really hope someone can help me with this and i really appreciate any help or guidence anyone can give Kind regards Dave C You can use the group function in SQL to get the sum of the 7 days or you can also retrieve the week number and make a group using it. For the rest you can o ...Show All
Software Development for Windows Vista Copying sys file into the System32/drivers
Hi, I'm trying to load my driver into the WIndow Vista Beta 2. Seems that i cant copy my dirver file (aaa.sys) into the System32/drivers. Is there anyway to work around so that i can let the system to run my driver Should i disable the UAC How can i get the Administrator privileges The error msg that i got is: "You need to provide administrator credentials to copy to this folder" Thanks in Advance... -Brian- Do you have administrator privilege If so, you should be able to copy files directly to the system directory (at least on my machine). Or you can try to disable UAC. ...Show All
Visual C# Interfaces and Abstract Classes
Hi, I am hoping someone can explain this to me. Lets say I have an abstract class called Employee, from Employee, the following classes are inherited, Manager and Cleaner Can someone explain to me how to incorporate an Interface for this scenario so my application can tell which type of object "Manager or Cleaner" its dealing with Thanks Thats exactly what I was thinking of, I just cant think of a place to put the authentication method since I am using the abstract class , how can i get the information from the abstract employee class see my code in my previous post thanks ...Show All
Visual Studio 2008 (Pre-release) Streaming audio/video
I want to create a server that can stream a video to a client but i have no idea where to start. Should i stream the entire file or encode it and then stream it and how can i do that with WCF BasicHttpBinding transport = new BasicHttpBinding(); transport.MessageEncoding = WSMessageEncoding.Mtom; ...Show All
Visual Studio Team System Writing a better test advice
-- DDL CREATE TABLE [dbo].[users] ( [user_id] [int] NOT NULL IDENTITY(1, 1), [username] [varchar] (288) NOT NULL, [firstname] [varchar] (200) NOT NULL, [lastname] [varchar] (200) NOT NULL ) ON [PRIMARY] CREATE PROCEDURE [dbo].[UserGetInfo] ( @username varchar(288) ) AS SET NOCOUNT ON SELECT user_id, username, firstname, lastname where username=@username -- database unit test for dbo.UserGetInfo DECLARE @username VARCHAR (288) SELECT @userId = -1, @username = NULL DECLARE @locUserId INT DECLARE @locUsername varchar(288) SET @locUsername='testuser' insert into users (username,firstname,lastname) values (@locUsername,'test','user') select @locUserId = SCOPE_IDENTITY() EXEC [dbo].[UserGetInfo] @locUsername In the p ...Show All
Smart Device Development Capture devices initialisation and status before each use.
Hi, is there any way to capture device status to see for example if sound card and the mic are fine sorry I did not mean sound card just sound and mic are working fine. The reason behind this is to prepare the device for a VoIP application. ...Show All
Visual Studio Installing VS.NET 2003 on Server 2003
I'm having a probleming installing VS.NET 2003 on Server 2003. Halfway through Step 2,my computer shuts off with no warning. I have isolated my computer and disabled the McAffe anti-virus program and firewalls and it still is crashing. Any help would be appreciated. Thanks, Dean Can you please read the following blog post from Aaron Stebner: Visual Studio .NET 2003 and .NET Framework v1.1 log files And then post the last lines of the relevant log file ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Why compilation takes 35-40 seconds?
I basically have a new project here. I hit compile and I actually timed it twice which ranged 35-40 seconds. Why is that There's nothing there in the code :) Even VS Express's icon in the upper-left corner changed images as it compiled, and VS Express's text ontop somewhat flashes. I rebooted, same slow process. I'm using the latest releases. I'm just curious why it takes so long. I'm use to compiling somewhat-complex native applications & C# forms and it takes much less time. I just get bored waiting around. Any thoughts would be great. I'm just curious what's up. If your content files are big enough, it'll take time to convert them into .xnb format. While at the code developing tr ...Show All
SQL Server Need Assistance: Trying to run jobs and getting nowhere/SQLServerAgent
I've gone through hundreds of posts here and on the Net. I'm creating an ssis package to access my db on my desktop. I then save a copy as "Test" on the msdb database on our sql 2005 box. Try to create a job and I'm getting nowhere. My SQL Server Agent account is a member of local Administrator group and a member of the domain. Now what I noticed is if I run the dtsexec from the command prompt and use the command line string then it works. Just seems like I'm not able to run anything from the SQL Server>>Jobs interface. Please Help :) I have it working with the set password but I'd like not to do this in case other developers create packages and then forget. I'd like to use the be ...Show All
SQL Server Two attributes in one dimension: One on row axis / One on column - how to hide empty values (ShowEmptyVals of PivotTable = true)
Hi dear MS Developer and users of this forum, i have one little question (AS2005): I've created a dimension "Clients", it has two dimension attributes: "Clients" and "Industry line". Now I have in my fact table this entries: ---------------------------------------------- Client Sales Amount A 100 $ B 200 $ C 300 $ ----------------------------------------------- Dimension table "Clients" Client Industry line A 1 B 2 C NULL ----------------------------------------------- Name Columns of Attribute "Industry line" are taken from this table: Ind_line Name 1 Cosmetics ...Show All
Visual Studio MSB3108 ?
What can cause a MSB3108 I have a custom build that just failed with the above error, until now it has worked nicely, but this time it failed and left the machine in a totally messed up state (I however was accessing the build machine via remote desktop) Sizevise we're talking perhaps 30 C# projects + 50 C++/CLI projects.. I'll try again and see what happens... EDIT: what's funny is that neither Google nor MSDN seems to know anything about such an error code... C:\Gsp\Build\Wrappers\Wrappers.sln : error MSB3108: Error executing the CreateTemporaryVCProject task. Insufficient system resources exist to complete the requested service. Well, I thought you have that er ...Show All
Internet Explorer Development Internet Explorer Toolbar (Menu Bar) disappeared after installing IE 7
I use yahoo as my homepage, when the "Get IE7 now!" appeared in the toolbar, I clicked on it and installed it. Big Mistake so far...Here's the problem, after installing my IE menu bar (toolbar) containing "File, Edit, View, tools, help" vanished and I can't figure out how to retrieve it or get it back. I have checked and it is not hidden behind another toolbar. Along with that, The IE blue bar at the top & small bars at the bottom contain no information of the URL (webpage) when pages are loaded. In the Yahoo toolbar, under the pencil icon- there is no standard toolbar listed anymore. Also my tabs disappeared from yahoo and under the toolbar options there no longer is a check box to "Enable Tabbed Browsin ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Simple BreakOut Demo (Source included)
Well there it is, my first ever C# and XNA program I hope it'll help some of you. Download BreakOutDemo.zip v0.31 Thank you MS for that wonderful gift that is the XNA. It is really good to see games comming out of the wood work... but just a favor, can you please make the posts comments if you are not asking a question. Also if you do ask a question and get a correct answer please make the post as answered. Remember that all of the Questions and answers get added up and all count towards the stats for the forums. It would be nice to get the XNA Groups a high answer rate. ...Show All
Visual Basic VB2005 Upgrade, or not?
Hello, I am not sure if this is the right place to ask this question, but I couldn't find anything more fitting. I am considering getting the Visual Studio 2005 IDE, but I have a reservation. I currently have VS2003, and have heard that the .NET 1.1 framework is falling by the wayside, so to speak. I have used the trial version of VS2005, and like it very much. However, I have heard that VS 9.0 will come out soon, and I don't want to have to upgrade again in a year or two. So, I guess my question is, is VS2005 going to be viable long enough to make it worth the purchase Is Microsoft making the higher level languages like Visual Basic "disposable", in other words, changing every few years Please, don't take me as being an ...Show All
