hi all,
i write a windows application system that create transfer transaction in the IC Module and its work fine the issue i faced when i connected my application on static ip for server its give error on opening session note that the code open session on local network .
please any idea may help me ???
Public Function Session_Open() As Boolean
Try
Session = New AccpacCOMAPI.AccpacSession
'Session.Init("", "CS", "CS0000", "56A")
Session.Init("", "CS", "CS0000", "56A")
Session.Open("ADMIN", "ADMIN", "LIVED", DateTime.Today, 0, "")
Catch ex As Exception
Return False
MessageBox.Show("Error While Opeining ACCPAC Session" + " " + ex.Message)
End Try
Return True
End Function
i write a windows application system that create transfer transaction in the IC Module and its work fine the issue i faced when i connected my application on static ip for server its give error on opening session note that the code open session on local network .
please any idea may help me ???
Public Function Session_Open() As Boolean
Try
Session = New AccpacCOMAPI.AccpacSession
'Session.Init("", "CS", "CS0000", "56A")
Session.Init("", "CS", "CS0000", "56A")
Session.Open("ADMIN", "ADMIN", "LIVED", DateTime.Today, 0, "")
Catch ex As Exception
Return False
MessageBox.Show("Error While Opeining ACCPAC Session" + " " + ex.Message)
End Try
Return True
End Function