pitfloner
12th September 2005, 17:36
In order to activate a project (tipcs2102m000), Ive developed a VB application that calls a dll created by ttstpcreatdll.
First of all, Ive checked the functionality of the dll by a new session and its worked ok. It activated the project correctly.
But VB doesnt work. When Ive tried to execute the attached code, BW windows showed the error message:
It is impossible to read the object or session opcsf2102m000.
I would appreciate some help as soon as possible
Joan
VB Code
Set oBAANCLIENTE = CreateObject("Baan4.Application.bsp")
oBAANCLIENTE.ParseExecFunction "opcsf2102m000", "activate_project(""123490"")"
MsgBox oBAANCLIENTE.Error
oBAANCLIENTE.Quit
Configuration
BaaN Ivc4, oracle 8.0.6, HP UX.
First of all, Ive checked the functionality of the dll by a new session and its worked ok. It activated the project correctly.
But VB doesnt work. When Ive tried to execute the attached code, BW windows showed the error message:
It is impossible to read the object or session opcsf2102m000.
I would appreciate some help as soon as possible
Joan
VB Code
Set oBAANCLIENTE = CreateObject("Baan4.Application.bsp")
oBAANCLIENTE.ParseExecFunction "opcsf2102m000", "activate_project(""123490"")"
MsgBox oBAANCLIENTE.Error
oBAANCLIENTE.Quit
Configuration
BaaN Ivc4, oracle 8.0.6, HP UX.