Results 1 to 2 of 2

Thread: Saving Data to a custom file

  1. #1

    Thread Starter
    New Member
    Join Date
    Feb 2009
    Posts
    13

    Saving Data to a custom file

    Hello all,

    I have an application that collects data from the user and reads data from the serial port. After the user has entered the data and the data from the serial port received, I would like to be able save those data into a file, preferably in some database format (e.g. Access mdb file) Can anyone help me with this, I am very confused with vb.net. I have created an Access database and connected it to my "solution", I also have created a datagridview on the form that connects to a table in the database. Now I basically want add two buttons (or menu items) on the form, one that does a "Save As" and allows all of that data to be saved into a separate mdb file, and one "New" button that opens a blank copy of the mdb file for more data to be entered.

    Can anyone give me some pointers on where to even begin?

    Thanks

  2. #2
    PowerPoster gep13's Avatar
    Join Date
    Nov 2004
    Location
    The Granite City
    Posts
    21,963

    Re: Saving Data to a custom file

    Hello,

    There are a number of threads in the CodeBank that I think will be useful for you to gain an understanding of how this can be accompllished. Here are the links to them:

    http://www.vbforums.com/showthread.php?t=469872
    http://www.vbforums.com/showthread.php?t=381224
    http://www.vbforums.com/showthread.php?t=548061
    http://www.vbforums.com/showthread.php?t=551907
    http://www.vbforums.com/showthread.php?t=524817

    They are all thanks to jmcilhinney.

    Hope that helps, and sheds some light on what you are trying to do.

    Gary

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