T
Tomek
Hi,
My next question is about excel instance in VB.NET
I have following code:
Dim oXL As Excel.Application
Dim oWB As Excel.Workbook
Dim oSheet As Excel.Worksheet
Dim oRng As Excel.Range
oXL = CreateObject("Excel.Application")
oWB = oXL.Workbooks.Add
I have following code on form top:
Imports Microsoft.Office.Core
And I've receive following error:
An unhandled exception of type 'System.Runtime.InteropServices.COMException' occurred in TestOnly.exe
Additional information: Old format or invalid type library.
This error appear in every line where I try to use oXL object.
I have installed excel 2000 and excell XP.
Any ideas?
Tomek
My next question is about excel instance in VB.NET
I have following code:
Dim oXL As Excel.Application
Dim oWB As Excel.Workbook
Dim oSheet As Excel.Worksheet
Dim oRng As Excel.Range
oXL = CreateObject("Excel.Application")
oWB = oXL.Workbooks.Add
I have following code on form top:
Imports Microsoft.Office.Core
And I've receive following error:
An unhandled exception of type 'System.Runtime.InteropServices.COMException' occurred in TestOnly.exe
Additional information: Old format or invalid type library.
This error appear in every line where I try to use oXL object.
I have installed excel 2000 and excell XP.
Any ideas?
Tomek