|
Posted by Vince Morgan on 04/25/07 14:28
"Steve" <no.one@example.com> wrote in message
news:hkJXh.139$uY1.127@newsfe12.lga...
> | > | The interfaces are not something php would understand.
>
> 'this is your com control var
>
> private comControl as mscomcontrol ' i can't remember how it shows
> ' when the project has a ref to it
> ' but you get the idea
>
> 'interface declaration
>
> implements mscomcontrol
>
> 'set the control var to the control instance
> 'this is in the class' initialize()
>
> set comControl = form1.mscomm1
>
> 'this is after the class initializes
> 'and someone calls open()
>
> public function open(byval strSettings as string) implements
> mscomcontrol.open
> comControl.open(strSettings)
> end function
>
> ====================
>
> that's all pseudo-code, but it's pretty close to the real-deal. if you
> compile this as a dll, life is good and the problem is solved.
>
> cheers.
Looks very much like an activex exe, or activex document exe Steve, in fact
the later includes the form by default.
Thanks for that.
The OP may be able to work this out if he is familiar with say VB6.
Vince
Navigation:
[Reply to this message]
|