Re: Starting a console application from parameters
- From: "Phill W." <p-.a-.w-a-r-d@xxxxxxxxxxxxxxx>
- Date: Fri, 24 Mar 2006 12:38:02 -0000
"Fabri" <no@xxxxx> wrote in message news:e00jqo$rfi$1@xxxxxxxxxxxxxx
I'm writing a Console Application and I would like to start it only if I
pass to it a param:
myapp.exe -s --> start
myapp.exe --> I write usage reference
Public Shared Function Main( ByVal args As String() ) As Integer
If args.Length = 0 Then
' Display Usage
Return 1
End If
' rest of code
End Function
HTH,
Phill W.
.
- References:
- Starting a console application from parameters
- From: Fabri
- Starting a console application from parameters
- Prev by Date: Re: MouseMove event not firing
- Next by Date: How to Force file download box when clicking on a link for a .pdf file
- Previous by thread: Starting a console application from parameters
- Next by thread: Re: Starting a console application from parameters
- Index(es):