1. RE: Help needed to run programs from within EU program

Hi,
Try either:
-------------------------
integer return_code

return_code = system_exec(runfile, 2) -- instead of system(runfile, 2)
-------------------------

or

--------------
runfile = "start " & thisdir & Progdata[Path]
         --instead of runfile = thisdir & Progdata[Path]
--------------

system() needs a command (like start, copy, delete, etc.)
system_exec() only runs .exe and .com (and maybe .bat, anybody know for 
sure?)

-=Cassidy=-

Tony Steward wrote:
> Hi All,
> I am attempting to write a simple Autoexecute menu for my CDR's. The 
> link 
> below will allow you to download it, to save on the lists traffic.
> 
> My problem id the program named runme.exw I can not get it to run my 
> programs.
> I think I have done something wrong with the system command. 
> 
> I won't go into detail here but it is a short simple program and should 
> be 
> self explanatory. Would some one please have a quick look for me.
> 
> http://members.aol.com/lockmaster67/Downloads/menu.zip
> 
> thanks
> Tony
> 
>

new topic     » topic index » view message » categorize

2. RE: Help needed to run programs from within EU program

G'day all,
Thanks I worked out that I could use win32lib's shellExecute() to run 
programs.

My Next problem is that if a linked file in the menu is a txt file or 
pdf file, how can I run these with the associated program on a users 
computer, given I won't know what is on a users compter.

Thanks
Tony



Tony Steward wrote:
> Hi All,
> I am attempting to write a simple Autoexecute menu for my CDR's. The 
> link 
> below will allow you to download it, to save on the lists traffic.
> 
> My problem id the program named runme.exw I can not get it to run my 
> programs.
> I think I have done something wrong with the system command. 
> 
> I won't go into detail here but it is a short simple program and should 
> be 
> self explanatory. Would some one please have a quick look for me.
> 
> http://members.aol.com/lockmaster67/Downloads/menu.zip
> 
> thanks
> Tony
> 
>

new topic     » goto parent     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu