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
143 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

Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

Question has a verified solution.

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

Suggested Solutions

Introduction In a recent article (http://www.experts-exchange.com/A_7811-A-Better-Concatenate-Function.html) for the Excel community, I showed an improved version of the Excel Concatenate() function.  While writing that article I realized that no o…
If you have ever used Microsoft Word then you know that it has a good spell checker and it may have occurred to you that the ability to check spelling might be a nice piece of functionality to add to certain applications of yours. Well the code that…
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…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

816 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

8 Experts available now in Live!

Get 1:1 Help Now