Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Adding Imagelist fails in VFP 9
Message
 
 
To
15/09/2006 09:54:31
Steven Kleypas
Tarrant County College District
Texas, United States
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Miscellaneous
Thread ID:
01154071
Message ID:
01154125
Views:
12
This message has been marked as the solution to the initial question of the thread.
It should be .cClass = "OleControl"

>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
--sb--
Previous
Reply
Map
View

Click here to load this message in the networking platform