Hide running program with VB6

Posted on 2011-10-07
Last Modified: 2012-05-12

I'm creating a small program with Visual Basic 6 to run on WinPE 2.0

My program is executed by another program (not created by me)

The issue is that the program that executes my program is always running on the foreground what results in that my program is not vissible, even not if I set focus to my program it stays behind the other one.

How can I manipulate the other program or my own so that my program is at the foreground?

I hope you understand what I mean.


Question by:juriang
    LVL 142

    Accepted Solution


    Author Comment

    Thanks... I assume the programmer that created the other program did somthing similar so which application will "win" then?
    LVL 142

    Expert Comment

    by:Guy Hengel [angelIII / a3]
    actually, I never tried that out ...
    I presume that as both will have indicated "topmost", both will be "top most", so you can tab between them as if both where not "top most".
    LVL 100

    Expert Comment

    This question has been classified as abandoned and is closed as part of the Cleanup Program. See the recommendation for more details.

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    How your wiki can always stay up-to-date

    Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
    - Increase transparency
    - Onboard new hires faster
    - Access from mobile/offline

    Most everyone who has done any programming in VB6 knows that you can do something in code like Debug.Print MyVar and that when the program runs from the IDE, the value of MyVar will be displayed in the Immediate Window. Less well known is Debug.Asse…
    Enums (shorthand for ‘enumerations’) are not often used by programmers but they can be quite valuable when they are.  What are they? An Enum is just a type of variable like a string or an Integer, but in this case one that you create that contains…
    Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
    Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

    759 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    11 Experts available now in Live!

    Get 1:1 Help Now