ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   FileNotFoundException (https://www.excelbanter.com/excel-programming/334971-filenotfoundexception.html)

vn

FileNotFoundException
 
Hi all,
I just setup ASP.net and VS. The following code compiles fine, but when
executed, I get a System.IO.FileNotFoundException at the first line when it
attempts to instantiate the Application object. Any ideas why it's not
working? Is there a directory somewhere that I need to change permission
settings, if the code is trying to create a file? Any help is appreciated,
thanks!

Dim xApp As New Microsoft.Office.Interop.Excel.Application
Dim xWB As Microsoft.Office.Interop.Excel.Workbook
Dim xWS As Microsoft.Office.Interop.Excel.Worksheet



All times are GMT +1. The time now is 03:28 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com