Wrox Home  
Search P2P Archive for: Go

  Return to Index  

pro_vb thread: Running a VB app with a parameter


Message #1 by Johansson Sidney <OM50861@O...> on Tue, 18 Feb 2003 16:10:27 +0200
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




  Return to Index