RWatson's Q&A profile
Visual Studio Error open project from source control using MSSCCI
Hi, all. I want to Open project from source control using MSSCCI, but failed. Following is my code: SCCEXTERNC SCCRTN EXTFUN __cdecl SccGetProjPath( LPVOID pContext, HWND hWnd, LPSTR lpUser, LPSTR lpProjName, LPSTR lpLocalProjPath, LPSTR lpAuxProjPath, BOOL bAllowChangePath, LPBOOL pbNew ) { strcpy(lpUser, "DVD"); strcpy(lpProjName, "TestVLSCC31"); strcpy(lpLocalProjPath, "D:\\SccTest002\\TestVLSCC31"); strcpy(lpAuxProjPath, "svn://127.0.0.1"); return SCC_OK; } SCCEXTERNC SCCRTN EXTFUN __cdecl SccOpenProject( LPVOID pContext, HWND hWnd, LPSTR lpUser, LPSTR lpProjName, LPCSTR lpLocalProjPath ...Show All
Visual Studio Express Editions making a default button
Hi!! I’m writing an application that the user write a number in a textbox and then press a button to process a sub. I want the user write in the textbox and when ends press Enter and call the same sub. Is this possible Thanks for the help. I remember in VB 6.0, there was a much easier way doing it. If you had a Button, and the in the text change, you could just add Button1_default or something, like that. How is that possible in VB Exp ...Show All
Software Development for Windows Vista ListView sorted column background color
How can I tell the listview to use the different background color for the column which is used for sorting Normally the whole background of the listview is white, if I sort in the explorer all files for size, the size column is darker. Steffen Sorry for the supid questions. The Vista SDK has an "Whats new in Vista" page where all messages and flags are listed. Despite the fact that the documentation is missing for the new stuff, I can see what has changed. I can't find such page for XP... Steffen ...Show All
SQL Server SQL Express Minimum Requirements Warning on Windows 2000 Professional???
The computers here at work run Windows 2000 5.00.2195 SP4. Everything checks out with the minimum requirements at http://msdn.microsoft.com/vstudio/express/support/sqlreadme/#_3462_setup_issues_238p However, one of the "Reports" from the installation says the machine does not meet the minimum requirements, but provides no details. It installs and I have Admin rights on this machine, but I can't even connect to the Northwind database that I downloaded. Is this due to our logging process where the "system" is actually in another country (ie, "CITYNAME/Username" Any help is appreciated! Jason ...Show All
Windows Forms how to get form window above taskbar
1)how do i program a form window (in c#) to come above the taskbar on desktop , by default it slides under the taskbar . 2)i have a form with a single textbox in it , how do i remove the focus from the textbox when i start the application. i don't want the cursor to be blinking in the textbox. 2)i have a form with a single textbox in it , how do i remove the focus from the textbox when i start the application. i don't want the cursor to be blinking in the textbox. Have your textbox enabled property set to false. On the Activated event, set the enabled property of the textbox to true and you w ...Show All
SQL Server Problem with creating a merge publication
Help!!! This is really frustrating me down! I was trying to follow the MS official tutorial "Creating a mobile application with SQL server mobile" could be found in this link http://msdn2.microsoft.com/en-us/library/ms171908.aspx In the step of creating a merge publication, as I noticed, the snapshot agent is started sucessfully. But very soon later (few seconds), it was shut down with an error message. I checked in the error history, the following message I found: "... The replication agent encountered a failure. The step failed" I also went to msdb.dbo.sysjobsteps and found "Detected nonlogged agent shutdown". Anyone ...Show All
.NET Development Deploying .NET 2.0 Apps with Installshield
My Code Project article covers deploying .NET 2.0 Apps with Installshield. Basically, it involves adding a Custom Action to run a script that starts a program to detect whether the target has v2.0 of .NET installed and then runs dotnetfx.exe as required. http://www.codeproject.com/useritems/InstallDotNet2.asp I've supplied full source code + .exe, the script and instructions for adding it to a project using InstallShield X. There's also a sample project. It doesn't handle the problem of installing to a target that doesn't have Windows Installer 3.0 because there doesn't seem to be a way to install Windows Installer 3.0 from anoth ...Show All
Visual FoxPro coming back to foxpro
used foxpro 2.5 and now have visual fp. am having trouble lwith iff and if then syntax. i want to have user enter a zip code and then the city and state are filled in. thanks for any help there are many 3rd party controls available that do this, you might save yourself a lot of time. I used one about a year ago, it was under $100.00 and worked very well. ...Show All
SQL Server Server Time Dimension - Reference Dimension issue
Here is a scenario that mirrors the type of thing I am trying to accomplish: I have a date field called 'OrderDate' in the Orders table. I set up a Server Time Dimension for it (e.g. 'Orders - Order Date'). So I now have an Orders dimension and a 'Orders - Order Date' dimension in a regular relationship. In the Orders table I have a foreign key relationship with a Product table through ProductID. So I set up a dimension called Product with a regular relationship with the Orders dimension. I then want to build a relationship such that I can break down Products (and product costs etc.) by Order Date. So how do I relate the 'Orders - ...Show All
Visual Studio Team System Load tests not getting dependent files
I have some working coded web tests. However, when I use them in a load test, almost nothing happens. The first POST is passed and then the load test does not GET the dependent files (with the exception of the style sheet according to the server log). After this, nothing. The load test does not attempt another POST. In fact, the load test monitor does not even report that any tests are under way. It only reports user(s) and request(s). Now, I've done load tests on external production websites using the same steps without problems. The only thing that I can think of, is that when attempting to log in, our web app launches a child wi ...Show All
Visual Studio Team System Cannot Delete or Move
I am using a Beta or Pre-release version of Team Foundation Server. The problem I am having is that I moved a directory to a new location and it went to the wrong directory: \DirA\DirA instead of \DirA. Then things got out of sync. The directories under \DirA\DirA, I tried to move to \DirA and then delete \DirA\DirA. It then gave errors that the directory already exists when I tried to do a move. I now can't do anything without getting an error. Is there some sort of analysis or repair utility that I can run to get things in sync Surely someone can tell me how to repair this thing. A source code rep ...Show All
Visual C# Whidbey
what is Whidbey mean in VS.net Whidbey is not a code... What you use for creating applications is called Whidbey(Visual Studio.net 2005 - an iDE). VS.net 2005 comes with .net 2.0 ...Show All
SQL Server Web Synchronisation Throuth SSL
hi, i have done Web Synchronisation Using RMO , where i have an remote server at a remote place, where the Virtual Directory is Configured With SSL, for testing purpose if i access from the Client Computer entering http://72.17.246.214/SyncAbita/replisapi.dll diag " in the address of IE giving an errormessage "Unable to Reach Remote Host", if i remove SSL on the Server , i am able to access "SQL Websync diagnostic information" Page from the Client Machine, is it not possible to get perform Web Synchronisation With SSL, then i have inStalled 7 days Trial Version SSL on the Sever. Can any body help me out on thi ...Show All
SQL Server Storing an array in an SSIS variable
I am not much of a VB.NET programmer, so forgive me if the solution to this problem is obvious. What I am trying to do is store an array from a Script Task in an SSIS variable and then access it from later script tasks. In brief, this is what I have tried so far: Init (Script Task) This task initializes an array: Dim processes(0) As System.Diagnostics.Process Dts.Variables("Processes").Value = processes LOOP - Start (Script Task) This task is contained in another loop and starts a number of processes, while storing the process objects in the "growing" array: Dim processes() As System.Diagnostics.Process processes = Dire ...Show All
Visual Studio Tools for Office Create document on server and remove manifest
VSTO Team First I want to thank you for the great tool you created! If have the following situation: I have a (template) document with cached items. From this document I want to create new (user) documents on the server where I set the cashed items. Before I return the new (user) document I want to remove the manifest from the newly created document. As far as I am into VSTO now, I can create a new document with cashed items on the server. When I open the newly create document I can see that word is adding the data. The thing is that I don’t want my users to have to refer to the manifest. I guess ...Show All
