How do I use VB6 Shell with acrobat reader 8

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

Who is Participating?
Jorge PaulinoConnect With a Mentor IT Pro/DeveloperCommented:
Jorge PaulinoIT Pro/DeveloperCommented:
What version are you using of VB ?
Have you tried already to use only the file name without the path to Acrord32.exe ?
slakopaAuthor Commented:
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.
slakopaAuthor Commented:
The solution while using a different technique had a lot to recommend it although it did directly answer the question it solved the problem.
slakopaAuthor Commented:
Typo in last. Should have read "did NOT directly answer the question"
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.