Max Wanadoo
max.wanadoo at gmail.com
Mon Mar 23 02:35:41 CDT 2009
No. It is Just William http://www.google.co.uk/search?hl=en-GB&q=Hubert+Laneites&sourceid=navclient -ff&rlz=1B3GGGL_en-GBGB314GB314&ie=UTF-8 William is the leader of the Outlaws. Max -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: 23 March 2009 02:43 To: Access Developers discussion and problem solving Subject: Re: [AccessD] Kill Text or is the it the work of the Hubert Laneites? :-) On 22 Mar 2009 at 23:08, Max Wanadoo wrote: > That works for me Stu and is the sort of code I would have written being > oblivious of the applicaiton.filesearch (which also worked ok on both our > systems). > > I guess it is "Just William" > > Max > > > On 3/22/09, Stuart McLachlan <stuart at lexacorp.com.pg> wrote: > > > > Yes it does. Try this > > > > Function KillTxt() > > Dim strDirName As String > > Dim strFiName As String > > strDirName = "C:\Program Files\EMSReports\Imports\" > > strFiName = Dir$(strDirName & "*.txt") > > Do While strFiName > "" > > Kill strDirName & strFiName > > strFiName = Dir$() > > Loop > > End Function > > > > -- > > > > Stuart > > > > > > On 22 Mar 2009 at 18:42, William Hindman wrote: > > > > > Stu > > > > > > ...afaik that approach doesn't let me kill just txt files in the > > directory > > > which is a must. > > > ...if you know different, I'm all ears. > > > > > > William > > > > > > -------------------------------------------------- > > > From: "Stuart McLachlan" <stuart at lexacorp.com.pg> > > > Sent: Sunday, March 22, 2009 6:26 PM > > > To: "Access Developers discussion and problem solving" > > > <accessd at databaseadvisors.com> > > > Subject: Re: [AccessD] Kill Text > > > > > > > <AOL> > > > > Me too. > > > > </AOL> > > > > > > > > On 22 Mar 2009 at 22:21, Max Wanadoo wrote: > > > > > > > >> ps. I would just use the common old dir() and kill statement. I have > > > >> never > > > >> know there was an application.filesearch - sommat new every day! > > > > > > > > -- > > > > AccessD mailing list > > > > AccessD at databaseadvisors.com > > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > > Website: http://www.databaseadvisors.com > > > > > > > > > > -- > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com