I currently upgraded a VB application to a VB.NET application with only a few modifications. One of the functions of the application is to create an Excel spreadsheet with the given values that were input on the users desktop. When i run the application on my end it works perfectly, but as soon as i install it on the users computer i cannot get the app to create/print the Excel file getting the error. (Exception from HRESULT: 0x800A03EC)... i am officially dumbfounded as to why this is occurring because i cannot seem to generate the error on my end.... i have downloaded the 2.0 .NET frameworks on all user machines and cannnot seem to find a resolution.... Any help would be great.
FYI... i already checked for previous EXCEL.EXE processes/images running on the machine.
Thanks in advance... the error details are pasted below.
************** Exception Text **************
System.Runtime.InteropServices.COMException (0x800A03EC): Exception from HRESULT: 0x800A03EC
at Excel._Worksheet.PrintOut(Object From, Object To, Object Copies, Object Preview, Object ActivePrinter, Object PrintToFile, Object Collate, Object PrToFileName)
at ExcelOutput.cExcelOutput.Print()
at TPNCalc.Pediatric.cmdOK_Click(Object sender, EventArgs e)
at System.Windows.Forms.Control.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnMouseUp(MouseEventAr gs mevent)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ButtonBase.WndProc(Message& m)
at System.Windows.Forms.Button.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.O nMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.W ndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)