Thanks to all that responded to my message. I had no sooner
posted the
message than I found the Kill command. Thanks again to all,
Mike Buraczewski
Emilia Maxim <emilia EMILIA-MAXIM.DE>
Sent by: Microsoft Access Database Discussion List
<ACCESS-L PEACH.EASE.LSOFT.COM>
08/24/2006 12:22 PM
Please respond to
Emilia Maxim <emilia EMILIA-MAXIM.DE>
To
ACCESS-L PEACH.EASE.LSOFT.COM
cc
Subject
Re: Delete a file in a folder
Mike,
> I have a form that populates a listbox with of the
files in a folder
> that
> meet certain criteria [in this case all are MS Word
files]. I have a
> button that opens the selected file when it is pressed.
What I need is
> a button that will delete the selected file when
pressed.
> Has anyone got a suggestion or some code that I could
use / modify to
> delete a file in a folder?
Take a look to the Kill command in the Access help.
Regards
Emilia, TWIG
Emilia Maxim
PC-SoftwareService
Stuttgart, Germany
-----------------------------------------
CONFIDENTIALITY NOTICE: This electronic message contains
information which may be legally confidential and/or
privileged and
does not in any case represent a firm ENERGY COMMODITY bid
or offer
relating thereto which binds the sender without an
additional
express written confirmation to that effect. The
information is
intended solely for the individual or entity named above and
access
by anyone else is unauthorized. If you are not the intended
recipient, any disclosure, copying, distribution, or use of
the
contents of this information is prohibited and may be
unlawful. If
you have received this electronic transmission in error,
please
reply immediately to the sender that you have received the
message
in error, and delete it. Thank you.
------------------------------------------------------------
--------------
The ACCESS-L list is hosted on a Windows(R) 2000 Server
running L-Soft
international's LISTSERV(R) software. For
subscription/signoff info
and archives, see ht
tp://peach.ease.lsoft.com/archives/access-l.html .
COPYRIGHT INFO:
http://peach.ease.lsoft.com/scripts/w
a.exe?SHOWTPL=COPYRIGHT&L=ACCESS-L
|