Add ocx to Delphi 2005

Please discuss general Delphi programming topics here.

Add ocx to Delphi 2005

Postby sinugovind » May 5th, 2008, 6:46 am

Hi,

I want to add an ocx to delphi 2005. The sequence I followed is

I choose

Component - > Import Component - > Import ActiveX Control

I chose the 'Next' where a list of all registered components are listed. I chose my component and selected 'Next' button.

The ocx has a single class. So i did not change ClassName combo
In Palette page I chose Standard
In unit dir name and Search Path, I chose the default and chose Next
I selected the 'Create Unit' radio button and clicked 'Finish'

After doing all this. I cannot se the component in the palette. Could someone help me
sinugovind
Active Member
Active Member
 
Posts: 6
Joined: March 12th, 2008, 8:22 am

Postby Kambiz » May 5th, 2008, 7:55 pm

Have you added the created unit into a package? Have you installed the package?
Kambiz
User avatar
Kambiz
Administrator
Administrator
 
Posts: 2429
Joined: March 7th, 2003, 7:10 pm

Postby sinugovind » May 7th, 2008, 6:04 am

Thanks for your reply.. yes finally I have worked it out. I had to save it as a type library and then use it
sinugovind
Active Member
Active Member
 
Posts: 6
Joined: March 12th, 2008, 8:22 am


Return to Delphi Programming

Who is online

Users browsing this forum: No registered users and 0 guests

cron