how to save data in a text file-NEWBIE

necro
05-15-2003, 08:52 AM
i am a newbie and have written a program that just presents pictures and some numbers, all i want is for this data to be stored in a text file ie-

name, trial, ....and some other things

any help would be good

i could put the full code up if that would help

thanks

andy

Iceplug
05-15-2003, 08:58 AM
Well, the simple way would probably be something like this:
Open app.path & "\file.txt" For Output As #1
Write #1, Thename, Thetrial, Theotherthings
Close #1
As long as they are regular data types in VB (no arrays, pictures, command buttons, list boxes, UDTs, etc.). :)

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum