Solved

Using ActiveX components in Delphi

Posted on 2007-04-03
8
685 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
What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

 
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

Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

Join & Write a Comment

Objective: - This article will help user in how to convert their numeric value become words. How to use 1. You can copy this code in your Unit as function 2. than you can perform your function by type this code The Code   (CODE) The Im…
Have you ever had your Delphi form/application just hanging while waiting for data to load? This is the article to read if you want to learn some things about adding threads for data loading in the background. First, I'll setup a general applica…
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…
This tutorial demonstrates a quick way of adding group price to multiple Magento products.

758 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

21 Experts available now in Live!

Get 1:1 Help Now