Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

ole activex control

Posted on 2000-03-22
7
296 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
Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 

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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

When designing a form there are several BorderStyles to choose from, all of which can be classified as either 'Fixed' or 'Sizable' and I'd guess that 'Fixed Single' or one of the other fixed types is the most popular choice. I assume it's the most p…
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…
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…
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…

856 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