I used this code in WIndows xp its work fine
System.IO.Directory.CreateDirectory(Application.StartupPath + "\\Errors\\");
but when i install my software to other machine(Windows 7) i got error access denied.
so i manually Create Directory (Errors) in StartupPath so its work fine
so how to resolve this problem i don't want to create directory manually.

New Topic/Question
Reply



MultiQuote








|