I have a form with an activeX control on it called VintaSoftTwain. I want to pass this control from an event on that form to a function so I can access its methods. My function is defined as follows:
Function scan(vinta1 as VintaSoftTwain)
When I pass the control it gives me a type mismatch error. Does anybody know how to do this properly so I don't get errors? Thanks.
Function scan(vinta1 as VintaSoftTwain)
When I pass the control it gives me a type mismatch error. Does anybody know how to do this properly so I don't get errors? Thanks.