VB6.0 When i am running my applicaton and click at button to open onother application the ..

Posted on 2006-04-20
Last Modified: 2010-05-01
Hello experts...

VB6.0 When i am running my applicaton and click at button to open onother application the application is opening but not showing at the screen .. its running on the tray and i must to click on it to appear on the screen... pls help!!!
Question by:KingSencat

    Author Comment

    sorry in the task bar i mean not in the tray..
    LVL 28

    Accepted Solution

    if your using shell, use vbNormalFocus

    Private Sub Command1_Click()
    Shell "Calc.exe", vbNormalFocus
    End Sub

    LVL 12

    Expert Comment

    Maybe check the "Properties" of your VB6 shortcut and examine the "Run" setting to see if it's set to "Minimized" instead of "Normal window"
    LVL 12

    Expert Comment

    ... Oh sorry pls disregard my previous comment I thought your Visual Basic editor is what you meant.

    The comment/suggestion from vinnyd79 is correct.

    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

    This article describes some techniques which will make your VBA or Visual Basic Classic code easier to understand and maintain, whether by you, your replacement, or another Experts-Exchange expert.
    You can of course define an array to hold data that is of a particular type like an array of Strings to hold customer names or an array of Doubles to hold customer sales, but what do you do if you want to coordinate that data? This article describes…
    Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
    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…

    760 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