Re: unhandled IOException
I guess your using System..IO.DirectoryInfo. I would first interrogate the
exception thrown to my catch statement and I would also enable as much
logging as possible and see if the windows event log has anything of value
I have not had any problem reading folder contends in Vista so it may have
something to do with the user account VS is running under..If you are
binding to the treeveiw maybe you could try it first just storing to a
FileInfo collection to see if the problem occurs when binding.
"Hegde G G" <email@example.com> wrote in message
> I have a small test appllication that connects to network share and
> get the file and folders and display it in a treeview.
> This application works fine on Windows XP, when I run it on Vista I get
> the error This application has stopped working.
> If run from VS2005 in debug mode it would give "IOException was
> unhandled" "An Unexpected Network error occured" which I am not able to
> figure out which location it is throwing.
> New to VS2005 and .Net could anybody help me out.
> thanks in advance,