Answer Questions
maara Secrets of the BindingSource.Filter
I searched through the MSDN documentation and these forums, but found precious little about this undocumented, yet powerful feature: The new BindingSource.Filter property, from my experimentation, is a full-fledged secondary "where" predicate on top of whatever selection is done in the base query that is tied to a TableAdapter. Since the base query is not accessible (or is it ) for dynamic changes, this Filter is where one can dynamically cha ...Show All
Paul S How to "preserve" data between forms ?
Once the User logs in, I am required to save a bunch of information regarding the user profile. I have created a UserData class, I want that once this information is populated, it should be accessible from any other form. Any suggestions about& ...Show All
Mirko Messori Databinding Tree Node Text
I have a tree that is built dynamically from a database. I associate an object with each treenode using the Tag property (the object is from a class I wrote). Basically, when you select the tree node you are selecting the object. What&nb ...Show All
E. McDonald MDI Keystrokes
So I have a MDI application, all MDI child windows extend a MDI base form class so they all have common code. What I want to do is capture keystrokes and look for a special key event from a barcode scanner, when this keystroke is inte ...Show All
AussieGuy Difficulty in databinding.
Hi, I have been working on a client-server application in c# for a few day and find that there is quite a lot of limitation and drawback in using databinding controls to dataset. It is actually quite a new and difficult technique, right ...Show All
Yuri O Setup project: Custom UI dialogs and reinstall
I have a setup project with a custom dialog (asks for a server name and a port number). This information is then passed to a custom action DLL. However, if I have already installed the app and attempt to run the msi again (and choose the Repair option), I do not get the custom dialog displayed and so the custom action is passed empty arguments for the servername and port number., Is there anyway on a repair to have the dialog appear If not, can ...Show All
Robert Wishlaw Drag and Drop Button with Outline on Windows Form
I've seen numerous examples of how to dynamically position a control on a Windows form using Visual Basic 6's .Drag and .Move methods, such as the code below: Private XOffset As Integer Private YOffset As Integer Private Sub Command1_MouseDown(Button As Integer,& ...Show All
Syed Help dealing with nulls
I was interested in the proper way to deal with null objects. I have a Contact Class that contains an Email Collection class. In certain circumstances the email collection will contain no emails. When i do something like: lvContact.SubItems.Add(contact.Emails[0].EmailAddress); ...Show All
raptorjax Multilevel Hierarchial Datagrids
I am trying to get some help on creating a Multilevel Hierarchial Datagrid. What I mean is that the Hierarchial level is unknown. There could be many related records or none. Also there could be multiple categories. Hopefully the data& ...Show All
Kwan Deng Datagridview col headertext change
Hi Im working with datagridview obj that is binded to DataSet that working with SQL 7.0 In the SQL Database I defined a table with col type: int, char and datetime. On the datagridview I can change the headertext of col of type char, but not ...Show All
TOMDX TableAdapter no update?
Hello! I have create an application with vs2005. I work to a sql server 2005. I have problem to bind my control, modify my dataset but when i try tu update my tableAdapter, my data are not updated. I have create my TableAdapter by design.My code: this .suppliersTableAdapter.Update( this .desktopInventoryDataSet.Suppliers); I have not error. Have you got any idea Best regards, Wavemill ...Show All
Derald Smith GDI+ Curve - Math
Hello. Does anyone know, how the curve function with DrawCurve() is mathematicaly implemented with GDI+ I'm talking about the curve which alignes to the given points, not the bezier one. It seems to me like there is some x^3 interpolation involved, but I'm not 100 percent sure. Thanks in advance. ZMaster Thank you for the information. This pretty much looks like the kind of curve I was looking for. However, I ...Show All
Antonello Bianchi .NET Framework 2.0
High all I was not sure where to put this so I went with general windows.. My questions is I did a fresh install of windows XP today using the .NET Framework 2.0 installer and when I went to the windows update site it said I needed .NET Framework 1.1.. I am assuming version 2.0 is a replacement upgrade for version 1.1 SP1 or do I need to install both... I was even more confused cause when you check the services it shows version 2.0 in ...Show All
Beth1 primary key
If two users are both logged in to their local copy of TaskVision but are offline and they make an insert on the same table, how does the program currently deal with preventing a duplication of the primary key ...Show All
Lonnie Barnett Move or Drap and Drop items in CheckedListBox VS.Net 2005
Dear all, My solution have a form with checkedlistbox and two button (Move Up, Move Down). I want to move up/down items in checkedlistbox when i push buttons up or down or drag and drop items possible. This is my code : private void btnMoveUp_Click( object sender, EventArgs e) { chkListBox.SelectedIndex -= 1; } private void btnMoveDown_Click( object sender, EventArgs e) { chkListBox.SelectedIndex += 1; } please help me add ...Show All
