Answer Questions
Ace73 Dataset Default Property
How do I set the Default Property of my dataset I have used the xsd.exe to create a strongly typed dataset but when I try to bind the properties of an object to this dataset (in design time), I get a message saying that the&nbs ...Show All
LEOJZAMBONI Binding DataGridViewImageColumn in DataGridView
Dear all, I would like to binding (string or bool) data from database in DataGridViewImageColumn. However, i catch exception in DataGridView_Error event when i run it. Exception message is Formating error or Commit error. Please help me to resolve my problems and give me example code if possible. Thanks for your help. Khiem Vo. The Image column only supports binding to a byte array, not to a string or bool ...Show All
Chris Tacke Associating a File Type To An Application
I have a .net application which is associated to a file extension. When I double click on a file that is associated to my application, my application is supposed to launch, then I check the command line arguments and open the file which&n ...Show All
Silviu Guea creating a windows form with .net without the command window (console)
Hi everybody! I'm totally new with .NET framework, but i was an old VB6 programmer so i used to create application with a complex GUI. Now i'm studying Visual C++ and i'm creating some simple windows application using the NET framework. The problem is: everytime i create an application which uses a form, the command window stays in the background. Es running this: __gc public class FrmMain : public Form { public : FrmMain( ...Show All
skilled_desinger Binding Navigator Problem
Hi, I was wondering how you see the code for the previous, first and delete buttons on the binding navigator. The reason being is I run my application and the user presses the + button which displays a new record but if they then press the previous or first record button the program crashes with an unhandled exception. This is because there are fields in the new record that are required. I have put in a try catch for the Save button click ...Show All
tom bowman Dimming a class based on a choice
Hello all, Here's my delma, I have an MSSQL database and a Sybase database that can be used with a spacific application, I have the .NET data providers for both and have created 2 classes based on their respective providers, the classes are identical in every respect except the provider from which they are based. What I am looking to do is based on an option on startup instanciate the proper class. The problem I have is, what do I do with ...Show All
Gary M. Hidden MessageBox
Has anyone ever experienced problems with message boxes not presenting themselves A bunch of my clients machines sometimes hide message boxes behind the active form when I do a MessageBox.Show(), causing the application to appear like it's locked. I&n ...Show All
vthacker Appending two or more word documents to one word document
Hi, I would like to use VB to take two or more word document fils and concat them to one word doument. Although this is not a Windows Forms question, I'll try to help. Your question really centers on how to use the&nb ...Show All
CosmoTopper777 TabControl background color
I would like to set the background color of a tab control (more precisely the background color of the area next to the tabs). I guess I have to create a custom class inherited from TabControl where I override the OnPaint method... Could  ...Show All
RyanTsai What folders or files an executable is running?
Is there a program or batch file that tells you what folders or files an executable uses Any suggestion would be appreciated. Probably you are looking for Application.ExecutablePath: string exepath = Application.ExecutablePath; MessageBox.Show("Running from " + exepath); Regards, -chris Hi Sox Im scratching my head here, I really don't understand what are you trying to accom ...Show All
rajbasav Is there anyway to set the width of a textbox according to its maxlength property???
Im trying to automatically (in the form_load event) set the width of every textbox in my form, I want to set this property according to the maxlength property of the textbox, this way every textbox is gonna have exactly the width it needs ...Show All
da Vinci Help Provider's Help Stays On Top
Hello all, We have a strange behavior in the app we're working on that I can't explain. We have a HelpProvider in the main form with controls hooked up to it on a panel-by-panel basis. We also have a Help menu item that calls Help.ShowHelp. When F1 is pressed, help comes up with the right topic, but it stays on top and you can't get the app to go on top of it! The menu item click works fine. What's going on ...Show All
FS2 xpCommonControls..
I'm working with xpCommonControls. I'm looking through the testbed of the controls. The only problem is that they are in vb. So with my limited knowledge I am trying to take some of the examples and turn them in to c# code that  ...Show All
DevB problem with signing application and deployment manifest
Hi... Using mage.exe tool, when I want to save my application manifest and sign it with my certificate, I get: Unable to save {filepath}: An internal certificate chaining error has occured. What could that be On the other hand, if I choose " Don't sign ", then I get an error (I think this is a bug), when setting the Application reference in deployment manifest: The Application Manifest is not signed - {filepath} So it would be ...Show All
pmacdonald Why can't I change a simple name
If I start a simple Windows application a Window called Form1 is created. I have found out that it's not possible to change this name. I get a lot of error messages telling me that the change is not reflected fully in the sourcecode and when compiling that Form1 is not found. Also if I did the namechnage in the Form1 properties Window and then tried to change the name back to Form1 it didn't work. Neither is it possible to change the name in the ...Show All
