Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8642833
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T11:52:49+00:00 2026-06-12T11:52:49+00:00

I am planning to write a control that inherits from a third party ActiveX

  • 0

I am planning to write a control that inherits from a third party ActiveX control. The requirements are:

1) It should be able to be added from the toolbox in Visual Studio

2) It should be able to hide all the base class members and only provide access to the members from the derived class. (the derived class will provide several custom events and functions)

One solution is to not use inheritance at all, have a class that would declare the ActiveX control private and initialize it dynamically at run time. However, this does not satisfy my first requirement. Is there a way I could achieve the functionality I want.

PS: I do not have access to the source code of this control

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-12T11:52:51+00:00Added an answer on June 12, 2026 at 11:52 am

    You can make your solution (composition) work by using a simple Panel control as the containing class.

    There is no way to (really/effectively) hide base class members when using inheritance.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm planning to write a web application (.net probably) that will need to analyze
I am planning to write a Swing-based application (using Netbeans 6.8). It seems that
We are planning to write an application that, in its start phase will be
I'm planning to write a 3D FPS game, based on WebGL. Should I use
I am planning to write a program that makes calls to cdrecord. (I am
I'm planning to write an application that would provide results in quick search box.
I am planning to write a Chrome extension to jump to a bookmark from
I'm planning to write a simple spaceshooter. I have read that the repaint() method
Newbie to .NET data apps here, coming from a Visual Foxpro background. I'm planning
I am planning to write a Role Base Access Control Mechanism. What I thought

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.