Title: | LinkWorks V3.0 Notes Conference |
Notice: | LNX_APO = APO issues, LINKWORKS_V3 = V3.0 issues |
Moderator: | tacklr.apd.dec.com::TACK_L m::TACK_L |
Created: | Tue Jun 28 1994 |
Last Modified: | Fri Jun 06 1997 |
Last Successful Update: | Fri Jun 06 1997 |
Number of topics: | 2269 |
Total number of notes: | 8338 |
Hi All, How is it possible to execute a V.Basic program streight from a pull down menu option ? ie: execute something that is not a LNX action. How can we do it ? Thank you very much for all your help. Best Regards Ana
T.R | Title | User | Personal Name | Date | Lines |
---|---|---|---|---|---|
2091.1 | IJSAPL::MONNINK_H | Fri Jan 24 1997 20:37 | 23 | ||
This can be done by doing the following: Add a method to the class Object (in the workbench) : SWC:CallVBProgram() { extern() for WSTYPE_OTHER=MEXT_COMMANDLINE("executable name"); } Make this method Public and specify that it can be used in menus make sure you fill in the desciption, since this is the only field that will make the method selectable for a menu item. Reload Configuration Manager Create a new menuItem and select the action descibed above. Commit changes logout/login Han |