Opening a cash Drawer connected to PC using access2000

i am trying to open a cash drawer connected to a PC via a USB trigger. trigger came with a small exe file which opens the drawer when run with "RunCommand" under access 2000. however i also need to check the open/close status of the drawer. i tried using MSCOMM control but that conflicts with the orignal exe file as both try to work on the same com port.
so i think i would'nt be able to use them both together and have to open & check the status of the drawer using my own code, as the exe file provided just opens it.
i managed to track the open close staus of drawer by "mscomm1.CTSHolding" property. but cant open the drawer itself.
i have tried everything i can think of but its not working. i tried sending diff values to the port using ".output" property but with no gain. may be i am not using ".output" properly. i tried most of the code available here but cash drawer does'nt wanna open.
alternatively is there any way to use the exe file & MSCOMM together i-e (one opens the drawer one checks the status) but as i have to open port using mscomm at form load & when the exe file tries to open the drawer it finds the port alreday open.
Hope i made myself clear :)

any help appriciated THANKS
arkswtAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

rockiroadsCommented:
could you not temporarily close the port, open cashdraw, then reopen?

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
nico5038Commented:
Hmm, interesting problem.

Don´t you have any documentation on the codes sent to the drawer ?
When it´s similar like a printer, they would use what´s called "Escape sequences" as the printer is steered by first sending en Esc (Escape) character (CHR(27) ) followed by one or more characters as the instruction.

Nic;o)
arkswtAuthor Commented:
thanks everybody. rockiroads ur idea was a food for thought & it worked eventually.
i know there can be abetter way of doing it as nico5038 suggested but this works for me. so i am happy :)
rockiroadsCommented:
ok, no worries
I know its not elegant but I guess it could be considered a working alternative  
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft Access

From novice to tech pro — start learning today.