Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Reading an INI file
Message
 
 
To
12/02/1999 17:23:19
General information
Forum:
Visual Basic
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00187229
Message ID:
00187278
Views:
20
>Any sample on reading an INI file?
>
>I would like to read some parameters that I created in a small INI file.

Hi Michel,

Why not use the old low level file handling commands.

Open "YourINIFile" For Input As #1
Dim INIData() As String
idx=0
Do While Not EOF(1)
idx=idx+1
Redim INIData(idx)
Input #1, INIData(idx)
Loop
Close #1
Michael McLain
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform