
Creating exe files that pass arguments to VB
Quote:
> Anybody know it this is possible? I struggled with it most of the day.
> Although the SUB MAIN () has brackets it won't let me insert any
> parameters. I would like an external program to pass three parameters to
> VB. Thanks for your help.
> gnye
I presume you want command line parameters when you run your VB app ? There is a
function called COMMAND$ which returns the string after your executable name when your
app is run. You can use this for switches, file names etc.
Hope this is what you want,
Bill
--
++++++++++++++++++++++++++++++++++++++++
| |
| Bill Martin |
| Halesowen College |
| |
| |
++++++++++++++++++++++++++++++++++++++++