Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Adding Imagelist fails in VFP 9
Message
From
15/09/2006 09:54:31
Steven Kleypas
Tarrant County College District
Texas, United States
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Title:
Adding Imagelist fails in VFP 9
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Miscellaneous
Thread ID:
01154071
Message ID:
01154071
Views:
75
I recently upgraded from VFP7 to VFP9. One line of code which worked fine under VFP7 now fails under VFP9 with the message: Class Definition cImageList is not found, Error 1733

This.Parent.AddObject(.cNewObjectName, .cClass, lcProgID)

Where .cNewObjectName = "ImageList", .cClass = "cImageList", lcProgID = "MSComctlLib.ImagelistCtrl.2"

Is this something specific to that ActiveX control or does VFP9 require different syntax? C:\Windows\system32\mscomctl.ocx is present. Please let me know if I need to provide additional information to solve this problem

Thanks in advance
Next
Reply
Map
View

Click here to load this message in the networking platform