Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Using ActiveX components in Delphi

Posted on 2007-04-03
8
Medium Priority
?
696 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 21

Expert Comment

by:ziolko
ID: 18849611
0
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

Author Comment

by:BigBoss
ID: 18852382
Thank you RickJ... I am using Delphi 7 on XP.
0
 
LVL 8

Accepted Solution

by:
RickJ earned 200 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

Vote for the Most Valuable Expert

It’s time to recognize experts that go above and beyond with helpful solutions and engagement on site. Choose from the top experts in the Hall of Fame or on the right rail of your favorite topic page. Look for the blue “Nominate” button on their profile to vote.

Question has a verified solution.

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

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…
Introduction I have seen many questions in this Delphi topic area where queries in threads are needed or suggested. I know bumped into a similar need. This article will address some of the concepts when dealing with a multithreaded delphi database…
Is your data getting by on basic protection measures? In today’s climate of debilitating malware and ransomware—like WannaCry—that may not be enough. You need to establish more than basics, like a recovery plan that protects both data and endpoints.…
Screencast - Getting to Know the Pipeline

926 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