Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
OLE problems
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Titre:
Divers
Thread ID:
00123030
Message ID:
00123172
Vues:
23
>>>hello! all,
>>> when using a OCX control in a form(MSCOMM) and I try to chage the properties of this object using the property sheet many Events return the message "...unknown OLE status code", I can't change any of this properties.
>>>Any idea.
>>Hi Bill,
>>
>>It has to do with VFP not handling one of the methods written for VB. The workaround is to set the properties programmatically.
>
>And if this doesn't work, Bill, you may have the wrong version of MSCOMM installed. I ran into that after installing an upgrade to VB. I can get the 'correct' version if you need - it's on another computer.
>
>HTH
>Barbara

I've run into the problem where if you update the OCX, any existing controls of that type should be deleted an re-done. I can't find anyway to do this progammatically. Apparently, code is stored in the VCX which is used by the control (initialization?). Simply put, the only way I've found around this is to do it manually.

On the user end (with networks). I'd suggest that the controls be kept in a network directory, and a utility to compare existing ones in the user's system directory and those on the net be used. If there's a newer version on the net, copying it into the system directory (and as a safety measure, re-naming the old one first) seems to work just fine.
George

Ubi caritas et amor, deus ibi est
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform