Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to add an external file to the main menu
Message
From
11/04/2007 10:39:47
Jay Johengen
Altamahaw-Ossipee, North Carolina, United States
 
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 8 SP1
Miscellaneous
Thread ID:
01214372
Message ID:
01214423
Views:
13
Sweet! Thanks!

>Try this
>DECLARE INTEGER ShellExecute ;
>	IN SHELL32.dll ;
>	INTEGER nWinHandle, ;
>	STRING cOperation, ;
>	STRING cFileName, ;
>	STRING cParameters, ;
>	STRING cDirectory, ;
>	INTEGER nShowWindow
>
>DEFINE BAR 10 OF _msystem PROMPT "\-"
>DEFINE BAR 11 OF _msystem PROMPT "FPW 2.6a help"
>ON SELECTION BAR 11 OF _msystem ;
>	ShellExecute(0, "Open", "h:\FPW26a\FoxHelp.hlp", "", "", 1)
>
>
>>It ran it in a DOS window and immediately closed, but I think we're really close.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform