[2 days left] What’s wrong with your cloud strategy? Learn why multicloud solutions matter with Nimble Storage.Register Now

x
?
Solved

Creating OCX for use in Excel etc.

Posted on 2002-04-28
4
Medium Priority
?
147 Views
Last Modified: 2010-04-04
Does anyone have any good references on writing OCX's in Delphi?

I am trying to write an OCX control that I can then use in Excel.  I thought it'd be easy.  I follow the basic process of ...
1. Create VCL control
2. Wrap as an ActiveX control
3. Register it
... but the control does not appear in the list when I do an "Insert | Object" in Excel.

Any ideas?

(p.s. Using D6)
0
Comment
Question by:Hamlet081299
[X]
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
4 Comments
 
LVL 44

Expert Comment

by:bruintje
ID: 6976811
Hi Hamlet,

reading from what you did it should work like that

maybe you've to choose insert object and then do a search for the component

why it doesn't appear in the list i don't know, but i use a control in an excel application that was registered on the PC and was not visible in the list of objects. i looked on disk and added it that way and it worked just fine

HTH:O)Bruintje
0
 
LVL 9

Expert Comment

by:ginsonic
ID: 6977392
listening
0
 
LVL 5

Author Comment

by:Hamlet081299
ID: 6979076
Okay ... I've figured out where I'm going wrong.

It's the way I was trying to insert the object.

Using the menu "Insert | Object" does not work, but instead do this...

1. View | Toolbars | Control Toolbox

2. Click on the "More Controls" button.

3. Select the control.

I'll leave this question here for others who are struggling with this one.
0
 
LVL 1

Accepted Solution

by:
Moondancer earned 0 total points
ID: 6979121
200 points refunded, items closed by moving it to the PAQ at zero points where it will help others.  Thanks for posting the solution you discovered on your own.
Moondancer - EE Moderator
0

Featured Post

On Demand Webinar: Networking for the Cloud Era

Ready to improve network connectivity? Watch this webinar to learn how SD-WANs and a one-click instant connect tool can boost provisions, deployment, and management of your cloud connection.

Question has a verified solution.

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

In this tutorial I will show you how to use the Windows Speech API in Delphi. I will only cover basic functions such as text to speech and controlling the speed of the speech. SAPI Installation First you need to install the SAPI type library, th…
In my programming career I have only very rarely run into situations where operator overloading would be of any use in my work.  Normally those situations involved math with either overly large numbers (hundreds of thousands of digits or accuracy re…
This tutorial will teach you the special effect of super speed similar to the fictional character Wally West aka "The Flash" After Shake : http://www.videocopilot.net/presets/after_shake/ All lightning effects with instructions : http://www.mediaf…
In this video, Percona Solutions Engineer Barrett Chambers discusses some of the basic syntax differences between MySQL and MongoDB. To learn more check out our webinar on MongoDB administration for MySQL DBA: https://www.percona.com/resources/we…
Suggested Courses

656 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