is that possible to run external program from Crystal Reports?
I want to protect the reports with a dongle (hardware), I can create a small program in Java, CBuilder or Delphi to detect the dongle and send the return value. From the return value I can decide to proceed with the report.
Request clarification before answering.
It is possible using your own viewer application of a 3rd-party viewer app.
But your use case (given that you need not only to call but also receive a return value) is a better fit for creating a User Function Library (UFL). A function in the UFL can then call & return the result via a Crystal formula.
In general, I would advise you to rethink what you are doing. The direction you are taking doesn't sound like a good one.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
The short story is CR will not allow you to run any kind of executable from within it. That would be a huge security issue.
Do as Ido suggests, he's been supporting CR for 20+ years.
A UFL will be able to call your UFL dll to pass what you need. Here's is a KBA on how to:
https://launchpad.support.sap.com/#/notes/1525014
Don
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
The complexity of the procedure call is irrelevant. The principle & architecture choices remain the same.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 10 | |
| 5 | |
| 5 | |
| 5 | |
| 4 | |
| 2 | |
| 2 | |
| 2 | |
| 1 | |
| 1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.