Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Does anyone have any ideas that might help me?
Message
 
To
26/09/1997 11:40:55
Susan Piro
Northwestern University
Evanston, Illinois, United States
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Miscellaneous
Thread ID:
00051719
Message ID:
00052175
Views:
42
Have you upgraded an application recently that might have changed the .ocx controls in your \windows\system subdirectory? This has happened to me before and is maddening. I ended up removing the ocx's, removing VFP, and then reinstalling everything.

HTH
>>>>I am trying to set up a form with an MSCOMM control. I am selecting it thru the OLE Container object and selecting the mscomm ocx. Most of the properties show an "Unknown OLE status error" and I cannot change them unless I do it run time. (via set step on and change thru the command box)
>>>>
>>>>Any ideas or guesses would be appreciated!
>>>
>>>I found that some properties can only be set at runtime.
>>>
>>>Craig
>>That would be ok, but upon starting up the form I get a messagebox repeating the error. I have tried setting the mscomm.init to turn openport property off. Perhaps I am setting it up incorrectly. How do you add the mscomm object to your forms?
>
>When I've used MSCOMM, the MSCOMM properties show OLE errors, but they've never given me any problems at runtime. I wonder why I never got a messagebox. Maybe I'm doing something wrong here!
>
>I'm setting the MSCOMM properties programmatically as needed. I've put MSCOMM in a container class, which has a bunch of methods to set the various properties and invoke various MSCOMM methods. For example, I have a closeport method with:
> if this.mscomm1.portopen
> this.mscomm1.portopen = .f.
> endif
>The port gets closed (in the form) by invoking thisform.classname.closeport().
>
>I don't know if this is a good way to do it -- but it's been working for us for 3 or 4 months!
Everything we see or seems
Is but a dream within a dream
- Edgar Allen Poe
Previous
Reply
Map
View

Click here to load this message in the networking platform