Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Hi all, How can I create a Comma

Status
Not open for further replies.

kenjoswe

Technical User
Sep 19, 2000
327
SE
Hi all,

How can I create a Command button in VB6 that unload a UserControl?
In a Standard exe application it's; Unload
but what is the equivalent in ActiveX?

/Kent J.
 
The unload statement is to remove any element of a control array that you added at run time via the Load command, so ActiveX controls too.
 
OK!
I get run time error 'Object required' when I use:
Unload(UserControl)

My UserControl starts with 'Initialize' I guess that's why unload does not work.

/Kent J.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top