Answer Questions
saikiran OpenFileDialog "hangs" on Windows 2000
I have a WinForms remoted application using a simple OpenFileDialog control. When I instantiate the dialog, the program hangs and never responds. This only happens on Windows 2000. The program functions perfectly on Win XP & Win 98. The ...Show All
donaldg How to get the name of a datagridviewcolumn?
I want to get the name of a datagridviewcolumn when I click a cell from this column, how do I do that Thanks in advance. selCell = tblSRFDataGridView.CurrentRow.Cells[ "OPRNoColumn" ].Value.ToString(); Currently I have this code that gets the current value of a cell from OPRNoColumn column. What if I don't know the name of the column I got it, thanks anyway. I used ColumnIndex instead of the column name. ...Show All
kg81 What's the best desktop db for a windows forms app?
Does anyone have a recommendation for a database for a windows forms (c#-ado.net) application. I'd prefer not to use MSDE, MySql, Postgres since the app will only have one user - kind of like Quicken or Money. Also, my channel will be&nb ...Show All
SteelX create,write,save file in the project folder
I want to create , write and save an xml file in the project folder. How can I get the path of the folder where the project is being save or will be installed and how do I check if the file exisits or not, and if it do ...Show All
knightmare Null Ref Exception with Splash Screen
I have added a splash screen to my application, it works like a champ in Windows XP, if I run the same app on Windows 2000 Professional then I receive a System.NullReferenceException when the splashscreen closes. Now, if I choose to continue the application works like a champ. Now, on XP this does not occur. Now, I am a little upset about this because it will not trap with a try catch. Now, either I need to catch this error, ...Show All
aruyp c:\programs files\"application name" in vb.net setup
Hi guys.... During vb.net application installation, I would like to set the folder path: c:\programs files\"application name" as a default choise for user (of course user can change the custom folder). How can I do it in the vb.net application SetUp deployment Thank for any useful suggestions. Hi guys.... If you look at the DefaultLocation property for the Application Folder, you will see it has ...Show All
Prasadi de Silva HOW TO USE A CONTROL MADE OVER SOME OTHER SYSTEM
HI, CAN ANYBODY TELL ME HOW TO USE A VB .NET CONTROL ON ANYT OTHER SYSTEM, OTHER THEN THE SYS. IT WAS BUILT ON, A BUDDY TOLD ME VB .NET CONTROLS ARE NOT ACTIVEX CONTROLS, SO NEED NOT TO BE REGISTERED. THEN HOW DO I& ...Show All
Tudor Trufinescu active x
I have been trying to download Mcafree and I get active x not enabled ,,I enable it in I net options/ sec. and still nothing Hi, Please look through your browser settings. FYI, these forums are meant for programming issues related to Winforms only. Thank you, Bhanu. i have an error when i open any page conten Flash or play a movie online give me error to run active x ...Show All
NickCodignotto getting network traffic
Hi, I have to write an application that sits on the server and find amount of network traffic between any two terminals on LAN, how can I do this I also want to find out if a machine on the network is running or down. Thanks, ...Show All
TopLevelXquery Refresh dataSource of DataGrid in Thread (WInForms)
Hi In my application I need to refresh DataGrid every 10 sec. When I try to refresh data source in DG in thread method I got this message: "A first chance exception of type 'System.ArgumentException' occurred in system.windows.forms.dll" Does anybody could help me, or explain what should I do. Thanks Tom The situation has changed and I want to create this in Web Application which contains only one aspx file in w ...Show All
Rohit Nanda Windows Forms application closes unexpectedly
Hi, we have a quite large Windows Forms application (one small executable and about 30 assemblies). On several client PCs (Windows XP SP2) the application suddenly disappears (like a crash but without an exception). We register a ThreadExceptionHandler with the application instance to catch otherwise not caught exceptions, which normally works. But in the case of the above issue the application seems to close without calling the Form.OnClo ...Show All
Harsh Modi - MSFT Controlling ContainerControl's Contained Controls
I have a ContainerControl subclassed control in which I want to restrict the types of controls that can be added to it. (Basically, I have a different control class that I want to be the only type of control that could be inside this ...Show All
hamed babai MSB3110
Hi, I am using mage.exe to deploy a simple clickonce application but I keep on getting the warning MSB3110 after mage -New application ........... I have read this MSBuild Error MSB3110 MSB3110: Assembly '<assembly>' has mismatched identity '<AssemblyIdentity>', expected filename: '<file>'. This error is generated when the assembly file name obtained from the assembly identity does not ma ...Show All
cravingsushi Databinding to a DateTimePicker control
I'm trying to bind a DataView to several DateTimePicker controls. Problem is the binding is happening on a newly created row so the datetime columns are all null. I transformed the null values to nothing but the DateTimePicker does not allow& ...Show All
Tom VanO declare datatable, dataset and dataadapter as public or provate?
I saw a sample in which datatable, dataset and dataadapter were declared as public variables. Is it good practice Public or pravate Very good question! It proves you've got a good eye for OOP. It would tweak me to see this  ...Show All
