Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Getting Error 1426 : Library Not Registered
Message
De
12/12/2006 09:17:12
Tolga Kaya
Not Applicable
Namur, Belgique
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Titre:
Getting Error 1426 : Library Not Registered
Divers
Thread ID:
01176826
Message ID:
01176826
Vues:
57
Hi Everyone,

I have an Active-X object that is installed by its own installation program. - MapWInGis.OCX -
I downloaded a VB6 code as a sample demonstration program of this ActiveX.
Now everything works fine in VB6 without any problem.

Now I'm trying to use this object in VFP9. I can drop this object onto a form with no problem.To open a document with in this object :

VB6 syntax:

Dim sf As MapWinGIS.Shapefile
SF.Open(FileName)

code is used. When I use same thing in VFP syntax :

SF=CreateObject("MapWinGIS.Shapefile")
SF.Open ('Z:\My Sources\VFP\My Temp\world.shp',.T.)

I get an error " 1426 : Library Not Registered ".
When I browse this object with Object Browser tool, nothing seems to strange. Even If I declare like :

VFP syntax:
Public SF As MapWInGIS.Shape

intellisens shows every Subclass of MapWinGIS.OCX. I can see every class,method,property etc. with Object Browser Tool

Any ideas why I can use this object on form but I can't use other classes ?

KAYA,Tolga
Répondre
Fil
Voir

Click here to load this message in the networking platform