Guys,
Pwede ba gumawa ng VB.Net application na mag restrict ng isang folder sa makapagsave dun ng .exe file? And pwede lang nya ma-accept na file ay ung .doc lang?
thanks. ^__^
Here's the solution to this problem
http://devpinoy.org/blogs/keithrull/archive/2009/02/25/how-to-blocking-restricting-certain-file-types-from-being-saved-to-a-directory-using-filesystemwatcher.aspx
It's written in C# but can easily be converted to VB.NET
HTH
Yes, You can use the FileSystemWatcher class to accomplish what you need
http://msdn.microsoft.com/en-us/library/system.io.filesystemwatcher.aspx
I'm writing a blog post on how to solve your problem right now. I'll post a link once I'm done ;)
Hi, the code you gave to me helps me a lot!
I did the task very easy!
thanks a lot keith! ^_^
Hi Jan,
I suggest you put the code in a windows service application so that it runs on the background without any user interference.
- Keith
yup, i already put the code there.. ^_^
anyways thanks again ketih.