Click here to Skip to main content
15,916,019 members
Home / Discussions / C#
   

C#

 
GeneralRe: Reading Text file Pin
LiamD27-Jun-05 2:05
LiamD27-Jun-05 2:05 
GeneralRe: Reading Text file Pin
mav.northwind27-Jun-05 2:33
mav.northwind27-Jun-05 2:33 
GeneralRe: Reading Text file Pin
Anthony Baraff27-Jun-05 7:37
Anthony Baraff27-Jun-05 7:37 
GeneralRe: Reading Text file Pin
LiamD27-Jun-05 21:19
LiamD27-Jun-05 21:19 
QuestionHow to send a E mail using C#? Pin
pubududilena26-Jun-05 22:56
pubududilena26-Jun-05 22:56 
AnswerRe: How to send a E mail using C#? Pin
mav.northwind26-Jun-05 23:29
mav.northwind26-Jun-05 23:29 
Generalfile open check Pin
syseca_challenge26-Jun-05 22:25
syseca_challenge26-Jun-05 22:25 
GeneralRe: file open check Pin
mav.northwind26-Jun-05 22:53
mav.northwind26-Jun-05 22:53 
Hi!

There's no general "data from this file still in use" flag.
As long as a file has been opened by an application, Windows will know that the file is open, but usually an application will close the file as soon as it's been read. While you're working with the data, the file is closed, so there's no general way to know when you've finished manipulating the data.

Each application has to decide for itself if and how to maintain file locks.

For Office documents there might be properties to find out the user who has opened a document recently, but I'm not sure.
For other documents each application will most likely behave differently.

Regards,
mav
GeneralRe: file open check Pin
V.27-Jun-05 0:46
professionalV.27-Jun-05 0:46 
GeneralRe: file open check Pin
mav.northwind27-Jun-05 1:03
mav.northwind27-Jun-05 1:03 
GeneralRe: file open check Pin
syseca_challenge27-Jun-05 1:31
syseca_challenge27-Jun-05 1:31 
GeneralRe: file open check Pin
V.27-Jun-05 1:33
professionalV.27-Jun-05 1:33 
GeneralRe: file open check Pin
mav.northwind27-Jun-05 1:51
mav.northwind27-Jun-05 1:51 
GeneralRe: file open check Pin
syseca_challenge27-Jun-05 1:55
syseca_challenge27-Jun-05 1:55 
GeneralRe: file open check Pin
mav.northwind27-Jun-05 1:56
mav.northwind27-Jun-05 1:56 
GeneralRe: file open check Pin
syseca_challenge27-Jun-05 2:40
syseca_challenge27-Jun-05 2:40 
General.net 2005 importing!!!! Pin
innocent7326-Jun-05 20:49
innocent7326-Jun-05 20:49 
GeneralRe: .net 2005 importing!!!! Pin
Dave Kreskowiak27-Jun-05 9:24
mveDave Kreskowiak27-Jun-05 9:24 
GeneralCalling C# from Managed C++ Pin
wdli26-Jun-05 19:25
wdli26-Jun-05 19:25 
GeneralRe: Calling C# from Managed C++ Pin
Fahaad Yogalivia26-Jun-05 20:58
sussFahaad Yogalivia26-Jun-05 20:58 
GeneralRe: Calling C# from Managed C++ Pin
mav.northwind27-Jun-05 2:48
mav.northwind27-Jun-05 2:48 
GeneralRe: Calling C# from Managed C++ Pin
wdli27-Jun-05 8:30
wdli27-Jun-05 8:30 
Generalcompile a C# class file from a procees in code Pin
dilsudharaka26-Jun-05 18:27
dilsudharaka26-Jun-05 18:27 
GeneralRe: compile a C# class file from a procees in code Pin
Christian Graus26-Jun-05 18:36
protectorChristian Graus26-Jun-05 18:36 
GeneralRe: compile a C# class file from a procees in code Pin
S. Senthil Kumar26-Jun-05 19:19
S. Senthil Kumar26-Jun-05 19:19 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.