Strange behavour of Process



Hi!
Working with an VB.NET app that calls a lot of 3:rd party programs via the
Process class. All calls are made with this pattern:

Dim p as New Process
p.StartInfo.FileName = <full path to the exe-file>
p.StartInfo.Arguments = <arguments to the exe>
p.StartInfo.CreateNoWindow = True
p.StartInfo.UseShellExecute = False
p.StartInfo.RedirectStandardError = True
p.StartInfo.RedirectStandardOutput = True

--
Regards,
Lars Jönson
.



Relevant Pages

  • Re: Tracert In VB.NET 2008
    ... > Process class - this will allow you to start execution of the tracert> exe ... > waitforexit on the process to allow it to execute till the end. ... > settings such that it can execute without a cmd window. ... Dim pInfo As New ProcessStartInfo ...
    (microsoft.public.dotnet.languages.vb)
  • Opening a browser using system.disgnostics.process class
    ... I'm trying to open an instance of the default browser and browse to a URL. ... I'm seeing an issue with the process class where if i execute my process ... Dim p As Process = New Process ...
    (microsoft.public.dotnet.general)
  • RE: Opening a browser using system.disgnostics.process class
    ... "Shawn Hogan" wrote: ... > I'm seeing an issue with the process class where if i execute my process ... > Dim p As Process = New Process ... > to know if there is a way to get the exe path of the default browser. ...
    (microsoft.public.dotnet.general)
  • process class to print word document and pass in printer
    ... Can anyone tell me how to set the printer using the process class in VB.net, ... Dim pathToExecutable As String = "WINWORD.EXE" ... Dim iloop As Int16 = 0 ...
    (microsoft.public.dotnet.languages.vb)

Loading