Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How Do I Pass Parameters To a VFP Exe?
Message
From
01/10/1998 09:19:24
 
 
To
01/10/1998 09:01:03
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00142766
Message ID:
00142777
Views:
31
>
>2) Pass in the user's ID and password from the command line calling the executable (in the start in box of the properties for the shortcut) - does anyone know how to do this?
>
In the "target" field on your shortcut type:
< drive >:\< path >\YourApp.exe user_id password
that's all
how you obtain the password is something else, can't help you there

>I think the second method is preferable because I would want to have the ability to login as an administrator on any one of the workstations. If I had the system read the ID and password off the workstation network login, I would lose this ability (unless I provided a "login as a different user" function like windows NT) but this seems like too much complexity for a relatively simple issue.
That's very easy, actually, I have a program I can ship to you if you want, works perfectly...
>
>This is why I want to go with the second option - pass in the user ID and password as parameters from the startup command line, if possible. That way, if I want to log in as an administrator or different user on a workstation, I can simply change the start in command line in the properties of the shortcut on the desktop - a minimal effort.
>
>Has anyone done this or know how I would go about it?
>
>Much thanks for your help!
>
>-JT
Best regards
Danijel
Previous
Reply
Map
View

Click here to load this message in the networking platform