Results 1 to 3 of 3

Thread: Apps executed with SHELL (now I want to deal with these apps) [RESOLVED]

  1. #1

    Thread Starter
    Hyperactive Member Krass's Avatar
    Join Date
    Aug 2000
    Location
    Montreal
    Posts
    489

    Resolved Apps executed with SHELL (now I want to deal with these apps) [RESOLVED]

    Hi people.

    I don't think that this can be done, but you guys can just try and prove me wrong. Suggestions are welcome.

    Here's the story: I have an app (let's just call it my main window) which executes (SHELL) many other apps (executables). These newly opened windows are minimized without focus because I need to keep my eyes on the main window.

    From time to time, I will need to see the content of one of these executables. I could simply click it in the taskbar, but this might get confusing since 25 apps might have been launched since.

    Would there be a way to have a placeholder (somehow like the subform control) on my main window so I can see these apps in a portion of my main window? That way I'd still be seeing my main window, and a portion of that window would let me see these application as I want. (these 25 apps have been set with a application title so my main window could regodnize and deal with them).

    I know these are strange methods, but it needs to be done that way. I can't use a subforms nor mdichild forms or whatever - they need to be executed seperately.

    Any ideas?

    Thanks
    Last edited by Krass; Apr 4th, 2005 at 01:30 AM. Reason: [RESOLVED]
    Chris

  2. #2
    Fanatic Member
    Join Date
    Mar 2002
    Location
    AUSTRALIA
    Posts
    603

    Re: Apps executed with SHELL (now I want to deal with these apps)

    'Grasshopper' it can be done.
    After launching a pgm you could use find window to get it's hwnd.
    Then add the title to a listbox (and the hwnd to the lbo Itemdata property).
    Later when clicking an entry in the lbo, you could use the hwnd to do things.
    VB-Helper has this, and no doubt other examples, that may help -
    http://www.vb-helper.com/howto_find_...hree_ways.html
    Rob C

  3. #3

    Thread Starter
    Hyperactive Member Krass's Avatar
    Join Date
    Aug 2000
    Location
    Montreal
    Posts
    489

    Re: Apps executed with SHELL (now I want to deal with these apps)

    Thanks for your feedback.

    What you've said is what I have finally done. Hwnd makes it really easy to play with windows...

    I was helped by that link: http://www.planet-source-code.com/vb...22324&lngWId=1

    See ya.
    Chris

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