Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
2 programming questions need help
Message
 
To
02/04/2001 22:13:11
Jimi Lee
Pop Electronic Products Ltd.
Hong Kong, Hong Kong
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00491161
Message ID:
00491165
Views:
9
lcenv = getenv("path")

will get you the path setting. Just change the parameter to the environment setting you want to get the value for.

As far as passwords. You basically need to create a vfp form and use a table to seek the password or what ever login value you want to check and validate it. I don't know how much security you feel you need but you could do as much or as little as you feel necessary here.

Hope this helps.

Tommy

>(1) How can I read the operating system environment settings? I mean those
>setting in autoexec.bat,
>such as temp=c:\tmp, path=c:\;c:\windows, or last drive=z ... etc.
>
>(2) I want to make my program passwrod protected, no need login name, just a
>password is enough. But I have no idea where and how to start, would you pls
>give me some guide lines or suggested readings?
Previous
Reply
Map
View

Click here to load this message in the networking platform