Hi all,
When using the:
Code:
IO.Directory.CreateDirectory("C:\Temp")
To create the Temp directory, you can't add another line below accessing he directory because the IO.Directory.CreateDirectory hasn't released the resources!
Same with geting directory listings and stuff.
See when I search a removable medium for files and right after its done I want to safely remove my drive it can't because its still in use, so when i close my form down, then it will allow me to remove the device. This is because when my form is shutdown it releases all resources being used, so how do i do that in my program!
Cheers