Log Out with COM Add In

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

Reply to
chrislabadie
Loading thread data ...

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:

Reply to
Rob

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:

Reply to
chrislabadie

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:

Reply to
chrislabadie

BeanSmart website is not affiliated with any of the manufacturers or service providers discussed here. All logos and trade names are the property of their respective owners.