Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How do I read .ini file entries??
Message
From
04/08/2000 09:05:15
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Other
Title:
How do I read .ini file entries??
Miscellaneous
Thread ID:
00400961
Message ID:
00400961
Views:
81
Thanks for any help with this...

I'm trying to capture an .ini file entry to a property in my form and haven't had any luck. The help for the custom oldinireg class in _registry.vcx is pretty thin.

Everything looks pretty straight forward:
Syntax: GetINIEntry(cValue, cSection, cEntry, cINIFile)

The help states that "cValue specifies the value to be applied to cEntry."

But I can't understand what to send "cValue". I'm not trying to write a value just read one.

I'm assuming that it will return a string so I'm just trying:
ThisForm.cDatafile = oApp.GetINIEntry( ,"DATA","testdata","test.ini")

Any help would be appreciated,
thanks,

- Brian


VFP6 SP5, VFP8 SP1, VFP 9 SP 1 and Win XP SP 3 (unless otherwise specified)


www.wulfsden.com
Next
Reply
Map
View

Click here to load this message in the networking platform