Solved

ole activex control

Posted on 2000-03-22
7
293 Views
Last Modified: 2013-11-18
How can i add an ole activex cintrol to an activex control project?
thank you.
0
Comment
Question by:ilanm
  • 4
  • 3
7 Comments
 
LVL 3

Expert Comment

by:Gordonp
ID: 2644160
same as for any VB project, from the Project\Components Menu.

then drop the control onto the USercontrol.

Gordon
0
 

Author Comment

by:ilanm
ID: 2644447
a. why isn't it added by default to the project as it is in standard project.

b. What is the name of the ole object in the componnents list (where should i sign the v mark?)

thank you very much.
0
 
LVL 3

Expert Comment

by:Gordonp
ID: 2644470
I see, you mean the actual

"OLE Container" object.

you cannot use the OLE Container object in a usercontrol.

the "OLE Container" will still be on your toolbox if you look but it will be disabled.

I'm not sure why you cant use it , and although theres a help button on the message box you get if you try to select the "OLE Container" there isnt actually any help associated with it.

Gordon
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.

 

Author Comment

by:ilanm
ID: 2644519
why can't i use it?
thank you.
0
 
LVL 3

Expert Comment

by:Gordonp
ID: 2644547
because VB doesnt let you,
other than that I dont know.

Why do you want to use it.

0
 

Author Comment

by:ilanm
ID: 2645250
hi gordon, lock the question so i can grade you. thank you.
0
 
LVL 3

Accepted Solution

by:
Gordonp earned 50 total points
ID: 2645285
Okay Dokey
Gordon

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

The debugging module of the VB 6 IDE can be accessed by way of the Debug menu item. That menu item can normally be found in the IDE's main menu line as shown in this picture.   There is also a companion Debug Toolbar that looks like the followin…
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 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…
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…

920 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

11 Experts available now in Live!

Get 1:1 Help Now