System.Diagnostics.Process - How To Reference

NCSUK
07-27-2005, 07:23 AM
Hope someone can help me.

How do i go about referencing the system object, in rticular to reference a process. Is it a reference that needs to be added into my project or am I missing something.

When I say referencing I mean that the VB editor recognises that it is a reserved word and pops up the intellisense window.

thanks

lebb
07-27-2005, 07:27 AM
System.Diagnostics is in VB.NET, yet you have posted in the Legacy VB forum. Which are you using?

NCSUK
07-27-2005, 07:30 AM
System.Diagnostics is in VB.NET, yet you have posted in the Legacy VB forum. Which are you using?

that in itself is good enough to answer my question. I am currently using vb6, due to migrate to .net shortly when our customers upgrade their operating systems.

I need to be able to reference a process so that i can run a dos command using shell and then wait for it to finish.

reboot
07-27-2005, 07:32 AM
http://support.microsoft.com/kb/q178116/

lebb
07-27-2005, 07:32 AM
Do a search here for ShellAndWait.

NCSUK
07-27-2005, 07:35 AM
http://support.microsoft.com/kb/q178116/
thanks for the pointer

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum