Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to use CreateObject in a class
Message
De
20/02/2002 06:41:17
 
 
À
20/02/2002 01:56:50
Information générale
Forum:
Visual Basic
Catégorie:
Contrôles ActiveX
Divers
Thread ID:
00622379
Message ID:
00622442
Vues:
26
This message has been marked as the solution to the initial question of the thread.
Hi Virusim,

Try this download for an example of doing this.

>Hi,
>
>I like to use the Microsoft Communication control ActiveX in my
>application. But insteads of having it place on the form, I like to
>use it inside my class. But having problem initializing it. Please kindly
>advise me on this issue. Below are my code giving me problem.
>Please kindly advise me how to solve the problem.
>
>Class Declaration
>================
>Dim WithEvents objComm as MSCOMM
>
>
>Class Initialize <====== below the code is giving me error
>=========
>
>Set objComm = CreateObject("MSCOMMLIB.MSCOMM.1")
>
>Or
>
>Set objComm = New MSComm
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform