dcsimg


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 3 of 3

Thread: Shell and Wait to Explorer.exe (in Win7)

  1. #1
    Join Date
    Dec 2010
    Posts
    4

    Question Shell and Wait to Explorer.exe (in Win7)

    I find much rotines to shell and wait, and all is ok with every programas(notepad, calc, etc..) but neither ok with explorer.exe in win7, (in winXp its ok)

    How I can to use shell "explorer.exe" and wait explore windows closed to next command in my vb program over win7 ?

    It's my machine error ???

    PS. I use
    Shell/OpenProcess/GetExitCodeProcess
    or
    Shell/OpenProcess/WaitForSingleObject
    or
    Shell/CreateProcess/WaitForSingleObject
    or
    CreateObject(Wscriot.shell)/.ShellRun

    Best Regards

  2. #2
    Join Date
    Nov 2003
    Location
    Portland, OR
    Posts
    8,387
    Unless you select the option to open Explorer windows as a separate process (see attached screenshot), Explorer never stops running; it's what Windows uses to display the desktop.
    Attached Images Attached Images
    Phil Weber
    http://www.philweber.com

    Please post questions to the forums, where others may benefit.
    I do not offer free assistance by e-mail. Thank you!

  3. #3
    Join Date
    Dec 2010
    Posts
    4
    It's True for WinXP, not for Win7

Similar Threads

  1. Shell and Wait Converted to VB.Net - November 2002 Tip of the Month
    By Larry Rebich in forum dotnet.announcements
    Replies: 0
    Last Post: 10-15-2002, 01:20 PM
  2. shell and wait DoEvents
    By MaRiŲ in forum VB Classic
    Replies: 22
    Last Post: 12-31-2001, 10:51 AM
  3. shell and wait
    By Guy in forum VB Classic
    Replies: 6
    Last Post: 12-09-2000, 12:27 PM
  4. shell and wait
    By Guy in forum VB Classic
    Replies: 0
    Last Post: 12-08-2000, 11:47 AM
  5. Shell and Wait
    By Bharat Patel in forum VB Classic
    Replies: 0
    Last Post: 06-12-2000, 02:01 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center