CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3
  1. #1
    Join Date
    Mar 1999
    Posts
    18

    How to know if one program running in vb?

    I want to run another program in my vb application,but how to
    know the program is running or not?Thank any guru who could
    tell me.



  2. #2
    Join Date
    Aug 1999
    Location
    US, Florida
    Posts
    817

    Re: How to know if one program running in vb?

    hmmm, sorry but i think it's a bit confusing...you want to launch another program from your VB program?
    You can use Shell for that:

    Shell("c:\command.com", vbNormalFocus)

    to launch MS-DOS
    otherwise reply and explain what exactly are you trying to do


  3. #3
    Join Date
    Aug 1999
    Location
    US, Florida
    Posts
    817

    Re: How to know if one program running in vb?

    To see all the programs that are currently running on your PC, press Ctrl+Alt+Del...!!!Be careful...press them only once, otherwise you will restart your computer!!!
    But there is an exception....there is a code to "hide" the program that is running on your pc, so program is running but isn't visible when Ctrl+Alt+Del is pressed


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured