just wondering

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

Guest

hey all,

is it possible to call like a console application with parameters? if not
what would be some alternatives?

thanks,
rodchar
 
Sub Main(Args() as String)

End Sub

That will put your parameters from the command line into the Args array.

Chris
 
If you are calling a console app from your app, then use the
System.Diagnostics.Process class and the ProcessInfo class. You can
pass arguments using these.

Chris
 
Funny

Both Chrisses give a correct answer and because of that the answer becomes
complete in my opinion

(I think rodchar was looking for the first answer, however could as been the
second as well)

:-)

Cor
 
Back
Top