Grady:
I guess you are making Dragan's post stronger? <g>
>>>Hello.
>>>There is a great activex control for map display and manipulation. It's name is mapwindows (
www.mapwindow.org). (Fixed URL)
>>>Its free, royalty free and open source. Now, for deploying mapping applications for my customers i have to pay $2k to mapobjects to use its activex control. But this control (mapwingis.ocx) can do whatever maopbjects does, for free.
>>>Here comes the problem:
>>>I tested the OCX in VB, works perfectly. In VFP, I put the map control in a form and it runs ok (no map).
>>>In order to load layers I should instantiate an object (mapwingis.shapefile) . This command runs fine:
>>>
>>>x= createOBJECT("MapWinGis.ShapeFile.1")
>>>
>>>I can even have intellisense for x after this. But when I try to use the shapefile object I got this error:
>>>
>>>"OLE Error code 0x82blah blah......Library not registered."
>>>
>>>Of course I have already registered the OCX and included the control in VFP.....no way.
>>>
>>>I feel like Tantalus, too close and too far. Please any help ?
>>
>>Could it be the usual problem with activeXes, that you can't directly instantiate it because it then thinks it's in development, but if you subclass an Olecontrol object with it, that one you can instantiate even at runtime.