I make BAT file and I can open exe file by VB code, but I need run exe file after open it. if I can press Ctrl+S in exe file environment then exe file start to run. My exe file is a program in LINGO8 software. please give me your idea.
how can I run an exe file after open it in VB6?I make BAT file and I can open exe file by VB code, but I need run exe
Page 1 of 1
4 Replies - 4064 Views - Last Post: 22 June 2009 - 08:23 PM
Replies To: how can I run an exe file after open it in VB6?
#3
Re: how can I run an exe file after open it in VB6?
Posted 22 June 2009 - 04:42 AM
NoBrain, on 16 Jun, 2009 - 11:05 PM, said:
check this out
excample for how to run IExplorer:
excample for how to run IExplorer:
Shell "C:\Program Files\Internet Explorer\iexplore.exe "
I need send "Ctrl+S" to an open exe file
please send code if you have idea about that
#4
Re: how can I run an exe file after open it in VB6?
Posted 22 June 2009 - 05:25 AM
Sorry but we don't just give people the code whenever they feel like it. Could you please show us the code that you have so far, so we can help you and get a better understanding.
#5
Re: how can I run an exe file after open it in VB6?
Posted 22 June 2009 - 08:23 PM
firebolt, on 22 Jun, 2009 - 04:25 AM, said:
Sorry but we don't just give people the code whenever they feel like it. Could you please show us the code that you have so far, so we can help you and get a better understanding.
Shell("D:\BAT")
Activate("LINGO-LINGO model-LINGO1")
Sendkeys("^S")
I prepare a BAT file and put into as follow:
CALL D:\LINGO.lg4
after run this VB code I see Compile error "Sub of Function not defined"
Page 1 of 1
|
|

New Topic/Question
Reply




MultiQuote



|