dbdog's Q&A profile
Software Development for Windows Vista How one can create workflow project?
I've yet installed .Net 3.0. When building a workflow project, a message appears that says: 'Type or namespace name does not exist in the namespace System '. Sure it doesn't. Though Workflow samples in Windows SDK use namespace 'System' like this: 'System.Workflow'. So, why does the error happen Yes, the Visual studio 2005 Extensions hadn't been installed. After it was been installed the workflow project created succesfully. ...Show All
SQL Server data from one table into another
I have searched for this answer without success, probably not hard enough. I want to take the data from one field in a table, and place it in another field in another table. c# Database1.InsertCommand = "insert INTO I just want the id in table one to be put in table 2 That much depends on the rows where you want to transfer the values to already exists on the other table (then you will have to do an update) UPDATE SomeOtherTable SET SomeColumn = SomeTable.Id FROM SomeOtherTable INNER JOIN SomeOtherTable Sot ON SomeTable ST Sot.SomeColumnToJoin = St.SomeColumnToJoin or the rows do not exists yet INSERT SomeOtherTable (SomeColumn) SELECT SomeColumn FROM SomeTable HTH, Jens K. Suessmeyer. --- http://www.sqlserver2 ...Show All
SQL Server Error Updating Installed Files
Well I need to know HOW TO REMOVE MANUALLY every pieace of the Database Services for my SQL Server Express CTP previous installation because the final release won't let me update this Database Services, any suggestion besides removing manually the services thank you all yes I removed it first that way but the same problem, I googled a bit and I found that removing the whole directory I could solve this and I did it also deleted some registry keys that I dont remember which one ups anyway I guess the problem was the SQL Server directory thanks ...Show All
Windows Forms Modal Dialog Box focus problems and Painting Problems
I have written a Windows Forms application using C++ (.NET 2.0). I have encountered two problems I believe are related. The first occurs sometimes when I open a modal "dialog box", in the form of a MessageBox.Show, FileDialog or custom form using ShowDialog. The dialog box does not appear on top of my application, it is hidden and thus gives the illusion that my application has frozen (The Z-Order is not first). The second is that after displaying these dialog boxes (When they do show up on top), the controls under them do not repaint themselves, leaving "ghost" images of the dialog box that was just closed. I have found several threads on this forums posted by others who have encountered the same, or similar, problems, ...Show All
.NET Development Some useful classes in .NET
I have ideas about some useful classes to be created in future versions of .NET. I don't know where to post it so I post it here. Here they are: 1) Generic hashtable (it's useful when you have objects of one type in it, it helps to avoid many typecasts) 2) Array with arbitary intexes(including negative) 3) Math.Max(params ...) - Max function for many variables (int. arrays of variables) 1) already exists. It's the Dictionary<K,V> class from the System.Collections.Generic namespace: http://msdn2.microsoft.com/en-us/library/xfhwa508.aspx 2) this is somehow supported by using Array.CreateInstance method but since it's not supported by C# it's not very useful. However I doubt that C# will ever add support ...Show All
.NET Development There is an error in XML document
We are getting the error while calling the webservice of the Remote machine the decription of the error is: There is an error in XML document (1, 147611). at System.Xml.Serialization.XmlSerializer.Deserialize(XmlReader xmlReader, String encodingStyle, XmlDeserializationEvents events) at System.Xml.Serialization.XmlSerializer.Deserialize(XmlReader xmlReader, String encodingStyle) at System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall) at System.Web.Services.Protocols.SoapHttpClientProtocol.InvokeAsyncCallback(IAsyncResult result) InnerException -->System.Xml.XmlException: Unexpected end of file has occurre ...Show All
Visual Studio VS 2002 w/ .NET 2.0
is it possible to use .NET 2.0 with my exisitng Visual Studio 2002 installation i installed the redistributable package and the sdk for 2.0 for x86 and Visual Studio still uses the 1.0 version. can i change this no you cannot. VS2002 has .NET 1.0, VS2003 has .NET 1.1 and VS2005 has .NET 2.0 I believe you cannot change the framework to use with VS as they are designed specifically for a particular version of framework "side by side" sort of idea. I believe that with VS2005, you can use the standard .NET 2.0 as well as .NET 3.0 CTP ...Show All
.NET Development Thread
I have two threads one for windows forms the other for tcp sockets. i set a field (for example the main socket) When i go to the windows thread then go back to the tcp socket thread the fields i had set are now set to null why is this happening How can i fix this Can you please provide more detail What do you mean by "When i go to the windows thread then go back to the tcp socket thread the fields i had set are now set to null " Some short sample code might be helpful. ...Show All
Visual Studio Team System Error 28925 TFServerStatusValidator
Hi all. I have to install the TFS for our programmers department but I'm unable to get it working... The server is W2k3 sp1, it's a single server install. I followed every step in the installation manual but I'm still getting the error in the subject. I read the post about this error but they could not help me. The security config for ie is not installed, when the website appears during setup it has ASP.NET 2.0, I put the tfsservice account in the local admin group (not in my first attemp but afterwards after getting the error). I'm quite desperate now, has anyone another idea Where can I start troubleshooting Regards Have you checked out this post on the forum http://forums.microso ...Show All
Microsoft ISV Community Center Forums Run Time Error 1004 On Long Running Stored Procedure
I am encountering a "Run Time Error 1004" when I attempt to execute a stored procedure from within Excel VBA. The stored procedure takes about a minute to return results. I have tested with shorter running procedures successfully, so it must have something to do with the amount of time it takes to return results. The For loop is never executed because no results return. The error occurs on the last command where I attempt to set the column names in the spreadsheet equal to the column names from the recordset. Obviously errors because no recordset exists. As you can see I have set the timeout for the command to indefinite. I have also unsuccessfully tried a DoEvents after the command has been executed. Suggestions If ...Show All
Smart Device Development All controls are grey in the toolbox
Hi. I use Visual Studio 2005 Microsoft Visual Studio 2005 Version 8.0.50727.42 (RTM.050727-4200) Microsoft .NET Framework Version 2.0.50727 When i open new project For PocketPC2003 or WindowsCE5.0 in C# i can't see most conrols. In "Common Device Controls" section of toolbox i see only Pointer and Button controls. Other controls disabled. I see #13119 tab in toolbox. Please help me!!! Please try the following 1. Close Visual Studio (make sure devenv.exe is not running). 2. Open the folder c:\Documents and Settings\<your user name>\Local Settings\Application Data\Microsoft\VisualStudio\8.0. 3. There should be four files ending in .tbd (they may be hidden, so yo ...Show All
Game Technologies: DirectX, XNA, XACT, etc. display fractal
Hi, everybody I 'm looking for a solution to display fractal with directX., does it exist solutions to draw it , 'cause fractal hasn't got any surfaces and are infinite. Thanks for your answers, and merry christmas. Dx does not have any specific mecthods. What you do is to either make a mesh based on the fractals values at sample points, or make a bitmap of the same samples. ...Show All
.NET Development ImportXML Question
Hi, i'm quite new to XML, so plz forgive me for asking a possibly rudimentary question. I am downloading XML from an external application into my program. The XML is formed as follows (this is just a part of the XML) - <players> - <player id="814090"> <name>Brian</name> <surname>Bradford</surname> <countryfrom id="4">USA</countryfrom> <age>27</age> <value>587000</value> <salary>7400</salary> <cards>4</cards> <injurydays>0</injurydays> <matches>48</matches> <goals>68</goals> <assists>9</assists> <form>11</form> <stamina>9</stamina> <pace>7</pa ...Show All
Visual Studio 2008 (Pre-release) How do I set ReceiveTimeout for a callback channel?
The title pretty much says it all. I've noticed that even though I can set the timeout on my duplex named pipe service (which prevents my session from ending), the callback channel doesn't use the same value and times out after the default of 2 minutes. Is this something I have to set on the client, and if so, how Thanks, Aaron I'm using a similar configuration (netNamedPipeBinding + callback channel), and getting a similar timeout problem on the callback channel, except the timeout seems to be 10 minutes instead of 2. At first I thought I would just have to change the receiveTimeout value (since, as far as I know, this appears to be the only timeout value that is set to 10 minutes by default). I tried ...Show All
Windows Live Developer Forums messenger
What's the difference between MSN messenger and Windows messenger The purpose of this forum is to discuss MSN and Windows Live application development using the Messenger Activity API, and Windows Live Bots. If you have technical support questions about using MSN Messenger or Windows Live Messenger, please check the following resources... Messenger Technical Support is available on the Messenger newsgroup: http://support.microsoft.com/newsgroups/ dg=microsoft.public.msn.messenger&cat=en-us-msn&lang=en&cr=US&ln=en-us nntp://microsoft.public.msn.messenger Get the latest information on Messenger from the Messenger Team MSN Space: http://spaces.msn.com/MessengerSays/ a ...Show All
