Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
ImageList property in MS TreeView
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Problèmes
Divers
Thread ID:
00036416
Message ID:
00036652
Vues:
48
>>>What I have found so far, that specific Help for the TreeView now looks different from that, I was working with a couple of month ago, despite of the fact that I just reinstalled VFP.
>>>
>>>My guess is:
>>>Since COMCTL32.OCX is common MS OCX, probably one of applications I installed on my PC had it overwritten with another version.
>>>I sent my old form, which works for sure with TreeView and ImageList, to other people, and they also see the same on their PC's - form is working with ImageList1, but its name is not in TreeView property.
>>>
>>>Nick
>>
>>I agree, because I had this problem right after I installed VB5, but before I reinstalled VFP5 I removed the ocx's from the registry but still did not work.
>
>Probably the combination of certain versions of comctl32.ocx and comctl32.dll also plays its role.
>
>Nick

Finally, I solved this problem:

1. I copied over COMCTL32.OCX from VFP 5.0 CD-ROM.
2. I unregistered it: REGSVR32 /U COMCTL32.OCX
3. I registered it again: REGSVR32 COMCTL32.OCX :)
4. I uninstalled VFP completely
5. I installed VFP again

Then, I found that old forms with TreeView work just fine and ImageList property shows everything.
But for the recent forms, which were created with "wrong" COMCTL32.OCX I still got a message that "class is not registered". I ignored those messages, got the form in Form Designer, and added ImageList and TreeView again, and it's OK with
ImageList property.

I am not sure now, that all those steps required (especially VFP reinstall :),
you may try to skip one and check... :))

Nick
Nick Neklioudov
Universal Thread Consultant
3 times Microsoft MVP - Visual FoxPro

"I have not failed. I've just found 10,000 ways that don't work." - Thomas Edison
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform