How do I use VB6 Shell with acrobat reader 8

Posted on 2009-04-16
Medium Priority
Last Modified: 2013-11-26
I have used Acrobat Reader to pop up forms from a VB app populated via an FDF file constructed in the app. The Shell command Shell(<Adobe Reader Path> <FDF Path>) has worked for 5,6 and 7 but doesn't work for 8. Does anyone know why and what the solution is.
sDataFile = "C:\program Files\Directer\Letter\Formdata.fdf"
dAcroWin = Shell("C:\Program Files\Adobe\Acrobat 7.0\Reader\Acrord32.exe " & sDataFile, vbMaximizedFocus)

Open in new window

Question by:slakopa
  • 3
  • 2
LVL 48

Expert Comment

ID: 24155504
What version are you using of VB ?
Have you tried already to use only the file name without the path to Acrord32.exe ?

Author Comment

ID: 24155605
I'm using VB6. Yes I've tried just calling the FDF that just generates a different error. The error that I do get from 8 is after the reader loads it returns a fiFile Not found message.
LVL 48

Accepted Solution

jpaulino earned 1500 total points
ID: 24155632

Author Closing Comment

ID: 31570870
The solution while using a different technique had a lot to recommend it although it did directly answer the question it solved the problem.

Author Comment

ID: 24164080
Typo in last. Should have read "did NOT directly answer the question"

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

PDF files have been in the limelight due to its unmatched features.  Personal documents, emails, business reports and eBooks are all converted into PDF files owing to peerless features provided by it. Adding watermark to a PDF file is a method to se…
Hello there! As a developer I have modified and refactored the unit tests which was written by fellow developers in the past. On the course, I have gone through various misconceptions and technical challenges when it comes to implementation. I would…
In this first video of the three-part Xpdf series, we introduce and describe Xpdf, a library containing nine command line utilities that perform various functions on PDF files. We show where the library is located and how to download it, discuss its…
In a question here at Experts Exchange (https://www.experts-exchange.com/questions/29062564/Adobe-acrobat-reader-DC.html), a member asked how to create a signature in Adobe Acrobat Reader DC (the free Reader product, not the paid, full Acrobat produ…
Suggested Courses
Course of the Month15 days, 10 hours left to enroll

850 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