DKB's Q&A profile
Windows Forms combo box
any kind soul can help me, i really appreciated. i am using c#. and access DB. i have a table with 3 columns: ID, NAME, AGE. is it possible to have the 3 colunms in one combobox what is the code and let say i have a combobox which shows the ID. it is possible to have 2 textbox that shows the NAME and AGE for example when a person choose an ID from the combobox, the 2 textbox will change accordingly to the selected ID how do i do that. pls help me urgently. i sincerely thanks in advance. btw Gunjan, the code which i had missed out, is it belongs to the Page Load {} so i just write your code into this page load {} right ...Show All
SQL Server Lost Messages ?
Hi There What happens to messages that go to error I know that they are returned to the queue of the service that sent them, but the message it the queue is the error message and description. Transmission queue is empty. Where is the actual message that was sent In my case if the message went to error i must resend it. But there is no error when you send the message, transmission queue is clear, the error just comes back to the queue but i need the original message so that i can resend it after the error is fixed but i cannot find it anywhere Thanx Hi Remus Sorry for wasting your time, ever write sql with an obvious problem and you just never saw it no matter how many times you looked o ...Show All
Visual Studio Team System Opening dproj file in other team editions
Sorry to keep going over this, but we now have three remote development teams and the question came up about how we are going to manage our database changes in source control. It will be difficult to use the old stryle database project because quick changes to table structures may not be replicated across teams before a conflict occurs, and so the discussion of using a datadude project arose. There is no way we can afford to upgrade everyone to Team Suite, and we need the static code analysis tools of Team Developer and so we can't just switch. And so I was wondering what Microsoft's current stance is on whether or not an add-in tool will be provided which will allow other team editions to open dbproj projects and have access to the Sch ...Show All
Visual C++ following error occurs while builiding code in Visual Studio 2005
following error occurs while builiding code in Visual Studio 2005, Can any body help me regarding this: c:\nov 8th 2006\xmlfile.cpp(64) : error C2872: 'CLSID_DOMDocument' : ambiguous symbol could be 'c:\program files\microsoft visual studio 8\vc\platformsdk\include\msxml.h(9589) : const CLSID CLSID_DOMDocument' or 'c:\nov 8th 2006\debug\msxml.tlh(951) : const GUID MSXML::CLSID_DOMDocument' Maybe you have to put "MSXML2::" before your ambiguous symbols See http://support.microsoft.com/kb/316317 . I hope it helps. ...Show All
SQL Server Multiple Data Sources in a Single Data Set
Within "Report Designer", is there a way to query multiple Data Sources within a single Data Set query I need to build a query in a Data Set that joins three tables from different Servers & Databases. From what I can tell, each Data Set query can only access a single Data Source. ...Show All
Visual C# Add Web Reference
When I add a Web Reference from Visual Stuido it can take upto 4 minutes to complete (build the proxy). This is for a very simple webservice with only three web methods held on the same machine. Has anybody got any ideas why this should take so long Thanks Dave ...Show All
Visual Studio Express Editions error C2653: 'std' : is not a class or namespace name Resolved. needs to be more public
took me little under an hour to figure this out, goggling did not work then i just goofed around and got it to work. The error is error C2653: 'std' : is not a class or namespace name and error C2065: 'cout' : undeclared identifier The Fix: When using VC++ express (in my case) and a basic starting template (win32 console), it creates a cupple default files stdafx.h and stdafx.cpp. Keep the header in mind. #include <iostream> #include <stdafx.h> void main() { int x = 3; if (x > 2) { std::cout << "Hello" << std::endl; } //else //{ // cout<< "statement is False" << endl; //} } the above code would refuse to work, kept giving me the errors list ...Show All
.NET Development Error 25007.Error occurred while initializing fusion. Setup could not
Hi, I am trying to install .net framework 2.0 on Windows XP OS. I get the following error " Error 25007 . Error occurred while initializing fusion . Setup could not load fusion with LoadLibraryShim(). how do i solve this I have the same error installing on Windows XP (home) and Windows Vista (beta 1) This renders the MSDN Professional that I bought USELESS. ...Show All
.NET Development Overloading Equals()???
Why do i need to overload the Equals() along with overloading the GetHashCode() in all my classes Can someone send me some links about this or maybe just give a lil insight...thanks! it's overriding! :-) GetHashCode() is used to return back whether 2 objects for example are identical (when overriding with Equals()). When you override Equals() you need to override also the GetHashCode() for this. the default implementation does not guarentee a uniqueness or even consistancy http://msdn.microsoft.com/library/default.asp url=/library/en-us/cpref/html/frlrfsystemobjectclassgethashcodetopic.asp Equals() http://msdn.microsoft.com/library/default.asp url=/library/en-us/cpref/html/frlrfsystemobjectclassgethashcodetopic.a ...Show All
SQL Server How To Filter An EXEC Table
Hi All, How do I filter an EXEC table as to put the returned value into a variable I have to filter an EXEC table because I am using a table variable to define which table tto select. Help appreciated. This is the statement I'm using: declare @Conn varchar(1000) set @Conn = 'This is the table connection' DECLARE @strSQL varchar(500) SET @strSQL = 'SELECT Name FROM ' + @Conn + ' WHERE Name = ''System''' EXEC(@strSQL) the returned value is a single value so need to take that value and put it into a Temp table Any suggestions. ...Show All
Visual Studio Unable to create SourceSafe Object
I'm currently using VSS2005. I did register ssapi.dll by "regsvr32 ssapi.dll"; however, I got error: "could not create object named "SourceSafe" from vbscript below. Please help. Set oVSSDatabase = WScript.CreateObject( "SourceSafe" ) oVSSDatabase.Open ( "C:\VSSData\srcsafe.ini" ) Set oVSSItem = oVSSDatabase.VSSItem( "$/Test/testingfile.cs" ) oVSSItem.Parent.LocalSpec = "C:\Projects" oVSSItem.Get Do you get any other error code that may help pinpoint the problem You may need to look in registry at the following key HKEY_CLASSES_ROOT\SourceSafe. If you're working with VSS 2005, it should look like this: [HKEY_CLASSES_ROOT\SourceSafe] @="Microsoft Visual SourceSafe Automatio ...Show All
Visual Studio 2008 (Pre-release) Key reference types and customisation
Hi, I have a few questions regarding WCF, I'm currently working on doing interop with Java and I'm using the release version of WCF. - Is there any way to not sign the 'Action' and 'To' addressing elements within the message when using security to encrypt and sign with addressing turned on. - When the client sends the message to a WCF server that's using securirty, the key reference type used to sign the message must be a direct reference, otherwise the server throws an error. Can this behaviour be changed - When the client sends the message to a WCF server that's using security, the key reference type used to encrypt the message, cannot be a direct reference, otherwise the server throws an error. Can this behaviour be changed - ...Show All
Visual Studio Express Editions Help with URI for web browser
I am making a simle web browser in C# express edition and everything works fine. But when I go to click a website in my combo box and click Go, it says my URI is unidentified or something. Could someone please help. Code is displayed <a href="http://forums.xbox.com/8820550/showpost.aspx">here</a> The string you pass to the Uri class constructor must be already a valid URL. For example "http://www.microsoft.com". If you enter "www.microsoft.com" it's not valid, since it has no protocol-definition. You must first validate and alter the url before calling the line webBrowser1.Navigate( new Uri (comboBox1.SelectedItem.ToString())); ...Show All
SQL Server License requirements and instructions for RS 2005 with 2 servers?
I have heard that it is possible to deploy RS 2005 in such a way that the RS databases (ReportServer and ReportServerTempDB) are on one server, and the RS web service (ReportServer) and website (Reports) are on a separate server with IIS. The organization in question will not allow web services on their database servers. Is there are white paper or instructions on how to accomplish this An architecture diagram would also be useful. Also - what are the license requirements to do this, if one already has the SQL 2005 Enterprise edition Thanks, Marie Here you go about license http://www.microsoft.com/sql/howtobuy/howtolicensers.mspx ...Show All
Visual FoxPro Will VFP6 work with Windows Vista
My company operates a series of VFP6 runtime databases successfully in the Windows XP environment. We currenly have one PC loaded with Windows Vista. When the runtime setup is run it does not install the runtime files onto the Vista PC. Can VFP6 work in the Windows Vista environment How can this problem be overcome Many thanks in anticipation. Very hard to say. You may try to put runtime files in application path, be sure you don't have runtime files in other location and if is not running you should register dlls and try again. It worked for me but with version 7. ...Show All
