home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / os / os2 / programm / 6510 < prev    next >
Encoding:
Internet Message Format  |  1992-11-17  |  1.2 KB

  1. Path: sparky!uunet!pmafire!mica.inel.gov!ux1!news.byu.edu!eff!sol.ctr.columbia.edu!zaphod.mps.ohio-state.edu!darwin.sura.net!gatekeeper.es.dupont.com!pocis.ponca.dupont.com!fieldls.ponca.dupont.com!fieldls
  2. Newsgroups: comp.os.os2.programmer
  3. Subject: Re: Rexx call for deleting WPS objects
  4. Message-ID: <921117085535@fieldls.ponca.dupont.com>
  5. From: fieldls@ponews.ponca.dupont.com  (Lee S. Fields)
  6. Date: Tue, 17 Nov 1992 08:55:35
  7. References: <Bxv21o.B3p@lincoln.technet.sg>
  8. Nntp-Posting-Host: fieldls.ponca.dupont.com
  9. NNTP-Software: PC/TCP NNTPLines: 19
  10. Lines: 19
  11.  
  12. In article <Bxv21o.B3p@lincoln.technet.sg> nbl@solomon.technet.sg (Ng Beng Lim) writes:
  13.  
  14.  >> I am trying to write Rexx programs to automatically create folders
  15.  >> and objects on the desktop.  Before I do that, I would like to delete
  16.  >> the old object first.  
  17.  >> 
  18.  >> Does anyone know if there is any call to do this?  I can only
  19.  >> find the routine to create objects, but not one to delete objects.
  20.  >> 
  21.  >> Hope someone can HELP!!!!!!!!!!!!!!!!!!!!!
  22.  >> 
  23.  
  24. You can use SysDestroyObject to explicitly delete the object before
  25. calling SysCreateObject.  To do this in a single call, use
  26. SysCreateObject with the ReplaceIfExists flag.
  27.  
  28. Lee
  29.  
  30.  
  31.