.exe with external params?

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hello,

Can anyone help me out on how to configure an application to have optional
parameters assigned, such as switches, when calling an .exe.

Any help would be greatly appreciated!
Thanks in advance.
 
Mark said:
Can anyone help me out on how to configure an application to have optional
parameters assigned, such as switches, when calling an .exe.

\\\
Public Module Program
Public Function Main(ByVal Args() As String) As Integer
For Each Arg As String In Args
MsgBox(Arg)
Next Arg
Application.Run(...)
End Function
End Module
///

Select 'Sub Main' as startup object in the project properties.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top