Hi people
I am looking for solution to the following problem
we are trying to integrate into Accpac Advantage series
version 5.2A with VB.Net
We had everything working under 5.1 but it seems that there
is a problem with new api.
The code crashed in this section:
Try
'open the accpac session
accPacSession.Init("", "CS", "CS0001", "52A")
'Test
accPacSession.Open("CONTRB", "CONTRB", "SAMDAT", Date.Now, 0, "")
dbLink = accPacSession.OpenDBLink(AccpacCOMAPI.tagDBLinkTypeEnum.DBLINK_COMPANY, AccpacCOMAPI.tagDBLinkFlagsEnum.DBLINK_FLG_READWRITE)
Catch ex As Exception
MessageBox.Show(ex.ToString)
End Try
The line that causes the crash is the "accpacsession.open"
The exception message says could not open session. if I change the user and password it say wrong id and password
so I am getting to accpac but it does not want to open a
session.
Please help
I am looking for solution to the following problem
we are trying to integrate into Accpac Advantage series
version 5.2A with VB.Net
We had everything working under 5.1 but it seems that there
is a problem with new api.
The code crashed in this section:
Try
'open the accpac session
accPacSession.Init("", "CS", "CS0001", "52A")
'Test
accPacSession.Open("CONTRB", "CONTRB", "SAMDAT", Date.Now, 0, "")
dbLink = accPacSession.OpenDBLink(AccpacCOMAPI.tagDBLinkTypeEnum.DBLINK_COMPANY, AccpacCOMAPI.tagDBLinkFlagsEnum.DBLINK_FLG_READWRITE)
Catch ex As Exception
MessageBox.Show(ex.ToString)
End Try
The line that causes the crash is the "accpacsession.open"
The exception message says could not open session. if I change the user and password it say wrong id and password
so I am getting to accpac but it does not want to open a
session.
Please help