Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Visual Basic > VB 6 Visual Basic 6 > VB How-To
| Search | Today's Posts | Mark Forums Read
VB How-To Ask your "How do I do this with VB?" questions in this forum.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the VB How-To section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
  #1 (permalink)  
Old February 22nd, 2007, 07:47 AM
Authorized User
Join Date: Jan 2007
Location: , , .
Posts: 31
Thanks: 0
Thanked 0 Times in 0 Posts
Default Problem with ActiveX controls

I made a small application for ActiveX control in Visual Basic to test.

There is an ActiveX control which have a listbox and some command buttons.But this is not working .

The application should work like this:
ActiveXcontrol1(Listbox and Refernce to ActiveXcontrol2 as a command button)-> Click CommandButton1 (let's say "open File") ->Goto ActiveXcontrol2->Click CommandButton Cancel->Return to ActiveXcontrol1


ActiveXcontrol1-> CommandButton1->ActiveXcontrol2->OK->Perform some action

When I include the .ocx file of ActiveXcontrol2 through Project->Components and the control appears in toolbox and drag the control and place it on the ActiveXcontrol1 and click on the commandbutton to display the ActiveX control2 i.e. the control with some stuff and OK and Cancel button, this is not getting displayed.

i.e. not calling the ActiveX Control2.

Am i making some mistake?

Similar Threads
Thread Thread Starter Forum Replies Last Post
Learning ActiveX controls in VC++ 2005 kuznickic Visual C++ 2005 0 September 14th, 2007 06:21 AM
Activex controls in asp.net flaco ASP.NET 1.0 and 1.1 Basics 5 April 18th, 2005 08:32 AM
ActiveX Controls - Calendar Control, Note/Memo Con twsinc Access VBA 9 February 29th, 2004 07:51 AM
Dynamic ActiveX Controls gabloom Excel VBA 0 September 17th, 2003 02:06 PM
buggy event firing in ActiveX controls pgtips Pro VB 6 6 July 10th, 2003 02:38 AM

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.