See the thread "Command Line Parameters".
Pete
-----Original Message-----
From: Johansson Sidney [mailto:OM50861@O...]
Sent: Tuesday, February 18, 2003 9:10 AM
To: professional vb
Subject: [pro_vb] Running a VB app with a parameter
Hi All
Is it possible to run a vb app with a parameter?
For example: I have an MIS app that will pick up the NT login and then use
the login for queries on a SQL DB.
I would like to overwrite the login used in the queries with one that I have
specified
e.g. MyApp.exe /u OM50861 where OM50861 is the NT login ID.
Thanks