Go Back  Xtreme Visual Basic Talk > Legacy Visual Basic (VB 4/5/6) > General > System.Diagnostics.Process - How To Reference


Reply
 
Thread Tools Display Modes
  #1  
Old 07-27-2005, 07:23 AM
NCSUK NCSUK is offline
Newcomer
 
Join Date: Nov 2004
Posts: 18
Default System.Diagnostics.Process - How To Reference


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
Reply With Quote
  #2  
Old 07-27-2005, 07:27 AM
lebb's Avatar
lebb lebb is offline
Disillusioned Code Poet

Retired Moderator
* Guru *
 
Join Date: Apr 2002
Location: Tennessee, USA
Posts: 12,808
Default

System.Diagnostics is in VB.NET, yet you have posted in the Legacy VB forum. Which are you using?
__________________
Laura

Ita erat quando hic adveni.
Reply With Quote
  #3  
Old 07-27-2005, 07:30 AM
NCSUK NCSUK is offline
Newcomer
 
Join Date: Nov 2004
Posts: 18
Default

Quote:
Originally Posted by lebb
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.
Reply With Quote
  #4  
Old 07-27-2005, 07:32 AM
reboot's Avatar
reboot reboot is offline
Keeper of foo

Retired Moderator
* Guru *
 
Join Date: Nov 2001
Location: Graceland
Posts: 15,612
Default

__________________
~ Quod non mortiferum, fortiorem me facit ~

Avatar by lebb
Reply With Quote
  #5  
Old 07-27-2005, 07:32 AM
lebb's Avatar
lebb lebb is offline
Disillusioned Code Poet

Retired Moderator
* Guru *
 
Join Date: Apr 2002
Location: Tennessee, USA
Posts: 12,808
Default

Do a search here for ShellAndWait.
__________________
Laura

Ita erat quando hic adveni.
Reply With Quote
  #6  
Old 07-27-2005, 07:35 AM
NCSUK NCSUK is offline
Newcomer
 
Join Date: Nov 2004
Posts: 18
Default

Quote:
Originally Posted by reboot
thanks for the pointer
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump

Advertisement:





Free Publications
The ASP.NET 2.0 Anthology
101 Essential Tips, Tricks & Hacks - Free 156 Page Preview. Learn the most practical features and best approaches for ASP.NET.
subscribe
Programmers Heaven C# School Book -Free 338 Page eBook
The Programmers Heaven C# School book covers the .NET framework and the C# language.
subscribe
Build Your Own ASP.NET 3.5 Web Site Using C# & VB, 3rd Edition - Free 219 Page Preview!
This comprehensive step-by-step guide will help get your database-driven ASP.NET web site up and running in no time..
subscribe
 
 
-->