home *** CD-ROM | disk | FTP | other *** search
- 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
- Newsgroups: comp.os.os2.programmer
- Subject: Re: Rexx call for deleting WPS objects
- Message-ID: <921117085535@fieldls.ponca.dupont.com>
- From: fieldls@ponews.ponca.dupont.com (Lee S. Fields)
- Date: Tue, 17 Nov 1992 08:55:35
- References: <Bxv21o.B3p@lincoln.technet.sg>
- Nntp-Posting-Host: fieldls.ponca.dupont.com
- NNTP-Software: PC/TCP NNTPLines: 19
- Lines: 19
-
- In article <Bxv21o.B3p@lincoln.technet.sg> nbl@solomon.technet.sg (Ng Beng Lim) writes:
-
- >> I am trying to write Rexx programs to automatically create folders
- >> and objects on the desktop. Before I do that, I would like to delete
- >> the old object first.
- >>
- >> Does anyone know if there is any call to do this? I can only
- >> find the routine to create objects, but not one to delete objects.
- >>
- >> Hope someone can HELP!!!!!!!!!!!!!!!!!!!!!
- >>
-
- You can use SysDestroyObject to explicitly delete the object before
- calling SysCreateObject. To do this in a single call, use
- SysCreateObject with the ReplaceIfExists flag.
-
- Lee
-
-
-