Running a program using the EventDbClick cell

P

PilotPete

I am trying to run a program; (specifically Hyperterminal); when I
double-click a shape by editing the shape's 'EventDbClick' cell using the
formula =RUNADDON("documents.open ""C:\Documents and
Settings\administrator\Start
Menu\Programs\Accessories\Communications\HyperTerminal\Direct to COM1.ht""")
but nothing happens. I can get it to open a website by using the formula
=GOTOPAGE("http://www.microsoft.com/").

Am I using the correct syntax or is it not possible to run a program by
editing the shape's 'EventDbClick' cell
 
P

Paul Herber

I am trying to run a program; (specifically Hyperterminal); when I
double-click a shape by editing the shape's 'EventDbClick' cell using the
formula =RUNADDON("documents.open ""C:\Documents and
Settings\administrator\Start
Menu\Programs\Accessories\Communications\HyperTerminal\Direct to COM1.ht""")
but nothing happens. I can get it to open a website by using the formula
=GOTOPAGE("http://www.microsoft.com/").

Am I using the correct syntax or is it not possible to run a program by
editing the shape's 'EventDbClick' cell

I think you need RUNADDONWARGS
Your "documents.open" doesn't look right, looks more like javascript.
Set the first address to the address of the exe file
C:\Program Files\Windows NT\hypertrm.exe
and set the parameter to your .ht file
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top