slakopa
asked on
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)
ASKER
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.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
The solution while using a different technique had a lot to recommend it although it did directly answer the question it solved the problem.
ASKER
Typo in last. Should have read "did NOT directly answer the question"
Have you tried already to use only the file name without the path to Acrord32.exe ?