Answer Questions
Dieterdp how to dynamic bind the Combo to DataGrid?
I want to add a Combo Column in DataGrid, but the Combo 's DataSource is dynamic, the DataSource from the DataBase by this row's other Column. How to do it ,thanks a lot. yes, I have a ComboColumn class. but like your way, t ...Show All
AleXXus Multi-threading problem with Windows Forms (possibly SerialPort too)
I've been having a problem when updating a windows form from a different thread. Data is received on using a SerialPort class which fires the DataReceived event (on a different thread). This thread then calls a method on a form which updates a text box. The code used in the method is just like the sample from the MSDN below, which reroutes the call so that the textbox update is done from the same thread. private void SetText(string text ...Show All
supermorph Problem deploying MSDOS executable
Hi, Here's an odd one ! My app. uses a legacy MSDOS com executable which I deploy along with other support files. My app works fine after deployment, however when I try to access the com executable -either from the app. or directly - I get a Win32 exception "The parameter is incorrect". If I copy the com executable to another folder it works fine. It looks very much as if it's an access rights problem but I can access ot ...Show All
Paul Watt How to: Imitate windows copy action
Hi, I need to imitate windows copy action... I have a hotkey which I registered in my background service. In my hotkey event I want to collect marked items to the clipboard using the Clipboard.SetDataObject([marked item]) . My problem is that I dont know how to recognize/get the marked item... Thanks, Hi, Apparently I wasnt clear enough. Lets say I have an internet explorer open and I initaly marked a piece of text in ...Show All
bigmanu The v2 DatePicker doesn't support null databinding (bug?)
The following code (which is a simple test windows form - visual studio team 2005 system beta 3 refresh) demonstrates what I believe is a bug in the DatePicker control. When a datepicker is bound to a binding source set to an object, properties of type DateTime that are null are not updated when the user (at runtime) changes the date. This is a real pain; and, frankly, makes the date picker useless to bind to database-derived datatables w ...Show All
vembloud DataSet Merge to automatically do AcceptChanges
Hi Guys, I am trying to use the DataSet.Merge method. Here is what I want. I want to merge two datasets. Basically one dataset would be a result from my webservice and it will contain the same rows with ids generated from the server. I&nb ...Show All
Lee_Dale Binding of dynamically created controls
hi, i have a form which creates in the loop i am creating them nicely here is my code for that Sub createcontrols() Dim i As Integer = 1 Dim j As Integer = 1 &nb ...Show All
EnochGenesis App Config file problem w/ No-Touch Deploy
Hello... I have a simple DotNet WinForm app which runs great using No-Touch deployment - with one exception. When I added an application config file - the app fails to run using No Touch. It's unable to read from the config file stating that&n ...Show All
LANewman Listbox selected items
Hi, I have a listbox that I have populated with a sql call to my database. I process the results of the call and then select the appropriate items in the listbox based on my criteria. No problems at this point, but when I want to allow the user to change the selected items (and eventually update my database) I have some problems. I have the following in the formload event: 'select my items here System.Windows.Forms.MessageBox.Show( ...Show All
Matt_mwb Datetimepicker culture
Hi. How can I change the calendar display from my regional culture without setting from the regional setting. I 'd like to change form thai calendar to Eng US calendar by using code. How can I code with C#. thanks . . . ...Show All
Fernando Ronci Dynamic menu items
I have been through every forum in google looking for an answer to this problem. I would be forever greatful to anyone that could give me a little code on how to do the following: Can someone please give my an explaination of how to& ...Show All
Anthony Borton Deployment Project
I have the results of a large deployment project that have to be installed. The prerequisites are: To test and see if the V2.0 framework is installed and if not install it To test and see if the MDAC V2.8 is installed and if not install it To test and see if SQLServer Express is installed and if not install it Also the customer project comes with a .MDF database that has to be added to the newly ins ...Show All
aendey What is "application framework"?
I tried creating a new Windows Forms app and had a hell of time just getting it to run. The trick was turning off something called "application framework". Can anyone explain what this is Or point me to some articles about&nb ...Show All
Confused999 How do you refresh data bound to a DataGridView
This should be easy... but I don't know how to do it. I have created a DataSet that is bound to a DataGridView so that the DataGridView displays the data in my DataSet. If my DataGridView is called dgvStudents, the following code DOES NOT do the job: dgvStudents.Refresh(); I can see the grid itself flash and refresh(), but the data behind the grid is not being refreshed, so new items in the database (added by another pro ...Show All
Junrei Terrarium RTC Chat in Beta!
Alrighty, this is pretty ghetto style programming, but I have a beta version of Terrarium RTC Chat available. For now, it is available through standard Messenger, but I plan on integrating it with Terrarium more closely and allowing for chat rooms a ...Show All
