Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Form question
Message
From
06/03/2002 17:38:07
 
 
To
06/03/2002 17:27:53
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Title:
Miscellaneous
Thread ID:
00629285
Message ID:
00629290
Views:
16
This message has been marked as a message which has helped to the initial question of the thread.
Brian,

Have you tried:
oWinsock = createobject("MSWinsock.Winsock")
>Do you have to place an Active X control on a form? For instance, I need to use the WinSock control for something. My main class is a session object. So, my first thought was to create an oleWinsock class based on an oleControl. I can create the class fine, but when I try to instantiate it inside a method of the session object, I get an "Object class is invalid for this container." If I try to instantiate it from the command window, I get the same message. Am I forced to use a form to contain my Winsock control. If so, I might as well do away with the session object, and just migrate all of the code to a form. Thanks in advance.
Steve Gibson
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform