Hyperlink to exe file

hsilveira
hsilveira Member Posts: 23
Hi all,

Anyone know if i can make a hyperlink to exe file? I can make to doc, xls and others but when i try to make to exe, navision say:

C/SIDE Hyperlinking failed...

Do you want to place that hyperlink target on the clipboard?

Thanks for your help...

XMAN

Comments

  • garak
    garak Member Posts: 3,263
    Dont use hyperlink.
    Use shell oder WSHShell.

    For Shell

    Shell('C:\Windows\notepad.exe'); <- Starts the notepad.exe
    Shell('C:\Windows\notepad.exe','C:\myfile.txt'); <- Starts the notepad.exe with myfile.txt

    WindowsDir := environ('WINDIR'); <- get the globel Systemvariable where Windows is installed
    Shell(WindowsDir + '\notepad.exe'); <- Starts the notepad.exe

    Or use WSHShell.

    Regards
    Do you make it right, it works too!