Does anyone know how I can pass a runtime argument to a vb program? Something like the argc, argv in C.
Thanks
Ali
Printable View
Does anyone know how I can pass a runtime argument to a vb program? Something like the argc, argv in C.
Thanks
Ali
You can pass it by using
filename.exe -argument
and to retrieve it from a VB app use
Dim arg as String
arg = Trim(Command$)