Solved

Am I missing a Control

Posted on 2002-04-01
8
162 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 49

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
 

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
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 
LVL 49

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 69

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 Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Introduction In a recent article (http://www.experts-exchange.com/A_7811-A-Better-Concatenate-Function.html) for the Excel community, I showed an improved version of the Excel Concatenate() function.  While writing that article I realized that no o…
Article by: Martin
Here are a few simple, working, games that you can use as-is or as the basis for your own games. Tic-Tac-Toe This is one of the simplest of all games.   The game allows for a choice of who goes first and keeps track of the number of wins for…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

910 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

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now