I need to use a library of controls from a company called Blue Marble Geographics. This library package is called GeoObjects. The controls allow maps to be displayed and 'managed' in a Windows application. They provide these controls in .ocx files and they are Active X controls.
It's very easy to use them in VB 6 - simply add them to the Control Toolbox and they are then available to 'place' on a form and start using them.
I've been reading the PB9 manual on using external controls and it appears that PB9 does support Active X controls in .ocx files. Is this correct?
Using them in PB9 seems to be a bit 'complicated', but I suspect that it isn't as hard as it first looks (I hope
).
Here's what I think I understand so far:
First, after installing/registering the controls in Windows (that's an easy task - they're provided in an executable that I simply 'ran' and they're ready to use), it appears that I need to use the PowerBASIC Com Browser to 'create' the information needed by a PowerBASIC application to use these Active X controls. This is my first time even looking at the Com Browser - it appears that it creates an include file (that would be included into my application) which has declarations for variables and for the controls in the .ocx file (the Active X library). Is this correct?
Again, I've read over the PB9 manual where it 'explains' using external controls, but it seems to me that it was written by someone who had a VERY good knowledge of this subject and for someone like me, it's too complicated. I need a bit more 'handholding' to figure this out.
Any help is very much appreciated.
John
It's very easy to use them in VB 6 - simply add them to the Control Toolbox and they are then available to 'place' on a form and start using them.
I've been reading the PB9 manual on using external controls and it appears that PB9 does support Active X controls in .ocx files. Is this correct?
Using them in PB9 seems to be a bit 'complicated', but I suspect that it isn't as hard as it first looks (I hope

Here's what I think I understand so far:
First, after installing/registering the controls in Windows (that's an easy task - they're provided in an executable that I simply 'ran' and they're ready to use), it appears that I need to use the PowerBASIC Com Browser to 'create' the information needed by a PowerBASIC application to use these Active X controls. This is my first time even looking at the Com Browser - it appears that it creates an include file (that would be included into my application) which has declarations for variables and for the controls in the .ocx file (the Active X library). Is this correct?
Again, I've read over the PB9 manual where it 'explains' using external controls, but it seems to me that it was written by someone who had a VERY good knowledge of this subject and for someone like me, it's too complicated. I need a bit more 'handholding' to figure this out.
Any help is very much appreciated.
John
Comment