Results 1 to 14 of 14

Thread: [2005] How to save input?

  1. #1

    Thread Starter
    PowerPoster sparrow1's Avatar
    Join Date
    May 2005
    Location
    Globetrotter
    Posts
    2,820

    [2005] How to save input?

    Hi All,

    I have an application with several textboxes.
    When the user write some data into these textboxes it has to be saved.

    An access database and textfile is no option to save the data.

    What sould I use to save, remove, open and change this data?

    Thanks in advance,

    sparrow1
    Wkr,
    sparrow1

    If I helped you, don't forget to Rate my post. Thank you

    I'm using Visual Studio.Net 2003 and
    2005
    How to learn VB.Net Create setup with VB 2005 Drawing for beginners VB.Net Tutorials GDI+ Tutorials
    Video's for beginners

  2. #2
    Pro Grammar chris128's Avatar
    Join Date
    Jun 2007
    Location
    England
    Posts
    7,604

    Re: [2005] How to save input?

    why cant you save it to a text file or database? If you dont want to save it anywhere then how on earth can it be saved :S
    The only other option I can think of is to save it in the My.Settings class but that would only save it per-user so you wouldnt be able to have more than one PC with your app on and have them both work from the same saved data...
    My free .NET Windows API library (Version 2.2 Released 12/06/2011)

    Blog: cjwdev.wordpress.com
    Web: www.cjwdev.co.uk


  3. #3

  4. #4

    Thread Starter
    PowerPoster sparrow1's Avatar
    Join Date
    May 2005
    Location
    Globetrotter
    Posts
    2,820

    Re: [2005] How to save input?

    Hi,

    I know it's strange that it can't be a Textfile or an access database.
    Otherwise I didn't asked this question.

    So, The application will be installed on the companyserver and will be used by several companyPC's. (That's the reason not to use Textfiles or accessdatabases)

    Is there another way to do it?

    Thanks,

    Sparrow1
    Wkr,
    sparrow1

    If I helped you, don't forget to Rate my post. Thank you

    I'm using Visual Studio.Net 2003 and
    2005
    How to learn VB.Net Create setup with VB 2005 Drawing for beginners VB.Net Tutorials GDI+ Tutorials
    Video's for beginners

  5. #5
    Pro Grammar chris128's Avatar
    Join Date
    Jun 2007
    Location
    England
    Posts
    7,604

    Re: [2005] How to save input?

    an SQL database would be ideal for this purpose then. The SQL database would run on a server (you can install SQL Express on the server for free if you dont already have an SQL Server anywhere on your network) and then all the PCs can communicate with this.
    My free .NET Windows API library (Version 2.2 Released 12/06/2011)

    Blog: cjwdev.wordpress.com
    Web: www.cjwdev.co.uk


  6. #6
    PowerPoster Deepak Sakpal's Avatar
    Join Date
    Mar 2002
    Location
    Mumbai, India
    Posts
    2,424

    Re: [2005] How to save input?

    Quote Originally Posted by sparrow1
    Hi,

    I know it's strange that it can't be a Textfile or an access database.
    Otherwise I didn't asked this question.

    So, The application will be installed on the companyserver and will be used by several companyPC's. (That's the reason not to use Textfiles or accessdatabases)

    Is there another way to do it?

    Thanks,

    Sparrow1
    Did you considered post # 3?

  7. #7
    Pro Grammar chris128's Avatar
    Join Date
    Jun 2007
    Location
    England
    Posts
    7,604

    Re: [2005] How to save input?

    Deepak, I dont think saving to the registry would be suitable when more than one machine needs to access the same data... SQL Server was designed specifically for this purpose.
    My free .NET Windows API library (Version 2.2 Released 12/06/2011)

    Blog: cjwdev.wordpress.com
    Web: www.cjwdev.co.uk


  8. #8
    PowerPoster Deepak Sakpal's Avatar
    Join Date
    Mar 2002
    Location
    Mumbai, India
    Posts
    2,424

    Re: [2005] How to save input?

    Quote Originally Posted by chris128
    Deepak, I dont think saving to the registry would be suitable when more than one machine needs to access the same data... SQL Server was designed specifically for this purpose.
    If don't want to save anything on the client machine then SQL server is definitely a better choice as everything will be saved on server.

  9. #9

    Thread Starter
    PowerPoster sparrow1's Avatar
    Join Date
    May 2005
    Location
    Globetrotter
    Posts
    2,820

    Re: [2005] How to save input?

    Hi Deepak and Chris,

    If you says that's the best way to save anything, then I'll go for it.

    The only thing is, I've never used a SQL server before can you put me in the right direction with an example or a tutorial.
    And I can use it with VB 2005.

    Thanks,

    Sparrow1
    Wkr,
    sparrow1

    If I helped you, don't forget to Rate my post. Thank you

    I'm using Visual Studio.Net 2003 and
    2005
    How to learn VB.Net Create setup with VB 2005 Drawing for beginners VB.Net Tutorials GDI+ Tutorials
    Video's for beginners

  10. #10

  11. #11

    Thread Starter
    PowerPoster sparrow1's Avatar
    Join Date
    May 2005
    Location
    Globetrotter
    Posts
    2,820

    Re: [2005] How to save input?

    Hi Deepak,

    Thanks for the link, but isn't that for an Accessdatabase!

    If not what datasource should I use?

    Wkr,

    sparrow1
    Wkr,
    sparrow1

    If I helped you, don't forget to Rate my post. Thank you

    I'm using Visual Studio.Net 2003 and
    2005
    How to learn VB.Net Create setup with VB 2005 Drawing for beginners VB.Net Tutorials GDI+ Tutorials
    Video's for beginners

  12. #12
    Addicted Member
    Join Date
    Oct 2007
    Posts
    133

    Re: [2005] How to save input?

    Would a binary file work?

    Use open file as binary, fileput, fileget.
    VS 2015 Pro
    Windows 10 x64 Pro

  13. #13
    Registered User nmadd's Avatar
    Join Date
    Jun 2007
    Location
    U.S.A.
    Posts
    1,676

    Re: [2005] How to save input?

    Quote Originally Posted by sparrow1
    Hi Deepak,

    Thanks for the link, but isn't that for an Accessdatabase!

    If not what datasource should I use?

    Wkr,

    sparrow1
    I've found this set of tutorials helpful: http://msdn.microsoft.com/en-us/library/ms172560.aspx

  14. #14
    Junior Member
    Join Date
    Aug 2008
    Posts
    26

    Re: [2005] How to save input?

    Here is a video tutorial that helped me
    http://msdn.microsoft.com/en-us/beginner/bb308825.aspx

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