New error in c# code plz help
but now a new exception has arised
error:"not a valid file name"
But the path and file name are given correctly.
Do u think there is a prob with my visual studio??
2 Answers
Know the answer? Post it. Somebody with the same question will find it here.

Subramanyam RompicherlaRank #4,887 · 320 reputationPosted Jun 25, 2009, 8:29 PM EDT
if you are using windows forms please check with below code
fullPath2 = Path . GetDirectoryName ( openFileDialog1 . FileName );
if not working please post your code, VS don't have this type of problems
lalitha11 reputationPosted Jun 26, 2009, 9:49 AM EDT