David Stuart's Q&A profile
SQL Server SQL Commands Suspended
Whenever I execute the command Select count(*) from any_table to get a count of the rows in the table, 9 processes get created and each one of them is listed as being Suspended. The first process has a wait type of CXPACKET with no resource listed and the other 8 all have a wait type of PAGEIOLATCH_SH with a resource of 8:1:nnnnnnnn. The command will sit in this state for 3 - 5 minutes and then return the result. I am seeing this type of wait in ...Show All
Visual C++ lnk1112
In VS2005, I added a MFC DLL project. The default platform is win32 and this project does not have input lib. A very simple boiler plate project with code from Microsoft. Then I converted the project to x64 by setting the platform type to x64. I can see that the target machine type from the Linker option got changed to x64. Then I built the project from VS2005, I got the following error: \ x64\Debug\mfc2.obj : fatal error LNK1112: ...Show All
Windows Forms update other form
my application have "FormA" and "FormA". "FormB" is call by "FormA" use .ShowDialog(Me) method, the "FormB" purpose is guide the user to input some data to "FormA". i don't how to pass data back to "FormA", ...Show All
Visual Studio Express Editions question about no titlebar and resizable form?
hi i am trying to no titlebar with resizable form i can do the no titlebar, i don't know how to resize the form anyone knows please tell me thanks Hi, FYI: If you think your post is answered, then click on "Mark as Answer" so that members of this forum will know that your post is answered. Thank you, Bhanu. ...Show All
Software Development for Windows Vista Registry setting to disable ctrl-escape opening start menu?
In Windows Mobile 2003 you could create the following registry value to disable the ability to open the Start menu via the Ctrl-Escape sequence. [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Shell] "DisableCtrlEsc"=dword:00000001 But I tried specifying it in Windows Mobile 5.0 and it doesn't seem to work there. Do I have to move it under another key, or has it been renamed, or does it just no longer work Thanks, Brad ...Show All
Visual Basic RTC Client API
Hi experts, Please help me in following code. i am not able to register my profile in SIP server. ============================ Private g_objRTCClient As RTCClient Private Sub Form_Load() Set g_objRTCClient = New RTCClient Call g_objRTCClient.Initialize ' ' Start the process by getting a profile. ' Dim pProv2 As IRTCClientProvisioning2 ' Receive the provisioning interface from the ' main client object. Set pProv2 = g_objR ...Show All
Visual Studio Team System Specify Alert Settings during setup
Hi everyone, I just completed the server setup for TFS, unfortunately I skipped a step during the installation :( I really don't want to uninstall/reinstall, given the chance of messing up this box (I don't know that for fact, but I'm worried ;)). Question is: Can I enable the Alerts _post_ install I haven't been able to find the option, even from the explorer client :( Does anyone know the answer to this thanks in advance. dto ...Show All
Visual Basic COM Interop Help Needed
Hello All, I am trying to have an existing VB 6 dll get migrated to .Net 2005 and have the GUIDs set to the VB 6 dll values so that existing VB 6 client applications do not have to be recompiled. Are there any links that show the steps involved in this. I did find one from Patrick Steele that described most of this except with replacing an existing VB 6 dll with a .Net 2005 dll and not recompiling existing VB 6 clients. Thanks for any help ...Show All
Visual Studio Team System Changing Drop Location in team build
Hi, We have developers at two different sites. Is it possible to have a single team build type that we can run on build machines at each site using a drop location local to the site Dean We dont support this out of the box, but this seems like an interesting option. What you can do however is set an env var on the build machine to identify the site you are running the build on and modify the drop di ...Show All
Windows Forms SelectedValue DGVComboBoxCell??
Hi! please help me, how can i select a value in a datagridviewcomboboxcell i'm using a dataset as datasource . . ex combobox contains: Display member Value member ABC 1 BCA &nb ...Show All
Visual Studio 2008 (Pre-release) Switching between pages
i have a system application, not a WBA, with multiple pages.. how can i switch programmatically between them i've tried the following code.. NavigationService ns = NavigationService.GetNavigationService(this); ns.Navigate(new Uri("Page2.xaml", UriKind.Relative)); .. and this: NavigationService.GetNavigationService(this).Navigate(new Page2()); but no luck cheers On the page you are naviga ...Show All
Smart Device Development Deploy Failed
Hi Developers, I am trying to deploy my sms application on the phone , but cant do so . I get a error saying deploy failed . It was working fine for few runs before . I am building this in VC for smartphone 2003 Can any one help me with it 1>------ Deploy started: Project: SMS, Configuration: Debug Smartphone 2003 (ARMV4) ------ 1>Deployment and/or registration failed with error: 0x80070020. The process cannot access the fil ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Texture simply duplicates the first pixel
This is a noob question, but I wasn't sure if it belonged in the beginners or graphics forums. I'm learning DirectX and trying to get textures figured out, but when I load my texture, it just duplicates the first pixel over my entire surface. To let you know in advance, I am using the most recent SDK and Visual Studio 2005 standard edition. Here is my code. "graphics" the first parameter, is the name of my Direct3d device: ...Show All
SQL Server Stuck between "Failed to generate user instance" and "An attempt to attach...failed"
I wrote an application using Visual Studio 2005 beta 2 which uses a SQL Express .mdf file, included in the project, for the database. After installing Visual Studio 2005 RC and the SQL Express that comes with it (I followed all of the uninstall instructions first) I can no longer add a SQL Express database to any of my projects, nor can I open the SQL Express database in my original project. When I try either of these tasks, I get th ...Show All
Software Development for Windows Vista How to Persist State of a State Machine Workflow and query the saved state from user application?
Hi, I have created a state machine workflow which has asp.net as the host application. It has go following states - Initial, Review, Approve, Completed. Each state apart from completed has got a WebServiceReceive Activity and a corresponding state activity to change state. The problem is that i am not able to persist appropriate state info even though i have added tracking and persistence services. I am able to persist the initial ...Show All
