|
Subject:
|
read txt file from vb6
|
|
Posted By:
|
poupis
|
Post Date:
|
6/28/2005 8:19:33 AM
|
hi everyone,
cause I am new in VB6 can someone help me on how to open and read a txt file from VB6?
Thank you so much
|
|
Reply By:
|
marcostraf
|
Reply Date:
|
6/28/2005 12:53:03 PM
|
if you are new to vb6, I suggest you to start from here:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vbcon98/html/vbconusingsequentialfileaccess.asp
it explains how to open, read and write files using the vb 'native' file access, with sections ready to cut and paste. From there you can browse around and see all the file I/O section
Good luck, Marco
|
|
Reply By:
|
poupis
|
Reply Date:
|
6/29/2005 7:53:01 AM
|
thank you for your early reply marco,
I still don't figure it out how it should be. I have tried several ways found on the internet but with no result. The basic functionality is to be able to open a .txt file saved on my local disk and then to parse the contents of it. If anyone know on how to make it with coding I will appreciate it!
Thank you in advance!
|
|
Reply By:
|
marcostraf
|
Reply Date:
|
6/29/2005 1:08:49 PM
|
can you post the code you wrote so far? Marco
|
|
Reply By:
|
Raghavendra_Mudugal
|
Reply Date:
|
6/29/2005 11:26:16 PM
|
Hello
check this link, it will show how to handle writing and reading text file
http://in.geocities.com/raghavendra_mudugal/TextfileSample.zip
hope this helps.
With Regards, Raghavendra Mudugal
|
|
Reply By:
|
pons_saravanan
|
Reply Date:
|
4/23/2008 10:31:29 PM
|
Hi I hope the question is answered but someone who is searching for a solution may find this helpful
here is a simple function which you can use to read text files and get the content in the string http://www.vbknowledgebase.com/WebApp/Guest/Home/Home.aspx?PageCode=23& Desc=Read-Text-File-into-string-VB6
Pon Saravanan
|