Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
OLE problems
Message
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Title:
Miscellaneous
Thread ID:
00123030
Message ID:
00123172
Views:
24
>>>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform