General information
Category:
ActiveX controls
Title:
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
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only