Home All Groups Group Topic Archive Search About

reading a file in use

Author
17 Apr 2006 12:38 PM
R. Harris
Is there a way to read a text file that is in use by another application ?

Author
17 Apr 2006 2:38 PM
OHM ( One Handed Man )
If the other opener has opened this file in deny others, then you cant read
it.

--
( OHM ) - One Handed Man
AKA Terry Burns - http://TrainingOn.net

Show quoteHide quote
"R. Harris" <rob_b_har***@hotmail.com> wrote in message
news:OLNl0thYGHA.4248@TK2MSFTNGP05.phx.gbl...
> Is there a way to read a text file that is in use by another application ?
>
Author
17 Apr 2006 6:28 PM
R. Harris
Then would it be possible to have your program copy the file in use and
rename it for the sake of reading it?


Show quoteHide quote
"OHM ( One Handed Man )" <m*@mine.com> wrote in message
news:%23vYQlyiYGHA.4060@TK2MSFTNGP02.phx.gbl...
> If the other opener has opened this file in deny others, then you cant
> read it.
>
> --
> ( OHM ) - One Handed Man
> AKA Terry Burns - http://TrainingOn.net
>
> "R. Harris" <rob_b_har***@hotmail.com> wrote in message
> news:OLNl0thYGHA.4248@TK2MSFTNGP05.phx.gbl...
>> Is there a way to read a text file that is in use by another application
>> ?
>>
>
>
Author
17 Apr 2006 6:42 PM
Jeff Dillon
yes, have you tried it?

Show quoteHide quote
"R. Harris" <rob_b_har***@hotmail.com> wrote in message
news:%23LyxZxkYGHA.3328@TK2MSFTNGP02.phx.gbl...
> Then would it be possible to have your program copy the file in use and
> rename it for the sake of reading it?
>
>
> "OHM ( One Handed Man )" <m*@mine.com> wrote in message
> news:%23vYQlyiYGHA.4060@TK2MSFTNGP02.phx.gbl...
>> If the other opener has opened this file in deny others, then you cant
>> read it.
>>
>> --
>> ( OHM ) - One Handed Man
>> AKA Terry Burns - http://TrainingOn.net
>>
>> "R. Harris" <rob_b_har***@hotmail.com> wrote in message
>> news:OLNl0thYGHA.4248@TK2MSFTNGP05.phx.gbl...
>>> Is there a way to read a text file that is in use by another application
>>> ?
>>>
>>
>>
>
>
Author
17 Apr 2006 6:32 PM
Herfried K. Wagner [MVP]
"R. Harris" <rob_b_har***@hotmail.com> schrieb:
> Is there a way to read a text file that is in use by another application ?

See:

<URL:http://groups.google.de/group/microsoft.public.dotnet.languages.vb/msg/29afe486dab2bbe3>

--
M S   Herfried K. Wagner
M V P  <URL:http://dotnet.mvps.org/>
V B   <URL:http://classicvb.org/petition/>