|
-
Feb 21st, 2000, 09:45 PM
#1
Thread Starter
Hyperactive Member
I know this method to open a textfile into a textbox:
VB Code:
Filenum = FreeFile
Open "c:\File1.txt" For Input As Filenum
T1_DTBANK.Text = Input(LOF(Filenum), Filenum)
Close Filenum
My progam loads some paths from five textfiles (each with one line, e.g. "C:\XXXXXX\XXXXXXX.TXT").
Now my question:
Is there a way, that there is only one textfile with all this things?
Is it possile, that I open the textfile,
so the textbox no. 1 has the text of the first line (of the textfile), the textbox no.2 has the text of the second line, and so on.
How do I have to modify the code?
I hope you understant my problem.
Thanks for some help, Matt
Last edited by Matt-D; Sep 18th, 2003 at 03:25 PM.
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
|