Hey guys, is there any way to read and write an object to a text file?
For example in java i can open a ObjecOutputStream and just write an object. What about in vb?
Thanks
M
nschessnerd
0
Posting Whiz in Training
Recommended Answers
Jump to PostHi,
u can use this code:
Dim FN as Long Dim i As Integer FN = FreeFile Open "C:\MyText.txt" For Output As FN Print #FN, "This is My First File" Print #FN, "Second Line" Close FN
Regards
Veena
Jump to PostHi,
I dint get u..?
u want to store Pair of Key and Values...?
Regards
Veena
All 5 Replies
QVeen72
104
Posting Shark
nschessnerd
0
Posting Whiz in Training
QVeen72
104
Posting Shark
QVeen72
104
Posting Shark
nschessnerd
0
Posting Whiz in Training
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.