Kill dtaskID from shell
Kill dtaskID from shell
(OP)
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
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





RE: Kill dtaskID from shell
Dan - Owner

http://www.Hi-TecDesigns.com
RE: Kill dtaskID from shell
Thanks for your time and consideration for the redirection.
Hopefully Tek-Tips.com would have an answer.
Regards,
Marc Dibi
RE: Kill dtaskID from shell
http://support.microsoft.com/kb/183009