Andy Lacey
andy at minstersystems.co.uk
Tue Feb 22 09:16:27 CST 2005
Hiya mate, how ya doing? Still gainfully employed I see. Good news. Not sure if your problem's specific to the web or just reading a text file in. I don't know how to do the former, but if you have a file location and just want to read in text then something like this will do it: Dim strData As String Dim strFileLocationAndName as String strFileLocationAndName = whatever Open strFileLocationAndName For Input As #1 Line Input #1, strData Close #1 Cheers SYWWE -- Andy Lacey http://www.minstersystems.co.uk --------- Original Message -------- From: Access Developers discussion and problem solving <accessd at databaseadvisors.com> To: 'Access Developers discussion and problem solving' <accessd at databaseadvisors.com> Subject: [AccessD] Read contents of Text File form Web Site Date: 22/02/05 14:50 > > Hi Team > If I store a very very small text file on my website and have only -1 or 0 > As the characters or text in that text file at any Time. eg Monday the text > file may say -1 Tuesday the text file may say 0 > (the text file will never have any more than 2 characters in it. -1 or 0) > > What code do I need to read that text file from the website and return the > Contents of the text file to my dB? Ie the -1 or the Zero? > > Many thanks in advance > > Darren > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > > > ________________________________________________ Message sent using UebiMiau 2.7.2