Solved

Am I missing a Control

Posted on 2002-04-01
8
161 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
Comment Utility
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
Comment Utility
you must have used some third party activex control. Reinstall the activeX control
0
 

Author Comment

by:neilhoman
Comment Utility
doin that now
0
 

Author Comment

by:neilhoman
Comment Utility
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
IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

 
LVL 49

Expert Comment

by:Ryan Chong
Comment Utility
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
Comment Utility
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
Comment Utility
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
Comment Utility
thanx emoreau... have just finished that and all is working fine!
0

Featured Post

Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

Join & Write a Comment

Suggested Solutions

Most everyone who has done any programming in VB6 knows that you can do something in code like Debug.Print MyVar and that when the program runs from the IDE, the value of MyVar will be displayed in the Immediate Window. Less well known is Debug.Asse…
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…
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…
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…

743 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

8 Experts available now in Live!

Get 1:1 Help Now