Solved

Using ActiveX components in Delphi

Posted on 2007-04-03
8
687 Views
Last Modified: 2012-08-13
Hello,

Can anyone please show me a step-by-step example on how to use the ActiveX component below in Delphi?
Raw Data Printer (http://www.vbgold.com)

I am very new to Delphi...so please assume absolutely no knowledge of importing / implementing / using a component in Delphi!

Thank you.
0
Comment
Question by:BigBoss
8 Comments
 
LVL 8

Expert Comment

by:RickJ
ID: 18847625
What version of Delphi?
0
 
LVL 9

Expert Comment

by:sun4sunday
ID: 18848708
0
 
LVL 21

Expert Comment

by:ziolko
ID: 18849611
0
 

Author Comment

by:BigBoss
ID: 18852382
Thank you RickJ... I am using Delphi 7 on XP.
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.

 
LVL 8

Accepted Solution

by:
RickJ earned 50 total points
ID: 18854764
OK, thanks.
So we are looking at the same thing, I downloaded the Raw Data Printer Component. (Have some interest myself...)
I downloaded and installed the RawDataPrinter.msi
Open delphi.
Then go to Project>>Import Type Library
If you dont see the Raw Data Printer Component in the list then Click on Add to add it. The RawDataPrinter.dll will be located in "C:\Program Files\raw data printer" directory.
Once it is in the list; select it.
You will see in the Class Names that it says TPrinter. I dont like this as Delphi already has TPrinter class, so I rename it to TRDPrinter.
Then click on Install, select the Install into new package tab, call it RDPrinter, then click OK.
It will then load the package, Click yes to build and install.
You will then have the new component on the ActiveX tab on the component pallette. (You can now close the package)
Drag and drop the component onto a form to use.

Hope thats not to confusing.
0
 

Author Comment

by:BigBoss
ID: 18921598
Thank you Rick J...
0
 

Author Comment

by:BigBoss
ID: 18921605
Also, thanks to everybody else who tried to help!
0
 
LVL 8

Expert Comment

by:RickJ
ID: 18922209
Thanks, glad I could help.
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

Suggested Solutions

Title # Comments Views Activity
Activex get website that activex running on 3 85
Printing problem 2 80
Adoquery sql  left join does not work 25 80
PHP preg_replace code convert to Delphi 14 32
The uses clause is one of those things that just tends to grow and grow. Most of the time this is in the main form, as it's from this form that all others are called. If you have a big application (including many forms), the uses clause in the in…
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…
A short film showing how OnPage and Connectwise integration works.
I designed this idea while studying technology in the classroom.  This is a semester long project.  Students are asked to take photographs on a specific topic which they find meaningful, it can be a place or situation such as travel or homelessness.…

914 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

20 Experts available now in Live!

Get 1:1 Help Now