Solved

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

Posted on 2004-04-27
3
116 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 70

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

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
VBA to copy paste columns form one file to other 20 90
Paint/Redraw window while dragging 16 82
using Access 8 75
How does CurrentUser work? 10 38
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…
Background What I'm presenting in this article is the result of 2 conditions in my work area: We have a SQL Server production environment but no development or test environment; andWe have an MS Access front end using tables in SQL Server but we a…
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…
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…

840 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