Log Out with COM Add In

Feb 02, 2006 3 Replies

Has anybody been able to force a log out through a COM DLL? I have tried Session.LogOut and Session.Destroy. In both cases I get "Run-time error '91': Object variable or With block variable not set" and it closes POS. Any suggestions.



Chris


New West Tech has a tool already designed that logs out the POS automatically among other things.

formatting link
Loss Management Tool A robust utility that prevents negative quantity or duplicate item returns, refunds over the original purchase price, and refunds to a different credit card. Creates warning messages to remind cashiers to empty over limit till drawers. Locks the terminal screen during inactivity time periods. Gives control back to business owners who have issues with internal loss.

Rob

"chrislabadie" wrote:

Thanks, but I need to do it in my DLL. Its purpose is to log the manager off after a return or void. The problem they are having is managers log in to do a refund then forget to log off, giving the cashiers manager rights.

Chris

"Rob" wrote:

I got it working, while I could not get any of the built in functions (Session.Logout, Session.Destroy, Gateway.LockRegister) to do what I wanted, good old SendKeys to send the F9 to secure the register worked.

Chris

"chrislabadie" wrote:

Join the Discussion

Have something to add? Share your thoughts — no account required.

Didn't find your answer?

Ask the community — no account required