Hi guys
I want to be able to run an executable file with arguments from PB application.
I am doing on this way.(Command buton ok script)
CODE
all_actions = "C:\Documents and Settings\dmazzini\Desktop\
POWER-BUIL
DER-V11-WO
RK-SPACE\P
B PROGRAMS\GUIPB\receiving_a
rg_from_pb
.exe" + ' ' + string( flag_dcn) + '| ' + string(flag_coco) + '|' + string(action) + '|' + string( option)+ '|' +string(dropdown_value) + '|' +string( dropdown_country) + '|' + string( trs_xlsfile)
run (all_actions)
Code above works perfect.
Now I would like to insert this executable file (receiving_arg_from_pb.exe
) within the PB.exe application.
So, instead call an executable file located in one directory, I want to have it built into the PB exe file.
Somthing like an OLE.
So, using ole_1.Activate() function, works, it triggers executable file, but I dont know how to activate an OLE passing arguments to it.
Any ideas?
Start Free Trial