hi,
you could use the Process class :
ProcessStartInfo si = new ProcessStartInfo();
si.FileName =
System.Configuration.ConfigurationSettings.AppSett ings["path_to_exe"] ;
si.WindowStyle = ProcessWindowStyle.Hidden;
theRunningProcess = Process.Start( si );
cheers,
--
Ignacio Machin,
ignacio.machin AT dot.state.fl.us
Florida Department Of Transportation
"iamspo" <ia****@discussions.microsoft.com> wrote in message
news:FF**********************************@microsof t.com...
I am working on an application which sends a print file to a print queue on
a
sun machine. Currently this is run vit DTS and a batch file calls the LPR
command.
I am changing this app to a .net console app in C#. I was wondering if it
is possible to do call the LPR command w/o shelling out or using a batch
file?
Thanks in advance,
SPO