Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
The Object Manipulation in ActiveX
Message
From
03/07/2003 00:21:06
 
 
To
All
General information
Forum:
Visual Basic
Category:
ActiveX controls
Title:
The Object Manipulation in ActiveX
Miscellaneous
Thread ID:
00806418
Message ID:
00806418
Views:
47
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
Map
View

Click here to load this message in the networking platform