Answer the question
In order to leave comments, you need to log in
Checking if the file is open?
My program is running in the background. When a specific file is opened, it hides it and displays a messagebox. Help implement. (c#)
Answer the question
In order to leave comments, you need to log in
Inter-process communication (IPC), sea mechanisms. Well, what a question, such an answer. Didn't you try to look from the outside and think, is it possible to understand something?
You can listen to whether the file is open like this: stackoverflow.com/a/21137389
Further, if you need to hide it, then, for example, you need to search for all open windows by title, for example: stackoverflow.com/a/7268375
Next, hide window, for example like this: www.go4expert.com/articles/hiding-windows-c-sharp-t973
But why?..
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question