Consultor Eletrônico



Kbase P98144: Control Unable to create control when using MapPoint 2004
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   08/04/2005
Status: Unverified

FACT(s) (Environment):

OpenEdge 10.x

SYMPTOM(s):

Getting following error trying to place the MapPoint 2004 ocx on a Smart or Regular Window

CtrlFrame-2.Mappoint
Control Unable to create control.

Error ocurred while accessing component: property/method: AddControl.

CAUSE:


MapPoint OCX does not implement IID_IPersistStreamInit interface

FIX:

Create a new VB activex object like a wrapper for MapPoint ocx.
The wrapper can expose more or less functionality of MapPoint depending on your application needs.