Please help me how I can run the excel evaluate command in vb net.I use office xp (ms excel 10.0 object library)
Always the following message appears:
An unhandled exception of type System.Runtime.InteropServices.COMException
occurred in WindowsApplication3.exe
Additional information: Old format or invalid type library.
How could I fix that?
TU
Code:
Public Class Form1
....
Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
Dim EXL As New Excel.Application()
I want to evaluate Cos(20)
EXL.Evaluate("Cos(20)" )
End Sub
End Class
Always the following message appears:
An unhandled exception of type System.Runtime.InteropServices.COMException
occurred in WindowsApplication3.exe
Additional information: Old format or invalid type library.
How could I fix that?
TU