How to call and .exe file using a procedure in clarion

clarionnet
Tags: #<Tag:0x00007f60be385100>

#1

I need to call a procedure for comparing a file when i click the option from menu…i developed file compare .exe which i need to call when i click compare files from menu list…can anyone help me with this.


#2

run() ? …


#3

Or use the Power Run template with lots of options:
http://www.berthume.com/powerrun.htm


#4

I use either RUN() or ShellExecute API for calling other executables. Unless your situation is more complex, RUN should do it and it will let you capture the return value of your compare.exe if you are setting an errorlevel on exit.