Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
FFC INI access.
Message
From
02/01/2003 16:19:58
James Blackburn
Qualty Design Systems, Inc.
Kuna, Idaho, United States
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Title:
FFC INI access.
Miscellaneous
Thread ID:
00737498
Message ID:
00737498
Views:
62
Hi All

I am trying to get the INI access class in the foundation classes to work. I can read the value that I want but I can't seem to be able to write a value.
* this works
oc=NEWOBJECT("cinifile","_ffc.vcx")
cretval=""
?oc.getinientry(@cretval,'ODBCSETTINGS','USERMAINTCONNECTION',FULLPATH("vfpsetup.ini"))
?cretval

* This does not work. It returns 0
?oc.writeinientry('This is a test','ODBCSETTINGS','USERMAINTCONNECTION',FULLPATH("vfpsetup.ini"))
Thanks.
Next
Reply
Map
View

Click here to load this message in the networking platform