RE: Erase content of a file
From: Gaurav - http://www.gauravcreations.com (gauravcreations_at_hotmail.com)
Date: 09/23/04
- Next message: jon stav: "Re: Error 461 Migrating from Win2k to WinXP"
- Previous message: Larry Serflaten: "Re: Erase content of a file"
- In reply to: Dave: "Erase content of a file"
- Next in thread: Dave: "Re: Erase content of a file"
- Reply: Dave: "Re: Erase content of a file"
- Messages sorted by: [ date ] [ thread ]
Date: Thu, 23 Sep 2004 02:21:03 -0700
you can do it the following way
Open "c:\test\yourlog.log" For Output As #1
Close #1
-- Gaurav Creations "Dave" wrote: > How can I erase the content of a file in VB6? > > > I have a tool that creates a logfile on ta path with only create,read & write rights (NO delete rights) > > If i run the tool a second time it should erase the content of the logfile first instead of deleteing the file. > > > >
- Next message: jon stav: "Re: Error 461 Migrating from Win2k to WinXP"
- Previous message: Larry Serflaten: "Re: Erase content of a file"
- In reply to: Dave: "Erase content of a file"
- Next in thread: Dave: "Re: Erase content of a file"
- Reply: Dave: "Re: Erase content of a file"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|