Using CreateProcess in VB.NET

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

No matter how I fill in parameters for the CreateProcess API, I keep getting a NullReference exception thrown at me when my VB code executes

It's driving me nuts!

Can anyone help

Just an "example" of the CreateProcess API actually working in VB.NET would be perfect if someone could refer me to one
 
this has been multi-posted to numerious groups.


cranker said:
No matter how I fill in parameters for the CreateProcess API, I keep
getting a NullReference exception thrown at me when my VB code executes.
It's driving me nuts!

Can anyone help?

Just an "example" of the CreateProcess API actually working in VB.NET
would be perfect if someone could refer me to one.
 
Is there any specific reason you are calling that API directly? You may want
to consider looking at the System.Diagnostics.Process class.

Rick.

cranker said:
No matter how I fill in parameters for the CreateProcess API, I keep
getting a NullReference exception thrown at me when my VB code executes.
It's driving me nuts!

Can anyone help?

Just an "example" of the CreateProcess API actually working in VB.NET
would be perfect if someone could refer me to one.
 
Back
Top