Solved

Am I missing a Control

Posted on 2002-04-01
8
163 Views
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.

-neil
0
Comment
Question by:neilhoman
8 Comments
 
LVL 50

Expert Comment

by:Ryan Chong
ID: 6912268
Hi,

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

Expert Comment

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

Author Comment

by:neilhoman
ID: 6912286
doin that now
0
ScreenConnect 6.0 Free Trial

Want empowering updates? You're in the right place! Discover new features in ScreenConnect 6.0, based on partner feedback, to keep you business operating smoothly and optimally (the way it should be). Explore all of the extras and enhancements for yourself!

 

Author Comment

by:neilhoman
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.
0
 
LVL 50

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.

regards
0
 

Author Comment

by:neilhoman
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.

0
 
LVL 70

Accepted Solution

by:
É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.
0
 

Author Comment

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

Featured Post

Is Your AD Toolbox Looking More Like a Toybox?

Managing Active Directory can get complicated.  Often, the native tools for managing AD are just not up to the task.  The largest Active Directory installations in the world have relied on one tool to manage their day-to-day administration tasks: Hyena. Start your trial today.

Question has a verified solution.

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

Suggested Solutions

Background What I'm presenting in this article is the result of 2 conditions in my work area: We have a SQL Server production environment but no development or test environment; andWe have an MS Access front end using tables in SQL Server but we a…
You can of course define an array to hold data that is of a particular type like an array of Strings to hold customer names or an array of Doubles to hold customer sales, but what do you do if you want to coordinate that data? This article describes…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
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…

822 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