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
141 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
Comment Utility
The easiest way :

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

Expert Comment

by:mark2150
Comment Utility
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

Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

Join & Write a Comment

When designing a form there are several BorderStyles to choose from, all of which can be classified as either 'Fixed' or 'Sizable' and I'd guess that 'Fixed Single' or one of the other fixed types is the most popular choice. I assume it's the most p…
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…
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 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…

743 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