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: Has to be an error in the path file. Try a one liner: Dim wb = XLWorkbook("path\to\file.xlsx")

Viewing all articles
Browse latest Browse all 1877

Trending Articles



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