Hi, I am new to
VB ,but have been learning for a few months now and trying to write my own little disk cleanup utility (for a client)
I have got most of the app done but having the following issues which I hope someone would be kind enough to assist with:-
1) Can clean out windows/temp folder okay, but when it finds a file locked by a process it crashes - I have found out how to use error handlers etc to control the error but how can I unlock(?) the files in use before I try to delete them
2) How can I clear cookes, history, temp internet files etc from within
vb? i have looked at my.computer.filesystem.specialdirectories.temp and also environment.specialfolders but cannot get it to work
Thanks for reading and in advance for any replies