Runtime error is '-2147023170 (800706be)'. My application was installed using the free version of Advanced Installer 6.1, using simple install option.
Another application installed with an earlier version of AI free (simple install option) will open the same Excel spreadsheet that fails in my new application.
I am running Windows Vista Home Premium, with Office Pro 2007 installed. Both applications spoken of above are written in VB6. Here is the code that is failing:
On Error GoTo ErrorReporting
Dim ssC As Long, ssR As Long
Dim oApp, mrApp As Excel.Application
Dim wb, mrwb As Excel.Workbook
Dim ws, mrws As Excel.Worksheet
rtn = "Spreadsheet: set oApp = New Excel.Application"
Set oApp = New Excel.Application
Set wb = oApp.Workbooks.Open(rawdataSS)
The failure happens on the final line above. The application works when running it under the visual basic compiler (using F5) to compile and execute.
Any ideas?
Thanks,
Rich
FOLLOW US
Get the latest news in Application Packaging