mOOdY4u
Programmer
- Aug 11, 2008
- 5
Hey all,
how can i pass parameter to my project at the run time,
the code is
------------------------------------
Dim p As New System.Diagnostics.ProcessStartInfo()
p.Verb = "print"
p.WindowStyle = ProcessWindowStyle.Hidden
p.FileName = "c:\somefile.pdf"
p.UseShellExecute = True
System.Diagnostics.Process.Start(p)
------------------------------------
so i want to send the value of (p.FileName) at the run time
like this
cmd > myApplication.exe "c:\somethingElse.pdf"
i wish it's clear 4 u
thx in advance
how can i pass parameter to my project at the run time,
the code is
------------------------------------
Dim p As New System.Diagnostics.ProcessStartInfo()
p.Verb = "print"
p.WindowStyle = ProcessWindowStyle.Hidden
p.FileName = "c:\somefile.pdf"
p.UseShellExecute = True
System.Diagnostics.Process.Start(p)
------------------------------------
so i want to send the value of (p.FileName) at the run time
like this
cmd > myApplication.exe "c:\somethingElse.pdf"
i wish it's clear 4 u
thx in advance