|
|
|||||||||
|
|||||||||
|
|||||||||
| |
||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Read a .txt file and save it in a variable
I need to develop in VB 6.0. a program that take a .txt file from a folder and save in a string variable its content,
does anybody have any material I can read or code I can use? I havenīt been able to figure out a way to do it. Thanks. |
|
#2
|
|||
|
|||
|
You could read the VB6 online help, there are examples on using the built-in file functions.
Or you could add a reference to the scripting runtime and use the filesystem object. You can find documentation and examples in the msdn library online, in the web development - scripting area.
__________________
====== Doug G ====== I didn't attend the funeral, but I sent a nice letter saying I approved of it. --Mark Twain |
![]() |
| Viewing: ASP Free Forums > Programming > Visual Basic Programming > Read a .txt file and save it in a variable |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|