bigracefan
Programmer
I'm writing my first com interface and I'm getting a "Catastrophic Failure" message when I try to invoke a method from the com object. Any help or direction would be greatly apprciated.
Code:
Imports SSICONNECTLib
Imports System.Reflection
Imports System.Runtime.InteropServices
Public Class Form1
Private Sub Form1_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
Dim SSICon As New SSICONNECTLib.SSIConnect
Try
SSICon.ComPortNumber = 1
Catch ex As Exception
MsgBox(ex.Message)
End Try
End Sub
End Class