Link to home
Start Free TrialLog in
Avatar of xpher
xpher

asked on

For Simonet

You started to help me with pdf on Q.10176830 I have left a comment with my problem. Do you want me to ask as a seperate question with points?

Regards
Chris
Avatar of simonet
simonet
Flag of Brazil image

Hello, xpher

Sorry for not being back to that thread in a while.

>I did it using WinExec is that hte right idea?

You know you only need to do this only once, right?

I ran some tests with the new PDF.OCX control, which comes with Acrobat Reader 4, and it has a better featre: it doesn't open the whole Reader application when your app starts.

Now regarding your tests, please tell me:
1) Does the Win98 machine have Acrobat installed?
2) What files are you deploying on the Win95 machine?
3) Have you tried also deploying the PDF.TLB file that comes with Acrobat Reader?

>Do you want me to ask as a seperate question with points?

I'll leave that entirely up to you. What you do think?


Alex

Avatar of xpher
xpher

ASKER

Hi Alex
Thanks for response.

I have only used WinExec once.

1)The Win98 machine has had Acrobat installed but no longer.
2)What we have is a presentation piece for a school CD but the prospectus is in pdf. So we are deploying an app that has images and other bits but we want to be able to display the pdf within the app so no worries if user hasn't Acrobat or doesn't want to install it. All I did was programatically (using WinExec) install pdf.ocx as per your last instructions.
3)Not tried the PDF.TLB didn't realise had to as this was within the ActiveX component with PDF.OCX. How would I deploy the PDF.TLB? Same as before?

Cheers
Chris

ps if you want to carry on here then I can change this to increase points if that is ok.
Chris,

Try just copying the TLB file to the same dir where the OCX file is.

I am suspecting other files (DLLs and the Adobe EXE file) must also be deployed. Please try that and get back to me.

>ps if you want to carry on here then I can change this to
>increase points if that is ok.

That's fine for me!

Yours,

Alex
Alex - careful mate - you may be black listed :)
Why do you say that, Stu?! I honestly didn't get this one :(

Alex
Just joking mate.  Ray did it too me before too :)

Stu
Avatar of xpher

ASKER

This whole idea seems to work well on the machine that you are using with Delphi and that has Acrobat Reader installed. I've tried allsorts of configurations and ways round but with no success.

Also the REGSVR32.EXE /S PDF.OCX seems to be hit and miss for me I've just tried it a dozen times without any action. How do you use this?

I think I'm getting close to giving up or tearing my hair out one or the other or both.

Cheers
Chris :((

ps Why blacklisted?

Chris,

Try using TREGSVR -q PDF.OCX instead.

I have some code at work for registering OCX's which may help you guys solve this problem.  If you are interested, I'll post it here tomorrow.

Stu.
Avatar of xpher

ASKER

Didn't work using TREGSVR -q but did with -s.
But this scenario work on a machne without Delphi?

Problem also seems to be that the Activex component Tpdf does not take into consideration fonts etc.

Chris
>But this scenario work on a machne without Delphi?

Yes. You just have to deploy TREGSVR.EXE or REGSVR32.EXE.

Alex
Are you there, xpher?

Alex
Avatar of xpher

ASKER

Hi Alex
I'm here. Don't seem to be able to get this to work unless Acrobat Reader installed on users machine.

Chris
Avatar of xpher

ASKER

I'm still having no luck with this

regards
Chris :((
I am trying to contact Adobe on this matter. I'll get back to you as soon as they've given me an answer.

Alex
Have you seen this?  Dunno if its relevent or not:

http://www.adobe.com/supportservice/custsupport/SOLUTIONS/31fe.htm

Acrobat is required to be installed to work - even with the so called deployable ActiveX controls.  There is too many registry entries and support DLLs which are required to make the PDF engine function.

Stu.
ASKER CERTIFIED SOLUTION
Avatar of simonet
simonet
Flag of Brazil image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of xpher

ASKER

I will accept your answer cos you have provided me with some good info/advice. Plus you have answered by saying I can't do what I want.

Many thanks for all your help.

Appreciated

Chris :))