Quantcast
Channel: ClosedXML - The easy way to OpenXML
Viewing all articles
Browse latest Browse all 1877

Commented Unassigned: FileNotFoundException with sample code [9370]

$
0
0
As a VB.NET beginner I'm trying to just compile this [sample code](https://closedxml.codeplex.com/wikipage?title=Finding%20and%20extracting%20the%20data&referringTitle=Documentation) from the documentation section.

I created in Visual Studio a Console Application, referenced the ClosedXML and DocumentFormat.OpenXml dlls, converted the C#-code into VB and the compiler generated a "FileNotFoundException" error. But the missing file does exist in the specified path.

What can I do?
Sorry for bothering with a beginners concern






Comments: There might be a typo error which is not related to ClosedXML. The syntax of the file path is not correct. Try use a __OpenFileDialog__ to select the file, then display the the filename that captured by it. Then compare the file path value (captured by OpenFileDialog) with your specified file path value.

Viewing all articles
Browse latest Browse all 1877

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>