Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Opening INI files along with the EXE one
Message
De
14/04/1999 17:41:22
 
 
À
14/04/1999 17:07:13
Pascal Binette
Pratt & Whitney Canada
Saint-Hubert, Québec, Canada
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00208396
Message ID:
00208402
Vues:
28
>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform