PureDispHelper and Custom VB6 OCX. Help initializing!
Posted: Wed Feb 20, 2008 11:48 am
So I'm drooling over the PureDispHelper Library by ts-soft.
Problem is, I cant get to understand the ocx part which is the only reason why I'm having sleepless nights over this.
I created a very small OCX control in Visual Basic 6.
It works perfect when its running inside the IE window.
So, how can I get it to work with PureBasic using DispHelper?
Obviously, I read the help file, but I quite don't understand the parameters required for
I know about all the parameters except ProgID.s. What does it do and how can I fulfill it?
An example would rock!
BTW, I looked at Animated Gif Demo by Kiffi, but still, ProdID.s does not make sense.
Problem is, I cant get to understand the ocx part which is the only reason why I'm having sleepless nights over this.

I created a very small OCX control in Visual Basic 6.
Code: Select all
Private Sub UserControl_Click()
MsgBox "test"
End Sub
So, how can I get it to work with PureBasic using DispHelper?
Obviously, I read the help file, but I quite don't understand the parameters required for
Code: Select all
OCX_CreateGadget(Gadget.l, x.l, y.l, width.l, height.l, ProgID.s[, CLSID.s])
An example would rock!
BTW, I looked at Animated Gif Demo by Kiffi, but still, ProdID.s does not make sense.