1
Answer

why i got this exception

Madhu Patel

Madhu Patel

1y
48
1

SYSTEM.NULLEXCEPTION.

Answers (1)
1
Amit Gupta

Amit Gupta

NA 16.5k 25.6k 7y
You can use FileSystemWatcher class to monitor files and whenever their is any change in the directory/file you can do your stuff there. This will work without any click event.
0
Raja T

Raja T

NA 7.4k 6k 7y
Hi mohammed, you can use WindowsService Application. Please refer below links
 
http://www.c-sharpcorner.com/UploadFile/naresh.avari/develop-and-install-a-windows-service-in-C-Sharp/
 
http://www.c-sharpcorner.com/UploadFile/8a67c0/create-and-install-windows-service-step-by-step-in-C-Sharp/