home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / os / os2 / programm / 7972 < prev    next >
Encoding:
Internet Message Format  |  1993-01-24  |  1.2 KB

  1. Path: sparky!uunet!pmafire!news.dell.com!swrinde!sdd.hp.com!spool.mu.edu!caen!batcomputer!munnari.oz.au!bruce.cs.monash.edu.au!merlin!resmel.bhp.com.au!resmel.bhp.com.au!news
  2. Newsgroups: comp.os.os2.programmer
  3. Subject: re: How do you create a new Program Object on the WPS (with REXX)?
  4. Message-ID: <1993Jan25.091046.302@vulcan.resmel.bhp.com.au>
  5. From: paulg@a1.resmel.bhp.com.au (Paul Gallagher)
  6. Date: 25 Jan 93 09:10:45 +1000
  7. References: <1993Jan22.050018.14048@netcom.com>
  8. Nntp-Posting-Host: 134.18.1.52
  9. Lines: 21
  10.  
  11. In article <1993Jan22.050018.14048@netcom.com> jhesse@netcom.com (John Hesse) writes:
  12. >The objective is to have the user execute an "install" CMD or EXE file
  13. >that creates a Program Object for the user.
  14.  
  15. You may have seen the Paradox 4.0 install script, which uses
  16. SysCreateObject to make a WPS object
  17.  
  18. Hope they don't mind me posting a fragment of the script by:
  19. /* Rob Gordon  Borland International 6/8/92  */
  20.  
  21. title = "Paradox 4.0"
  22. classname = 'WPProgram'
  23. location = '<WP_DESKTOP>'
  24. setup = 'PROGTYPE=WINDOWEDVDM;EXENAME='pdoxpath'paradox.exe;
  25.   STARTUPDIR='pdoxpath';SET DPMI_DOS_API=ENABLED;
  26.   SET DPMI_MEMORY_LIMIT=4;ICONFILE 'pdoxpath'pdoxos2.ico;'
  27.  
  28. BldObj:
  29. call charout , 'Building : 'title
  30. result = SysCreateObject(classname, title, location, setup)
  31.  
  32.