Ali, if I understand your question correctly, yes.
Hexathioorthoox alate
'Code Snippet
'=============
Debug.WriteLine ("EntireCommand line=" + System.Environm ent.CommandLine )
Dim applicationCLin eArgs As String() =
System.Environm ent.GetCommandL ineArgs()
For argCounter As Integer = 0 To applicationCLin eArgs.Length - 1
Debug.WriteLine ("argument " + argCounter.ToSt ring() + "=" +
applicationCLin eArgs(argCounte r))
Next argCounter
'Sample Output
'============== ==
EntireCommandli ne="C:\test\Win dowsApplication 9\bin\WindowsAp plication9.exe"
commandarg1 commandarg2
argument 0=C:\test\Windo wsApplication9\ bin\WindowsAppl ication9.exe
argument 1=commandarg1
argument 2=commandarg2
"A.M" <IH*******@sapm 123.com> wrote in message
news:Ot******** ******@TK2MSFTN GP10.phx.gbl...
Hi,
Using WinForms, can i access to the command line parameters?
Thanks,
Ali