CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Sep 2014
    Posts
    1

    Post help please..vb 6.0

    i am using visual basic 6.0..i have 2 forms..in form 1 have a textbox and command btn and combo box in form 2. all i want to do is like i want to save something in form 1 that can be save automatically on form 2 combo box.

    anyone know how to do it and please gimme some guide or hint for me to successfully save anthing i want by doing something in form 1 that can be automatically saved in form 2 combo box? TIA

  2. #2
    Join Date
    Jul 2008
    Location
    WV
    Posts
    5,362

    Re: help please..vb 6.0

    You do not actually save anything to the forms.
    A form is just a display not a container for saving data.

    If you want to save data you need to use a file to save it to and then you need to load it from the file when you want to recall the data.
    As for how to save it to a file there are a few different ways you can do so depending on your needs.
    There are tons of examples on the internet for this.
    https://www.google.com/#q=file+i%2Fo+vb+6

    https://www.google.com/#q=file+handling+in+vb6
    Always use [code][/code] tags when posting code.

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

Featured