Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
The Object Manipulation in ActiveX
Message
De
03/07/2003 00:21:06
 
 
À
Tous
Information générale
Forum:
Visual Basic
Catégorie:
Contrôles ActiveX
Titre:
The Object Manipulation in ActiveX
Divers
Thread ID:
00806418
Message ID:
00806418
Vues:
45
Dear all,

How can I open the form which resided at VB project from ActiveX.

I got a ActiveX with 1 textbox and 1 button, once the user key-in the form name to textbox and click the button, then I want the system able to open the specified form.

Let's say the textbox and button are on the same usercontrol :
Private Sub Button1_Click()
select case textbox.text
case "form1"
form1.show
end select
End Sub

But the system highlight the "form1.show" and say "object required". Is there any way to solve this problem?


Thanks
Aston
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform