Adamgaventa's Q&A profile
Visual Studio Team System Cannot change TFS from Team Explorer - Team Explorer Bug?
I've Team Explorer installed on a mobile PC on which I've registered my internal TFS Beta 3 Refresh. Then I've published my TFS to the WAN, the TFS publishing works great, but from outside the LAN, when I try to register my TFS using the public published name, Team Explorer shows a Messagge box telling it cannot find the Internal TFS. Of course that it will never find my TFS server using the internal p ...Show All
Windows Forms Checking for file as boolean
I've just written a window application that reads a file in the bin directory, and then writes the information from that file over an existing file in another folder. What I want to know is if there is a way to check the folder I  ...Show All
Windows Forms app.config is read only?
Do you guys know how to override the app.config file to allow writing back to the file (during runtime) When I try to save some custom user settings in the app.config file, it says the collection is read only. There must be a very si ...Show All
.NET Development SQL SecurityException, but only when debugging remotely?
Hi All, I'm having trouble remotely debugging a console application. The application will run on my server, but I am developing it on my desktop machine. I am using Visual Studio 2005 and C#. On both machines (server and desktop) I am logged in with my domain account that has administrator rights on both machines. When I run the executable on the server it connects to the SQL Server 2000 instance without problem and starts acces ...Show All
.NET Development serializing a WindowsIdentity
I am trying to write a simple server/client application that will perform operations on the server using the permissions of the person running the client. I have saught to do this by serializing a WindowsIdentity object representing the client and sending it through a NetworkStream that is connected to the server (which will run as a windows service). Then I attempt to impersonate the user on the server using the WindowsIdentity object. ...Show All
Visual Studio 2008 (Pre-release) How do you read a lambda expression?
Hi All, I am trying to figure out how to read out loud a lambda expression. For example if I have the following i => (i %2) == 0 or c => c.Age < 50 etc. How would I read them to my children Cheers, Clint I think how a lambda expression is read depends on the context in which it is used. For example, In numbers.Where(num => num < 5), the lambda expression is a predicate, so the lambda can na ...Show All
.NET Development SmtpClient and mail server
I need to be able to find the mail server that is default on the user's computer. How do I get mail server if they are using outlook or outlook express I'm creating an asp.net 2 app and I cannot hard code the mail server IP and I cannot use localhost as the mail server will not be on the local machine. Any ideas regards, Mark I'm not sure what you mean by the "default" mail server. Are you ref ...Show All
Windows Forms Security debugging option problem
Starting yesterday I've been getting the following error when I try to debug: The security debugging option is set but it requires the Visual Studio hosting process which is unavailable in this debugging configuration. The security debugging option will be disabled. This option may be re-enabled in the Security property page. The debugging session will continue without security debugging. After I click through this error, only one of the 2 ...Show All
Visual Studio Express Editions Hello, Will someone spell this out, in plain english PLEASE.
Hi all, I've been looking for an answer but not found one i can trust. So... If i download the latest RC of Visual C# Express Edition now (Or another Express Edition) can i sell software that i have written with it now, before the final edition arrives or can i only do this, upon purchasing the FINAL edition Cheers, J what you need, as far as i can establish, is a Go Live licence. do some reading ...Show All
Windows Forms tabs in code
When I paste code on these forums, I lose my tabs and leading spaces. Is there any way to do code formatting here As for airplane antics, no, that's all on that topic. The next one's about travelling, and obsession with&nbs ...Show All
Visual Studio Team System Testing C++ unmanaged code
My company uses unmanaged C++. Is it possible to generate Test Projects that test raw C++ You know, pointers, stl, and all the basic stuff. I'm noticing that there isn't much support for unmanaged C++ in the areas of class diagraming, testing, etc. Is Team System really the way for me to go if I can't use all the bells and whistles If anybody knows anything about testing C++ then please explain to me how to test the simple cl ...Show All
Software Development for Windows Vista SqlTrackingService - Events not tracked
Hi, I'm usign the SqlTrackingService, but I don't get any events to be tracked until the workflow is completed. I've tried creating my own tracking profile( see below), but the result is the same, exept when using my own tracking profile, I don't get any event information at all. static void CreateAndInsertTrackingProfile() { TrackingProfile profile = new TrackingProfile (); ActivityTrackPoint track ...Show All
SQL Server Another Stored procedure problem with VB 2005
Solving one problem leads to another. This post is related to my last one (Can't see stored proc results) so this will look familiar to some of you. This sproc is called by a VB front end. It retrieves a name based on an ID#: set ANSI_NULLS ON set QUOTED_IDENTIFIER ON go ALTER PROCEDURE [dbo].[usp_CrimRecTest] -- Add the parameters for the stored procedure here @caseID nvarchar(12) AS BEGIN -- SET NOCOUNT ON added to prevent e ...Show All
Smart Device Development error
Hi, all I installed VS 2005 beta 2, and make some example program for pocket pc 2003. Each time i compile, i appears a lots of warning, did you see this Like the SDK pocket pc 2003 in visual studio 2005 miss something If you met this, what did you do to pass it However, the program still run. Julien secchk.lib(seccinit.obj) : warning LNK4099: PDB 'secchk.pdb' was not found with 'E:\Program Files\Microsoft Visual Studio 8\Smart ...Show All
Visual C++ VS2005 Linker /ENTRY
We have a bunch of legacy DLL code which uses makefiles to build. The DLLs all use /ENTRY:SomeOtherName rather than the default and I've encountered a problem in VS2005. If I put the /ENTRY switch on the linker command line in the makefile, it doesn't seem to work - when I attempt to load the DLL via LoadLibraryEx(), I get an entry point not found error (0x7f). If, however, I put the /ENTRY switch in the LINK environment variable, the DLL loa ...Show All
