Am I missing a Control

Posted on 2002-04-01
Last Modified: 2010-08-05
Why is there no control in my toolbox that allows me to embed a subform (previously created) in a tabbed control?
I have done this before.... but cant seem to find the control to do it now.

Question by:neilhoman
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
LVL 52

Expert Comment

by:Ryan Chong
ID: 6912268

Try to add the SSTab Control (M$ Tabbed Dialog Control 6.0) from the Components in your VB project.

Expert Comment

ID: 6912269
you must have used some third party activex control. Reinstall the activeX control

Author Comment

ID: 6912286
doin that now
Creating Instructional Tutorials  

For Any Use & On Any Platform

Contextual Guidance at the moment of need helps your employees/users adopt software o& achieve even the most complex tasks instantly. Boost knowledge retention, software adoption & employee engagement with easy solution.


Author Comment

ID: 6912295
Yeah but I want to embed a form that I have into the tab control... is there no insert subform tool?
Like in access ...
I am nearly sure I did it in VB before.
LVL 52

Expert Comment

by:Ryan Chong
ID: 6912318
Maybe try to use the SetParent API:

Declare Function SetParent Lib "user32" Alias "SetParent" (ByVal hWndChild As Long, ByVal hWndNewParent As Long) As Long

· hWndChild
Identifies the child window.

· hWndNewParent
Identifies the new parent window. If this parameter is NULL, the desktop window becomes the new parent window.


Author Comment

ID: 6912348
ehhh... ok ill try that... but I used to be able to just select a tool, draw a rectangle tell it what form it was connected to etc.

LVL 70

Accepted Solution

Éric Moreau earned 50 total points
ID: 6912607
a subform like it exist in Access does not exist in VB. You may create your own ActiveX control with all the features you want on your form and create an instance of this control on any form you want.

Author Comment

ID: 6914362
thanx emoreau... have just finished that and all is working fine!

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Enums (shorthand for ‘enumerations’) are not often used by programmers but they can be quite valuable when they are.  What are they? An Enum is just a type of variable like a string or an Integer, but in this case one that you create that contains…
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
Suggested Courses
Course of the Month4 days, 15 hours left to enroll

636 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question