Search results for query: *

  • Users: stevecking
  • Content: Threads
  • Order by date
  1. S

    Combobox Binding to ArrayList for Lookup

    I'm confused by what should be a relatively straight forward design. It uses an ArrayList with classes added which is the DataSource for a combobox. The DisplayMember is then "LastFirst" and the ValueMember is the ID of the name. Sometimes the dropdown on the combobox is empty, sometimes the...
  2. S

    BindingSource AddNew Failed

    I've a form that contains a master BindingSource with related binding sources which are releated by the foreign key. My difficulty is that the users within the Intranet have both successes and failures using the sub BindingSources to add new records. The Server containing the database is local...
  3. S

    ComboBox Binding

    I have a front-end application containing a database which may/or may not get it's data from another database being used as a repository. The comboboxes are currently bound to dataset which are derived from the repository. My problem occurs with the (may not) part of the requirement. If the...
  4. S

    Form Designer Error

    I've a form that give me and error 'There is already a command handler for the menu command' ... and it happened following some changes to integrate new BindingSources and TableAdapters. The form has been used for a couple years without problems. I added NO third party software as some forum...
  5. S

    My.Settings Following ClickOnce Deployment

    I've an application that uses My.Setting.SqlVersion user setting to store the version to be displayed in the About form. Although I've updated this value a number of times to 1.0.0.32 it still shows 1.0.0.31 in the deployed application About form. User settings are supposed to automatically...
  6. S

    ListView Refresh

    I'm building an application which uses a main form with a listview control. The listview control displays information concerning each record loaded for that Part Number. Adding a record causes a popup form to be displayed. After the user enters the record data and saves the record, I want the...
  7. S

    TextBox Values not Available

    I'm having problems accessing the TextBox.Value property for controls that have already been bound and that have their visible property set to False. I load these TextBoxes with keys and make the control visible, then access them when necessary for adds, etc. If the textbox is visible...
  8. S

    DataGridView DefaultValuesNeeded Failure

    According to documentation, when a row is added to the DataGridView you can use the DefaultValuesNeeded event to populate values of the row that are needed. I've a foreign key and a date value that seem to fail. I stop the process during debugging to inspect the values used to populate the...
  9. S

    BindingSource Refresh

    I'm using BindingSource with a DataSet to display data on my form. When I add a new record (newSruRow = aideDS.Tables("tblPprSru").NewRow) to the DataSet and then Update the DataSet, the BindingSource is not updated even though I can count the correct number of record in the DataSet instance...
  10. S

    Concurrency Error

    I'm working to resolve a concurrency error. My correction works with one major exception. If the answer is yes then a stored procedure updates the record. If the answer is no then I reject changes but the Me.Refresh I attempted does not refresh the DataSet I'm using for the form. I update...
  11. S

    Managing Forms Display

    I've a rather simply request but can't find the elegant solution. I want to be able to determine if a form is already open so another instance of the form isn't opened. If it's not open simply show it but if it is open I want to make it visible. I am aware that I can loop through the...
  12. S

    ComboBox Events

    I've been trying to determine the value of a combobox after the user has changed the selection without much success. Using the SelectedValueCommitted and using msgbox to display the value it shows the value of the combobox prior to the user changing the value. I need to update values of other...
  13. S

    Multi-Talented Combobox

    It's relatively easy to set up a combobox to use a lookup table and bind the 'SelectedValue' -- but, I would like to be able to have the combobox either use a selected value OR allow the user to freeform enter text into the combobox and store that value into the table. Obviously then the...
  14. S

    ListView Not Displaying

    I've been unsuccessful trying to get my ListView to display. The code is from other successful populations of ListViews. While Debugging I've determined that the sqlDataReader is correctly reading the data and that the ListView is being added to the collection. This has got to be something...
  15. S

    Invalid Characters in StringBuilder.ToString

    I'm building an application compatible .MPX text file using a StringBuilder and writing it using My.Computer.FileSystem.WriteAllText(_FullPath, _MpxText, False). When I open the file using the application I get an application error. When I replace the first line (of 450+ lines) with a good...
  16. S

    Opening an Application File in Code

    I'm trying to determine how to open a MS-Project .MPX file in vb.NET. I've created a valid .MPX interface file that has the extension properly registered. I have used the Windows API OpenFile to perform this operation in the past. Within the code it must determine the file type by comparing the...
  17. S

    Binding Combobox to Data

    This problem has cropped up for me occasionally and I never resolved it. I'm trying to bind a dataset to the combobox; set the Datasource, DisplayMember, and ValueMember; then store the ValueMember in the Problems.ProjID field. While I am easily able to bind the dataset to the control and use...
  18. S

    Text from Texboxes in Tabs

    I have an application where I check the length of the text in textboxes with If Len(txtAnalysis.Text) > 0. Frequently this does not find text that IS in the textboxes. After I click to open each tabpage on the tab control it always seems to locate the text properly. Do I need to set the focus...
Back
Top