|
-
Jul 22nd, 2001, 08:16 PM
#1
db???
need help plzzzzzzzzzzzzzzzz
I am reading a string of data eg. speed, time, range etc. and want to store them in a table form (database) and update the data base after the next reading.
I would then save the file to disk (floppy etc) giving it a unique filename.When the file is opened ( in any machine) the data in the table should be present.
Where should I save my database...can I use access for this and will I need to save access document to disk in order to view my file in any other machine. (ill me making this an exe program)
can I use savesetting and getsetting through windows registry to save database???
how can I code this?
please also direct me to web sites which could help me undrstand save to disk commands.
plezzzz help
-
Jul 22nd, 2001, 10:23 PM
#2
I want to know why you are using a string to put all these variable?
And how do you do to read only one part of the string after?
(I know that a newby question but I want to know more about String variable)
-
Jul 22nd, 2001, 11:53 PM
#3
-
Jul 23rd, 2001, 03:08 AM
#4
Retired VBF Adm1nistrator
cool_rockz, unless there is a specific need for a database (eg. other people need access at the same time etc.), then just use normal file I/O. For example :
Code:
Open "c:\myLog.log" For Output As #1
Print #1, "--------"
Print #1, "Something : " & vbTab & someValue
Print #1, someOtherValue
Close #1
And if you're going to be doing a lot of outputting and reading to the file in each session, I would suggest storing the file on the HDD somewhere. Putting the file into the temp folder would probably be best (Use the GetTempPath API).
Though you can stick it anywhere.
Then you'd copy the file onto the floppy when you're done.
Microsoft MVP : Visual Developer - Visual Basic [2004-2005]
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|