home *** CD-ROM | disk | FTP | other *** search
/ The Datafile PD-CD 4 / DATAFILE_PDCD4.iso / utilities / utilsd / evntshell / Demos / !OLE / !Run < prev    next >
Encoding:
Text File  |  1995-10-21  |  935 b   |  23 lines

  1. | !Run Obey file for OLE Application
  2. Set OLE$Dir <Obey$Dir>
  3. Set OLE$BasicFile <Obey$Dir>.!OLE
  4. IF "<EvntShell$Path>"="" THEN ERROR 0 Shell resources not found
  5. |Change the next line if you are using a different
  6. |filetype number
  7. |Set Alias$@RunType_200 Run <Obey$Dir>.!Run %%*0
  8. IconSprites <Obey$Dir>.!Sprites
  9. |Set Dummy$Path <Run$Path>,<Obey$Dir>.Resources.
  10. |Run Dummy:ResFind OLE
  11. |Unset Dummy$Path
  12. WimpSlot -min 256K -max 256K
  13. |Load any modules required now
  14. RMEnsure InterfaceManager 2.00 RMLoad <EvntShell$Path>Interface
  15. RMEnsure InterfaceManager 2.00 Error Couldn't load Interface module
  16. RMEnsure MenuUtils 0.11 RMLoad <EvntShell$Path>MenuUtils
  17. RMEnsure MenuUtils 0.11 Error 0 Error Couldn't load MenuUtils Module
  18. RMEnsure MessageTrans 0.06 RMLoad <EvntShell$Path>MsgTrans
  19. RMEnsure MessageTrans 0.06 Error Couldn't load MsgTrans Module
  20. |And check that there is still enough memory!
  21. WimpSlot -min 256K -max 256K
  22. Run <OLE$Dir>.!OLE %*0
  23.