Solved

How do I start a program from my VB app. which is in the same path and called "sendmail.exe" ?

Posted on 1998-11-09
2
145 Views
Last Modified: 2010-04-30
How do I start a program from my VB app. which is in the same path and called "sendmail.exe" ?

0
Comment
Question by:jfl
2 Comments
 
LVL 14

Accepted Solution

by:
waty earned 10 total points
ID: 1443898
The easiest way :

Dim RetVal
RetVal = Shell("SendMail.exe", 1)
0
 
LVL 12

Expert Comment

by:mark2150
ID: 1443899
If you need to wait for child process to complete use ExecCmd. Let me know & I'll post code if you need.

M

0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Introduction While answering a recent question about filtering a custom class collection, I realized that this could be accomplished with very little code by using the ScriptControl (SC) library.  This article will introduce you to the SC library a…
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.
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…
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…

679 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