View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
vn vn is offline
external usenet poster
 
Posts: 1
Default 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