Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Form question
Message
De
06/03/2002 17:38:07
 
 
À
06/03/2002 17:27:53
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Titre:
Divers
Thread ID:
00629285
Message ID:
00629290
Vues:
9
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform