Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Text file problem
Message
 
To
07/09/2000 10:06:44
General information
Forum:
Visual Basic
Category:
Other
Miscellaneous
Thread ID:
00413222
Message ID:
00413481
Views:
29
>No, the line is there :
>
>  a = a + 1
>
>Maybe I should use Sequantial Access and use a Print# statement?
>But the problem with that is that i have to forgot about my structure...
>Any idea?

This one is good, but you need another one after reading the last record (and before writing to the file):
Open FILE For Random As #1 Len = Len(tTemp)
Do While Not EOF(1) 'goto end of file
    a = a + 1
    Get #1, a, tTemp
Loop
a = a + 1
Put #1, a, tGood 'write something
Close #1
Éric Moreau, MCPD, Visual Developer - Visual Basic MVP
Conseiller Principal / Senior Consultant
Moer inc.
http://www.emoreau.com
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform