Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Getting Error 1426 : Library Not Registered
Message
From
12/12/2006 09:17:12
Tolga Kaya
Not Applicable
Namur, Belgium
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Title:
Getting Error 1426 : Library Not Registered
Miscellaneous
Thread ID:
01176826
Message ID:
01176826
Views:
56
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
Reply
Map
View

Click here to load this message in the networking platform