Results 1 to 4 of 4

Thread: [2005] saving multiple combo boxes as text file

  1. #1

    Thread Starter
    New Member
    Join Date
    Jul 2008
    Posts
    7

    [2005] saving multiple combo boxes as text file

    Hello,

    I know that this shouldn't be that hard, but...
    I'm trying to save vehicle info(SaveVehicleToolStripMenuItem) which the user inputs as text in combo boxes, then click AddVehicleToolStripMenuItem. Saving to "vehicles.txt". When Add menu item is clicked, the combo boxes should clear(got that part).

    vinComboBox
    yearComboBox
    mfgComboBox
    modelComboBox

    A second form should load the VIN data into a combo box. Selection of a VIN from the drop-down should display the vehicle info in a label.

    Stayed up way to long with it last night and my code is a mess. I'm so lost.
    The second form might not be that hard if I could get the data to save properly.

    Thanks

  2. #2
    Code Monkey wild_bill's Avatar
    Join Date
    Mar 2005
    Location
    Montana
    Posts
    2,993

    Re: [2005] saving multiple combo boxes as text file

    Setup a strongly typed dataset, then use its readxml and writexml methods to get and set your data.

  3. #3

    Thread Starter
    New Member
    Join Date
    Jul 2008
    Posts
    7

    Re: [2005] saving multiple combo boxes as text file

    huh?

  4. #4
    Code Monkey wild_bill's Avatar
    Join Date
    Mar 2005
    Location
    Montana
    Posts
    2,993

    Re: [2005] saving multiple combo boxes as text file


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width