richbrc's Q&A profile
SQL Server Having Problem With installation
Hi: I have already installed QSL 2005 on a win 2003 machine. The installation was without erroe or something but when I open services I do not see any sql in there and when I open the management interface there is no machine detected there. Would you please help me to run this software. When in the management tool I try to connect to the server this is the error I get: An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections. (provider: Named Pipes Provider, error: 40 - Cou ...Show All
Software Development for Windows Vista Inline code
I have a .xoml file with some inline code (<x:Code> element). I can create and start the workflow if I compile the .xoml into an assembly with wfc.exe. Pointing an XmlReader to the .xoml and using CreateWorkflow will cause a validation error (can't use x:Code without creating a new activity Type). I'm guessing this is a security feature and the behavior won't change. Yes No Scott - I am not sure it is a security issue - but it really relates to how CreateWorkflow works - it doesn't compile anything - so the Code element won't work. You can also compile the xoml with the WorkflowCompiler and then execute the wo ...Show All
SQL Server Package configuration variable to store multiple directories for use in a foreach loop instead of one directory
How do I go about creating a package configuration variable that is loaded from an xml file that is supposed to contain the directories for the foreach loop I want something like an array of directories and to be able to add to the xml config file a new directory when needed. I am currently able to load only one directory. Thanks, Lawrence ...Show All
Visual C# Hey, I am a noob to C# please help
Okay so i started teaching myself C# a little while ago. I have a backround in C++ so I understand it all but i have a problem. I was working with windows forms creating a C# windows application. Everything works good except I have no idea how to work with numbers. What I mean is lets say i want a program where u type one number into a text box. Then you type a number into another box. Now I want the third text box to reflect text box 1 + text box 2. The problem is the storage variable for text box is a string (textbox1.text) so if text box one is 8 and text box 2 is 1 it gives me 81 instead of 9. So my question is how could make a ...Show All
Visual C# probs with space in textbox ?
hi i am making and app to open patch then save a file also it has an iso compressor external program that i would like to use. everything works fine until i have a space in the filename or folder path ie when passing the parametrs to the exe in a cmd window you would type say test -a -b input.iso output.iso my code is ProcessStartInfo startInfo = new ProcessStartInfo ( "C:/whatever.exe" ); startInfo.Arguments = "-w -l " + textBox2.Text + " " + textBox3.Text; Process .Start(startInfo); textbox2 is the input file textbox3 is the output file everything works fine if the text box values are say c:\test\test.iso b ...Show All
Visual C++ CComboBox dropdown won't stay down
I construct and create a CComboBox in a dialog (not from a template) and load it with strings (CBS_DROPDOWNLIST style). I give the box plenty of vertical size (~150 pixels) to draw the dropdown. I want to use the combo box to overlay portions of a list control to allow chosing options for "fields" in the list control. The combo box appears in the proper position, with the proper size, with the loaded strings. When the dropdown arrow is clicked, the dropdown list appears only momentarily and immediately closes up. It doesn't stay "dropped down." I can otherwise select entries in the box by typing or scrolling but I can' ...Show All
Windows Forms Viewing a Form in the Designer
Hi - I want to make a copy of a form in a project. To do this I copied the files and then added them into the project. I want to be able to view this copied form in the Designer but I can't figure out how. Is it possible to tell studio to display a Form derived class in the Designer if the file has been added to the project as just a file and not Adding a new class. Thanks - Samy How is the same thing done in VS2005 I want to copy a form from one project to another - by adding the .h file to the new solution. But the same problem occurs - no designer view available. ...Show All
Smart Device Development Direct Show - WM5 - the network authentication dialog box may appear when attempting to stream MMS from Windows Media
Hi I've seen this report for CE4.2: 031216_KB830472 - Under certain circumstances, the network authentication dialog box may appear when attempting to stream MMS from Windows Media servers. To disable the authentication prompt, the following registry key must be present: [HKEY_LOCAL_MACHINE\Software\Microsoft\DirectX\DirectShow\Networking\DoNotPromptForCreds] [from http://download.microsoft.com/download/8/a/9/8a9b0988-73fb-400a-9f0a-3ba1c72cfe20/Windows%20CE%20.NET%204.2_Product_Update_Rollup_2004.htm ] I'm now seeing the same behaviour on a WM5 device. However, the fix doesn't seem to work on WM5 :-( Does anyone know i ...Show All
SQL Server Tx replication works in 2000 but not in 2005?
Hello, I've got a simple transactional replication set up. I have a separate publisher, distributor, and subscriber with 76 articles (tables only) being pushed from the distributor. I have this exact setup with the same tables and data working in the SQL 2000 environment. I am testing replication on our SQL 2005 test servers before moving to production, however when the distributor attempts to push out the initial snapshot I keep getting this error. Error messages: Incorrect syntax near ')'. (Source: MSSQLServer, Error number: 102) Get help: http://help/102 Incorrect syntax near ')'. (Source: MSSQLServer, Error number: 10 ...Show All
Windows Forms Auto Complete Combo Box
Does anyone know of some good example source online of how to do this in vb.net Or have a good idea on how to do it I need something with functionality similar to the IE address bar. If possibly I would also like to be able to set it to match list values with the typed value existing at any position in it instead of&nb ...Show All
Visual Studio Express Editions I need help
Hi my son Brent is wanting to learn how to program he is only 15 but knows alot about computers. What would be the best way and best programming laguage to learn. Also is there ne programming schooled that he could go to and how old do you have to be. Thnx Stacy Inform him about this forum and that there are tons of others on the web, such as www.xtremevbtalk.com, where there are many beginners as well. Also discussing programming approaches with him will help, programming is not exactly 'I-can-make-the-computer-do-what-I-want' but more of 'I-must-understand-what-I-am-doing'... ...Show All
Visual Studio VS 2005 local VSS plugin erratic behavior
Hi, Assuming I'm using the local VSS plugin in order to access a remote VSS database. I have observed this very strange behavior in VS 2005: 1. I right-click an object in the Solution Explorer and chose the History... command. 2. I accept the default options and the History window opens. 3. Now the strange thing : I do nothing and just click on the Close button. This immediately closes the current solution. VS 2005 then automatically tries to re-open the solution but as explained in the thread titled Using VSS local plugin remotely: problem with credentials , it prompts me again for my credentials since my VSS credentials are not ident ...Show All
Visual FoxPro DHTML Edit Control for IE5
I am trying to use this OLE for simple viewing some files, primarily text files, C++ header files, etc. It works well, although the text appears to be unformatted in the window. The characters are just jammed, no paragraphs or indentations preserved. It may be fine with me for this task. My question is how to implement sting search in the control. Is it possible If it is not possible, I can do it in the source file and take the coordinates but how to find this pixel in the Editor window There are a number of methods I do not understand what they do. Not only in this control but in many others: doVerb, contextMenuAction, ac ...Show All
Visual Studio Why can't I see Local variables in Debugger?
Hello, Recently the VS2005 C# debugger has been exhibiting strange behaviour. Here is an example: private void Test() { double dd = 2.0 * 3.0; return; } Up until recently, I could set a breakpoint on the return statement and place the mouse over the "dd" variable to see its value. Also, I could open the "Locals" window and see "dd". All of a sudden, the local variables are "invisible" to the debugger. Nothing shows up when I hover the mouse over "dd" and it does not show up in the "Locals" window. Now it gets weird... If I change the function to look like this: private void Test() { double dd = 2.0 * 3.0; double dd2 = dd; retu ...Show All
Windows Forms Custom Control Painting
I created a custom button control which inherits from button and overrides the OnPaint method excluding the call to MyBase.OnPaint(e). The trouble I am experiencing is with the control painting itself in the designer and re-painting itself when a child window moves over the window with the custom control on it. The behavior is rather sporadic and more&nbs ...Show All
