Information générale
Catégorie:
Contrôles ActiveX
Titre:
The Object Manipulation in ActiveX
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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement