Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Opening INI files along with the EXE one
Message
From
14/04/1999 17:41:22
 
 
To
14/04/1999 17:07:13
Pascal Binette
Pratt & Whitney Canada
Saint-Hubert, Quebec, Canada
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00208396
Message ID:
00208402
Views:
29
>Is there a way of opening an INI file automatically when you run an application that has the same name? I know some other languages such as Delphi have a command for that, but there does not seem to be one in VFP. I looked at the GetPrivateProfileString API function, but you have to specify the path of the file, which is what I want to avoid.

That's what the registry is for.
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform