Welcome to Dream.In.Code
Getting VB Help is Easy!

Join 136,457 VB Programmers for FREE! Get instant access to thousands of VB experts, tutorials, code snippets, and more! There are 1,889 people online right now. Registration is fast and FREE... Join Now!




How to permanantly store data

 
Reply to this topicStart new topic

How to permanantly store data, How do u store data permanently in Visual Basic?

Game_burger
26 Jul, 2008 - 07:15 AM
Post #1

New D.I.C Head
*

Joined: 26 Jul, 2008
Posts: 1

SOm1 plz help me, how do u store data permanently? like in a file. Plz tell me. I dont knwo how i do that. I tried some guides but all i got was som crap which didnt work at all. Or maybe i did somthing wrong.....

My code is given below:

CODE
Private Sub Command1_Click()


Now there are two text boxes into which the user enters info. I want that info to be processed into a file and stored permanently when the user clicks on the command button such that the user can send me that file via E-Mail and i can obtain the info he has written in the VB application. Please could som1 help me to do that? I would be very grateful rolleyes.gif . Thnx ppl.
User is offlineProfile CardPM
+Quote Post

PsychoCoder
RE: How To Permanantly Store Data
26 Jul, 2008 - 07:29 AM
Post #2

using DIC.Core;
Group Icon

Joined: 26 Jul, 2007
Posts: 8,993



Thanked: 125 times
Dream Kudos: 8625
Expert In: VB, VB.Net, C#, SQL, ASP, ASP.Net, Web Development, HTML, CSS, Win32 API, Javascript, mySQL, J#, Boo.Net

My Contributions
Dream.In.Code has a policy by which we prefer to see a good faith effort on your part before providing source code for homework assignments. Please post the code you have written in an effort to resolve the problem, and our members would be happy to provide some guidance. Be sure to include a description of any errors you are encountering as well.

Please post like this:

Thank you for helping us helping you.
User is offlineProfile CardPM
+Quote Post

Zhalix
RE: How To Permanantly Store Data
26 Jul, 2008 - 09:25 AM
Post #3

D.I.C Head
**

Joined: 7 May, 2008
Posts: 218



Thanked: 9 times
My Contributions
Read this tutorial, it will explain how to read and write to files:
http://www.dreamincode.net/forums/showtopic29575.htm
User is offlineProfile CardPM
+Quote Post

Fast ReplyReply to this topicStart new topic
Time is now: 12/2/08 03:41PM

Live VB Help!

VB Tutorials

Reference Sheets

VB Snippets

DIC Chatroom

Bye Bye Ads

Monthly Drawing

Thumb Drive

Top Contributors

Top 10 Kudos This Month