DanMarks's Q&A profile
Visual Studio Team System How To: Connect to 2 different TFS Servers
I have two clients using TFS. I can connect and code to both via VPN. Can I setup so that I can have both available or is VS tied to a single server at a time If only one, what is the best way to work around this Thanks, Jeff Hi Jeff, You can connect to only one TFS per VS session. One of the workaround is to start two VS sessions and connect to different TFS in each section. This way you will be able to work with both TFS side by side. Thanks, Mohammad ...Show All
Visual Studio Team System Where is consolebuild?
I'm trying to find "consolebuild" to automate our build process, but I can't find it anywhere. There is a video that shows how to use it, but there are no project/binaries in that website.... Does anyone know where to find it Thanks Here is a detailed entry on how to do scheduled builds for Team Build - http://blogs.msdn.com/abhinaba/archive/2005/11/21/495179.aspx ...Show All
Visual Studio Team System Deleting Branches
When you have a main source code line and create a branch off of it, if you delete the branch from source control, it still appears in the property window. If you create another branch with the same name, VSTS starts creating merge issues with "prior versions". Is there a way to "correctly" delete a branch if no longer needed as a child branch (such as a developer leaves the company) OR is VSTS supposed to not let you delete a branch once it's created. If a branch is never really deleted, why can you create a new branch with the same name... You will see the multiple branches in the Properties...Branches tab in the Source C ...Show All
Visual Studio Express Editions Connecting to an Access 2003 Database from VB 2005 Express
Hi ! I have a form with some textboxes and a button. I have an Access Database on my desktop. I want to write the values from my textboxes to a table in the database. I havesome code to do this, and it should work, but It throws an exception that is far too complicated for a Newbie like me to decifer. Here is the Excption (on top) with the code I'm using below that. Heeeeelllllp! P.S . The values in the "TextBoxes" are numbers, and the value in the "MaskedTextBox" is a value from a "DateTimePicker". System.Data.OleDb.OleDbException: Syntax error in INSERT INTO statement. at Syste ...Show All
Visual C++ detect program exit, closesocket, using atexit()?
In a Visual C++ .NET 2003 console application: int _tmain( int argc, TCHAR* argv[], TCHAR* envp[]) { atexit(exit_handler); // open some sockets here while (1) { // handle the socket stuff here } // close the sockets here } static void exit_handler( void) { // try to close the sockets } When I close the console window with 'X', the exit_hander runs, but can not close the socket because the main thread 'owns' the socket. I would really like to change the while() loo ...Show All
Visual C++ create C++ DLL to be used by C# ?
I want to write a native C++ function that I can later access from C#. Please keep in mind I do not have much experience developing on windows, (mostly unix) and that my only windows compiler is VS2005. I tried creating a MFC DLL. I am able to access this from a C++ .net program, but not from a C# program using P/Invoke. It seems that a plain MFC DLL is not "good enough" for use with DllImport. Is this correct It seems that I have two options: 1) compile the C++ function as a COM DLL (not sure how to do this from VS2005 - I don't see an option for that). I see an option for an ActiveX DLL...I hope I don't need to do tha ...Show All
.NET Development Save a file as ANSI
Hello. How do i save a file in ANSI-mode All i can find is ASCII, Unicode and some different UTF-encodings. I'm using the System .IO. StreamWriter to save the file. Thanks! You'r my hero ...Show All
Windows Forms Drawing above all windows
I have been searching for months on this: I would like to draw on a transparent window above all other windows. I do not want to disrupt any typing that the user is doing on his current window. An example of this type of behavior are the notification balloons. They appear on top of all other windows and they don't seem to bother anyone's&nbs ...Show All
Visual Studio Calling Crystal report from Business Object 11 Using ASP.NET and Passing parameters to SP
Hi, I want call Crystal reports from Business Object XI server using ASP.NET. I want to pass the Parameters to Stored procedure. If anyone knows please advice me or send me the sample source code. Calling report from BO 11 code Dim serverName As String = "10.1.249.9" Dim mySessionMgr As SessionMgr = New SessionMgr Dim myEnterpriseSession As EnterpriseSession = mySessionMgr.Logon("Administrator", "rptAdmin", serverName, "Enterprise") Dim myEnterpriseService As EnterpriseService = myEnterpriseSession.GetService("Infostore") Dim myInfosto ...Show All
Visual Basic Multi-Project Solution Link
I am new to all this. I have put two projects into a solution. One contains several functions and classes. The other project just creates a window to execute them via a start button. I added a reference in the window project to the project with the classes and functions. However, I am unable to execute from the start button code a class located in the second project. Am I missing some link or something I would assume that the project that contains several functions and classes is set up as a class library project. In the windows project when you added the reference did you add it as a project ...Show All
Microsoft ISV Community Center Forums Add a column to Grantt Chart to MS Project
Hi there, i want to add a column to a grantt chart , this is my code snippet: TableEdit Name:="&Entrada", TaskTable:=True, NewName:="", _ FieldName:="", NewFieldName:="% completado", Title:="", _ Width:=10, Align:=2, ShowInMenu:=True, LockFirstColumn:=True, _ DateFormat:=255, RowHeight:=1, ColumnPosition:=1, AlignTitle:=1 TableApply Name:="&Entrada" SelectTaskColumn Column:="% completado" EditDelete I have an spanish version thats why appear those strings "% completado" (Task Percent Complete), like you'll see thats a not what a looking for...i want something like this: Columns.Add(ColumnType:= enumTaskPercentC ...Show All
Windows Forms datetimepicker null values, control readonly property
1. Will DateTime Picker in Whidbey accept null values / dbnull.value I hope it does. 2. Can we have control like ComboBox, DateTimePicker etc in read-only modes by not disabling it like ReadOnly property in TextBox. Because by disabling it the color will be greyed out and the content can't be copied to clipboard. Thanks, Willy I agree with th ...Show All
Software Development for Windows Vista WWF help files not available
I've installed WWF Beta 1 on top of VS Beta2 on XP Pro. Offline help is not available for Workflow topics, although I can see all the help files are installed in "C:\Program Files\Microsoft SDKs\Windows Workflow Foundation" directory. Any tips on how to solve this Thanks After installing WF Beta 1.2 (or Beta 1) you can view the help by choosing: Start -> All Programs -> Windows Workflow Foundation -> Windows Workflow Foundation Help. The help is stored in a number of *.HXS files in the directory. C:\Program Files\Microsoft SDKs\Windows Workflow Foundation If you are unable to acces ...Show All
SQL Server Newbie question, moving data between sql server 2000 and 2005
Hi, I'm a newbie on SSIS and am trying to grasp my way through this. I am trying to copy data from a Sql Server 2000 database to a simplified table in Sql Server 2005 database. What I want is to move the data to a staging table, then drop the main table and rename the staging table to the main table, to minimize the down-time of the data. I can't get the workflow to work, because the staging table has to exist when I run the package. I thought I could use an "Execute SQL" task to generate the table before I would run the task, but that doesn't work. Am I going about this the wrong way Is there an optimal solution ...Show All
Windows Forms SQL requirements to Set up Terrarium server
i had difficulties setting up terrarium server. i got the message "Login Failed for user '<user1>' " during server setting up. user1 's login type is under SQL server authentication. . sql server group = (LOCAL) (Windows NT) . password was created for user1 . connection string& ...Show All
