Girija's Q&A profile
Windows Forms Error Generating Select Statement!!!!
Hello All Members, I have a problem that I like to connect a *.mdb file to my form, So I made a connection with Jet4.0 and browse the *.mdb file and test connection and its suceeded ... Now, I drop a oledbadaptor control on form and the wizard which comes i follow to it select the connection and when i click on Query builder and select all collomns and click next ... Its say error generating select statement with yellow excalmation mark !!! and its done .. So, when i generating a dataset so it gives me an error ... So could any one please help me out whats the problem is .... Regards, Fatir Siddiqui ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Multiple render targets
As mentioned in an earlier thread, I'm rendering the results of DrawText operations to textures, and then rendering these textures to the screen. However, I just noticed that this is causing problems when multisampling, making the text corrupted and producing this error message: Direct3D9: (ERROR) :MultiSampleType between DepthStencil Buffer and RenderTarget must match. First-chance exception at 0x7c81eb33 in Client.exe: Microsoft C++ exception: long at memory location 0x0012f38c.. Direct3D9: (ERROR) :Clear failed. This happens at this line: if ( !SUCCEEDED( getDevice()->Clear( 0, NULL, D3DCLEAR_TARGET | D3DCLEAR_ZBUFFER, ...Show All
Visual Studio Custom help filters
I searched through MSDN for Visual Studio 2005 and have found no custom filters, such as in previous version. Don't know what to do, it's quite annoying to get all these .net topics while developing native c++ app. Anybody knows how to apply this custom filters Thanks for the reply, Roger, so i assume the will be no more custom filters, thats a pity. e.g. maybe i need psdk+mfc+atl help, but not a .net, and there is no more option to do it. ...Show All
Windows Forms MMC 3.0 Snapin
Hi all, We are working on an extension snap in. Under Computer management - Local Users and Groups we want an additional property page when properties are selected. This property page will show some kind of data from a SQL Server 2005 database. It should also contain a button that launch into our own application operator maintenance. Can some One guide me as to how can I go about achieving this since this subject is pretty unknown to me. I also need help with installation of the created <snap in> to the registry. Very urgent. Looking foward for your help Thanx in advance ...Show All
Visual Studio 2008 (Pre-release) Databinding: ButtonBase.CommandParameter & ICommand.CanExecute
Hello, Is it possible to bind ButtonBase.CommandParameter to a changing value For example: < Button Content = " Add " CommandParameter = " {Binding Container} " > < Button.Command > < src:CreateItemCommand /> </ Button.Command > </ Button > I thought that whenever CommandParameter changes it will call ICommand.CanExecute, but it seems that it does not in Feb06. Is it mistake in my code or feature Will it be possible in future releases ( It would be nice. :-) Regards, Tom I have ...Show All
Visual Basic VB.Net 2003 Main Form Locks Up
Hello, I have a problem where on 95% of the machines I load my app on, it runs fine. On about 5% of the machines the default form will not hide and call the next form to display. The default form stay visible and the CPU usage in task manager shows 100%. I use the following to call the and hide the forms: frmDisclosure.DefInstance.Hide() frmMain.DefInstance.Show() Since I can't replicate it, I can't troubleshoot it. Any ideas Thanks!! ...Show All
.NET Development Did asynchronous execution change in 2.0
hello, i have this code that called method asynchronously through the delegate class with the begininvoke and endinvoke methods. Exceptions could be thrown withing the methods which were always caught by the framework and rethrown when endinvoke was called. Has this now changed as my exceptions are no longer being caught and rethrown, and just bringingt the whole app down as they are unhandled. he is sample code that i use to denote the changes. .net 1.1 /// <summary> /// Summary description for Class1. /// </summary> class Class1 { private delegate void ThrowExceptionDelegate(); private static bool stop; /// ...Show All
SQL Server Advanced SQL Generation Options in VS2005
Hi There im not sure if im in the right place but i was wondering why the above option is greyed out when creating a new sql datasource. This occurs even when i select all fields within the table (including primary key fields) Thanks Todd How could you configure the data source without connecting to the database ...Show All
Windows Forms Install from CD
Is it posible to install an application from a CD (with a project setup) and then make it to update itself with clickonce I saw a property "Instalation URL" I've put there a UNC to a msi, I've installed my app from there then I publish the next revision on a site It's not working. How can I do that Sorin, You could try the following if you would like to install something to the GAC and update via ClickOnce. Create an msi that installs the needed assemblies to the GAC. Create a bootstrapper package that will run the msi before installing your ClickOnce application. See http://www.gotdotnet.com/Workspaces/Worksp ...Show All
Visual C++ DataGridView in Visual C++
Hello: What happen with Visual C ++ 2005 and MFC They are going to disappear in the future I see that are many controls advanced and new in C# and VB, but in C++ follow same. For example, I have not been able to insert the DataGridView control in C++ (MFC). It is not compatible there What is necessary to make to use it in C++ Please, help Thanks. -------------------------------------------------------------------- Que tal a todos: Que pasa con Visual C++ 2005 y las MFC Va a desaparecer Veo que hay muchos controles nuevos avanzados en C# y VB pero en C++ siguen los mismos. Por ejemplo, no he podido ins ...Show All
Visual Studio Team System Simple webtest not working
The test could not be could because of the following exception: Operation is not valid due to the current state of the object I'm running Beta3, RC1 Team Suite Anyone got any clues This sounds like a known issue that was fixed for RTM -- if you go into the solution directory using explorer, and delete the (hidden) .suo file, you should be able to run the tests again. ...Show All
Visual Basic Chr$ VB Express 2005 Beta 2
Hi all, I would like to convert: - MSComm1.Output = Chr$(254) <== VB6 Code I've Created a "Button" on a Form, is the code below correct Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Using com1 As IO.Ports.SerialPort = _ My.Computer.Ports.OpenSerialPort("COM1") com1.WriteLine(254) com1.WriteLine(0) & ...Show All
Visual C++ float to bool, bool to float conversion
Good day to you, Is it always guaranteed that when converting : float to bool 0.0f is false 1.0f is true bool to float false is 0.0f true is 1.0f negating the bool !false is 1.0f !true is 0.0f negating the float !1.0f is false !0.0f is true Thank you much, Dennis It's definately always the case that anything this is zero equates to false, and vice versa ( not sure if a float gets rounded for this, but 1.0 is always true ). I would say that true or not, setting the value of a float from a boolean implicitly is somewhat of a hack. Negating will always negate, if the first two questions are yes, then neg ...Show All
Visual C# c# to vb.net
What is going on. When c# first came out M$ was pushing users to move to that. Now I see an article that show that you can now translate c# to vb.net. http://msdn.microsoft.com/vbasic/default.aspx pull=/msdnmag/issues/06/02/PasteAs/default.aspx why does it seem like vb.net is being pushed so much more in the 2005 version. I just decided to move to c# from vb.net because of the following. 1.forced declaration of variables 2. told it was better language for businesses (reguardless that vb can do the same) 3. was told c# is more professional where vb.net was used more as hobbiest. 4. Pay is larger 5. Mor ...Show All
Visual Studio Debugger not stepping into my program
Hi, I have Visual Studio 2005, and I'm trying to debug a native c++ program. When I try to step into the main function, the debugger runs and the first function that the next statement arrow points to is some function called __security_init_cookie() in the file crt0.c. The only thing referring to my program on the call stack is the following line: > GameDatabase.exe!mainCRTStartup() Line 184 C I don't see any reference to simply main like I would other programs. Anyone know what's going on Any help would be appreciated. Hmm... This would happen if the debugger can't find the 'user' entry point of your ...Show All
