Am I missing a Control

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.

-neil
neilhomanAsked:
Who is Participating?
 
Éric MoreauConnect With a Mentor Senior .Net ConsultantCommented:
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.
0
 
Ryan ChongCommented:
Hi,

Try to add the SSTab Control (M$ Tabbed Dialog Control 6.0) from the Components in your VB project.
0
 
tppradeep18Commented:
you must have used some third party activex control. Reinstall the activeX control
0
Cloud Class® Course: Python 3 Fundamentals

This course will teach participants about installing and configuring Python, syntax, importing, statements, types, strings, booleans, files, lists, tuples, comprehensions, functions, and classes.

 
neilhomanAuthor Commented:
doin that now
0
 
neilhomanAuthor Commented:
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.
0
 
Ryan ChongCommented:
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.

regards
0
 
neilhomanAuthor Commented:
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.

0
 
neilhomanAuthor Commented:
thanx emoreau... have just finished that and all is working fine!
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.