CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Jan 2000
    Posts
    8

    make another program window focused

    you no when you type in shell "c:\windows\whatever.exe"
    when you do that, it makes the program minumized, so how do i make the program pop up?


  2. #2
    Join Date
    May 1999
    Location
    Oxford UK
    Posts
    1,459

    Re: make another program window focused

    The 'Shell' command defaults to minimized if you don't supply the second parameter.

    The second parameter takes an enumerated type such as vbMinimized, vbMaximizedFocus etc - a window should popup with the list of available options when you type a ',' after the program name (or just check the help that comes with vb).


    Chris Eastwood

    CodeGuru - the website for developers
    http://codeguru.developer.com/vb

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