Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations waross on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Kill dtaskID from shell

Status
Not open for further replies.

marcdibi

Electrical
Mar 17, 2008
2
0
0
US
I have extensive crystal filter design software under Excel/VB6 that I am linking to Eagleware for analysis. I am able to toggle between the design software and Eagleware.
This is where I need help . . .how do I check if dTaskID already exists (if YES kill it --> close the Eagleware application) before executing the shell command? Below is the sample of my code:

Dim dTaskID As Double, path As String
path = "C:\Program Files\GENESYS2008.01\Bin\Genesys.exe"
FileName2 = Sheet7.Cells(1, 12).Text
' Execute Filename2 Using Path
dTaskID = Shell(path + " " + FileName2, vbNormalFocus)

Regards,
Marc Dibi
 
Replies continue below

Recommended for you

This question is better answered at Tek-Tips.com

Dan - Owner
Footwell%20Animation%20Tiny.gif
 
Dan,

Thanks for your time and consideration for the redirection.
Hopefully Tek-Tips.com would have an answer.

Regards,
Marc Dibi
 
Status
Not open for further replies.
Back
Top