Solved

I there a way to run one VB application from inside another VB application

Posted on 2004-04-27
3
113 Views
Last Modified: 2010-05-02
Hi.... are the days of DOS batch files gone...? Is there a way of running a VB application from another VB application... the way batch files used to execute tasks one after the other...?

Assuming that I have a small VB application that copies or create folders on a drive... and another small VB application that does some thing after the first application is executed... is there a way to make the first application star, and when it accomplishes its task have the second application do its work....?
0
Comment
Question by:tariqanis
3 Comments
 
LVL 13

Accepted Solution

by:
Michael_D earned 125 total points
ID: 10927594
Use SHELL function to run any executable file.
Syntax:

Shell(pathname[,windowstyle])

Note: the Shell function runs programs asynchronously

Michael
0
 
LVL 69

Expert Comment

by:Éric Moreau
ID: 10927596
0
 
LVL 67

Expert Comment

by:sirbounty
ID: 10933942
To prevent the shell from 'running away' from you...try this PAQ...http:Q_20872942.html
0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

There are many ways to remove duplicate entries in an SQL or Access database. Most make you temporarily insert an ID field, make a temp table and copy data back and forth, and/or are slow. Here is an easy way in VB6 using ADO to remove duplicate row…
I’ve seen a number of people looking for examples of how to access web services from VB6.  I’ve been using a test harness I built in VB6 (using many resources I found online) that I use for small projects to work out how to communicate with web serv…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…

707 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

17 Experts available now in Live!

Get 1:1 Help Now