Hello,
I've added a Field Edit Control to a VB.NET Form. When I run the app the FEC doesn't appear visible on the form. I've set the DataSourceName on the FEC and run the following code;
Private Sub Form1_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles MyBase.Load
Dim Session = New AccpacCOMAPI.AccpacSession
Dim Signon = New AccpacSignonManager.AccpacSignonMgr
Dim SessionID As Object
Try
Session.Init("", "CS", "CS0001", "53A")
SessionID = Signon.Signon(Session)
If Session.IsOpened Then
dsItem.Session = Session
dsItem.Active = True
Else
MsgBox("Failed To Open Accpac Session")
End If
Catch ex As Exception
Dim strErr As String
MsgBox(ex.Message)
End Try
End Sub
I've added a Field Edit Control to a VB.NET Form. When I run the app the FEC doesn't appear visible on the form. I've set the DataSourceName on the FEC and run the following code;
Private Sub Form1_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles MyBase.Load
Dim Session = New AccpacCOMAPI.AccpacSession
Dim Signon = New AccpacSignonManager.AccpacSignonMgr
Dim SessionID As Object
Try
Session.Init("", "CS", "CS0001", "53A")
SessionID = Signon.Signon(Session)
If Session.IsOpened Then
dsItem.Session = Session
dsItem.Active = True
Else
MsgBox("Failed To Open Accpac Session")
End If
Catch ex As Exception
Dim strErr As String
MsgBox(ex.Message)
End Try
End Sub