pedromrs
23rd October 2002, 18:08
Hi,
After reading the forum and studying the alternatives I decided to go for OLE/STPAPI instead of the C interface.
I have been able to use the employers session (tccom0101m000)with VB code.
Now I have a problem, what is the correct way to close the object?
I use
BaanObject.Quit()
BaanObject = Nothing
The program goes trough this lines cleanly. Problem is it doesn't close the Bann Options window so I assume the object is not being cleaned in a good fashion.
Is this true?
BTW, is there a way to hide the options window in the BWC?
Also can the BAAN Ole use a specific BWC (registry setting maybe)?
Last question (promise). Is there a way to expose the all the methods and properties of the OLE interface or is there a document about it?
Thanks in advance :)
After reading the forum and studying the alternatives I decided to go for OLE/STPAPI instead of the C interface.
I have been able to use the employers session (tccom0101m000)with VB code.
Now I have a problem, what is the correct way to close the object?
I use
BaanObject.Quit()
BaanObject = Nothing
The program goes trough this lines cleanly. Problem is it doesn't close the Bann Options window so I assume the object is not being cleaned in a good fashion.
Is this true?
BTW, is there a way to hide the options window in the BWC?
Also can the BAAN Ole use a specific BWC (registry setting maybe)?
Last question (promise). Is there a way to expose the all the methods and properties of the OLE interface or is there a document about it?
Thanks in advance :)