Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

API .net ACCPAC

Status
Not open for further replies.

shayd

Programmer
Dec 12, 2013
31
SA
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
 
Accpac has to be installed on the server, and you can't use IP addresses.
 
please how i can solve this issue any idea or useful links ?????? like sdata web application???
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top