Run a Activex Control from a command button

naym

Registered User.
Local time
Today, 20:52
Joined
Aug 30, 2006
Messages
47
Hi all,

I am wandering if someone can help me out on this i have a thermal printer with it you get some ative x components to control the printer like for example what i am tryin to do is kick the cashdrawer which is connected to the printer,
Now the activex button does work correctly when click but i have another command button which prints out a couple of pages odf information so what i am tryin to do is have abother cmmand button when clicked run the code and then calls or runs the active x button to open the drawer is there a way i can do is i tried using the call statement with the name of the activex but with no luck.

i would really appreciate it if someone can help me out on this. thanks.

Regards
Naym
 
Simple Software Solutions

At the end of the print routine OnClick Event add the following line

Buttonx_Click

Where Buttonx is the name of the button that when clicked seperately works
 

Users who are viewing this thread

Back
Top Bottom