Vinod Chandran's Q&A profile
Visual Basic Add connection wizard fails with Access database
I have the RTM version installed. I am quite puzzled at this wizard. It works fine with SqlClient. But for Access databases, this wizard completely fails. In this wizard, I only have one option to do - setting the ConnectionString. I set it to Provider=Microsoft.Jet.OLEDB.4.0;Data Source=D:\path\abc.mdb, which works fine in my code. But when I click OK, it complains: --------------------------- Microsoft Visual Studio --------------------------- Format of the initialization string does not conform to specification starting at index 0. --------------------------- OK --------------------------- And more, the Advanced button is dis ...Show All
Windows Forms What is wrong in the code when I move from debug area?
I have developed an application using VC++ 2003. It has an exe, two dll. The application is working very well in debug area. In order to move, I picked the exe and the dll and test the executable in diff. directory, I get this error. What is wrong did I miss something to port I wanted package it and would like to know what are the files to move ============== An unhandled exception of type 'System.InvalidOperationException' occurred in system.dll Additional information: The key 'menuWindow.MdiList' does not exist in the appSettings configuration section. ============== Thanks, It is just a guess but perhaps you forgot to copy your .co ...Show All
Smart Device Development Adding a new WinCE emulator to VS.NET 2003
Hello, I've developed a new emulator platform using Platform Builder 4.2: now I would like to use this emulator in order to test and debug my applications written using the compact framework: how can I add the new emulator to the VS.NET 2003 environment I've found no way till now... Thanks in advance and Kind regards Severino Follow the steps here: http://www.danielmoth.com/Blog/2005/01/pb-sdk-for-vs.html Cheers Daniel ...Show All
SQL Server Custom Object Wide Roles
Can we create custom object wide roles In the same manner that db_datareader in effect grants SELECT on all tables, can we create roles that affect all objects without having to explicitly grant the permission on every object Yes, you can create a role and grant to it SELECT on the database, that is actually how db_datareader works as well. You can grant permissions on containers and they will apply to the contained objects. Databases and schemas are such containers. Thanks Laurentiu ...Show All
Visual Basic Access db connection with data transaction
Hello, I’m realy new in programming and I’ m trying to syntax an easy code but i face problems! I need to embed some databases that will be active for the code, i mean that the code will drag data from those to use them in calculations. The pseudocode could be like this: For C1 and C2 (! those two are given from the user) drag C3, C4, C5, C6, C7 from the data base DB1 The C1-7 are Columns of the db. Thanks in advance! Hi there, I think your problem is that you want to get data from database table(s ...Show All
Windows Forms Is ListBox the only control in Forms to allow multiple selections?
I'm having a terrible job getting a mutli-select listbox to work from a dataset... just keeps crashing my app and it appears to be something to do with the fact I have SelectionMode = MultiSimple. Before going into my crashes etc here is there any other reliable way in Windows Forms I can use a multi-select dropdown or listbox style control Can ...Show All
SQL Server Descriptions for Profiler Event Class and Event Subclass
I've run a Profiler trace and saved the results to a SQL Server table. The EventClass and EventSubclass columns contain numbers instead of descriptions. Where can I find the descriptions The SQL Server system view sys.trace_events appears to only contain SQL Server events and not Analysis Services events. Thanks, Scott we're in 2007 and still the having the same issue ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Installing managed directx
For some time I have tried to get my managed directx application running on systems which does have .net and directx but not the dx sdk. Without much luck I tried the /InstallManaged switch, which suposedly should install the classlibraries for managed dx, but Nowhere can I see if it actually did anything. Only thinkg i _can_ see if that I still get the standard exception telling about missing references. Is this because I am using a debug version of dx which is not installed by the end user dx In that case why is there still only Microsoft.Directx.Direct3D 1.0.2902.0 v1.1 4322 on the machine which has both the dec sdk and the dec redi ...Show All
Windows Forms Operator Overloading in VB.Net
Hi.. how can i do operator overloading in vb.net (2003) not in Whidbey. If it is not possible any other solution or alternative to that... It is very important Thanx... a c# snob I resent that. Well, considering I am a c# snob, but Donkiely said in his first post that he was a vb.net developer (in a way that was kinda funny&n ...Show All
.NET Development problems by consuming a service via https
Hi Together, Within my web service proxy programmed in .Net 2003/C++, I want to consume a service via https. The server certificate is a self built one. I thought it’s enough to install the certificate on my client computer, so that the certificate is available in the common key store. The access fails with an exception telling me, that the server can’t be trusted. The stack: at System.Net.HttpWebRequest.CheckFinalStatus() at System.Net.HttpWebRequest.EndGetRequestStream(IAsyncResult asyncResult) at System.Net.HttpWebRequest.GetRequestStream() at System.Web.Services.Protocols.SoapHttp ...Show All
Windows Forms How can I change the color of status bar in Visual studio 2003?
I am unable to color (background and foreground) of windows forms application which has a status bar in Visual Studio 2003. Is it possible to have color with status bar If so, how can i do it Thanks, Unfortunately this control does not support the BackColor property. The StatusStrip in 2005 has this feature. Option A: Set your Form.BackColor = <whatever you want> Set your Form.SizeGripStyle to show If you actually want your form to be a different color than the status bar, add in a panel, change it's back color to be something else, add your controls to that panel instead of the form. Option B: You could fake it by ...Show All
Visual C# asp.net
hello i have an asp form in which i have added checkboxes for a field "hobbies". now i want to retrieve the values of all the checkboxes that are checked, in another asp form. can anyone help me how i can do that thank you Im Sorry, but thats no help, searching the MSDN local and online help for CrossPagePostBack does not return any results. So the term might not be well known. ...Show All
Visual Studio Tools for Office VSTO / Word 2003 events
We are working on a smart client / workflow solution with VSTO and Word 2003. In our xml schema we have elements which are occurring subsequently. For example like this: <heading> Some heading</heading> <text block>first block </text block> <text block>second block </text block> <text block>third block </text block> <text block>fourth block </text block> We cannot tell beforehand how many text blocks user would have. It would be handy if you could do so, that then user strikes enter key, the new text block and its placeholder would ...Show All
Windows Forms Seems to be a bug in the way the Designer sets up bindings
Ok lets say I have a dataset dsEvent that contains a table Event that has a field called Name. Then I can set up a databinding by creating: ... System.Windows.Forms. Binding ( "Text" , this .dsEvent.Event, "Name" , true ) where this .dsEvent.Event is the datasource and Name is the dataMember and this works fine, but when I get the designer to automate this it creates the line: ... System.Windows.Forms. Binding ( "Text" , this .dsEvent, "Event.Name" , true ) which doesnt work. Whats going on here How come the designer doesnt work properly in this instance By the way Im using MSVS Beta2. -Mike ...Show All
Windows Forms How to Perform save as operation to (web control)?
Hi My Friends I have use IE (Web Browser) control in my WinForm application and I have use it to navigate to web sites in the internet .. and I want to ask .. How can I perform the 'save as' operation (like IE) to this control to save the files of the web page that has been explore it In other word I want to handle  ...Show All
