Information générale
Catégorie:
Contrôles ActiveX en VFP
Titre:
Getting Error 1426 : Library Not Registered
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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement