jpsst34
Well Known Member
Using JDE COM objects with VB. I'm using the JDECOMCONNECTOR2Lib, using the following methods to login and logout of JDE:
JDECOMCONNECTOR2Lib.Connector.Login
JDECOMCONNECTOR2Lib.Connector.Logoff
When I call the login function, I'm connected to JDE and a JDE icon appears in my system tray. I can right click this and choose close, and the connection is closed. The icon goes away and calls to the JDE bsfn's from within my app fail. If, however, I call the logoff function from within my VB app, the icon does not go away. I am no longer connected, as calls to bsfn's from within the VB fail, but I must still manually right click the system tray icon and choose "Close."Anyone know why this is? How can I completely disconnect from JDE from within my VB app after opening a connection, and have that system try icon go away?
Thanks,
JDECOMCONNECTOR2Lib.Connector.Login
JDECOMCONNECTOR2Lib.Connector.Logoff
When I call the login function, I'm connected to JDE and a JDE icon appears in my system tray. I can right click this and choose close, and the connection is closed. The icon goes away and calls to the JDE bsfn's from within my app fail. If, however, I call the logoff function from within my VB app, the icon does not go away. I am no longer connected, as calls to bsfn's from within the VB fail, but I must still manually right click the system tray icon and choose "Close."Anyone know why this is? How can I completely disconnect from JDE from within my VB app after opening a connection, and have that system try icon go away?
Thanks,