|
-
Apr 22nd, 2001, 06:03 PM
#1
Thread Starter
Junior Member
Hi, anyone know how to use ini files?
I'm writing an app that uses the write function to write lines of data to a text file and need an ini file so different versions can have different field names (and a different number of fields for that matter) in the tables.
I assume I write a text file settings.ini with lines like:
field1name = TIME_STAMP
then open it using:
open C:\settings.ini for input as #1.
How do I glean out the info I need then and put in to lines of code?
Also, if I have say fieldname1 to fieldname200, how do I deal with the empty ones for tables with less than 200 fields? In particular in a write line like this:
Write #1, rstMon("TIME_STAMP") & "", rstMon("RANGE_ERR") & ""...
Thanks!!!
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
|