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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only