Opening Adobe Acrobat 8.0 from VB code

I have a VB 6.0 app.  I can successfully open Adobe Acrobat 7.0 from my VB code, with the following line:
pat1 = "C:\Program Files\Adobe\Acrobat 7.0\Reader\AcroRd32.exe " ', vbNormalFocus '
pat2 = FolderFile    
pa = pat1 & pat2
Shell pa, vbMaximizedFocus

However, I cannot open Adobe Acrobat 8.0 from VB code, even though I am using the same line:
pat1 = "C:\Program Files\Adobe\Reader 8.0\Reader\AcroRd32.exe " ', vbNormalFocus '
pat2 = FolderFile    
pa = pat1 & pat2
Shell pa, vbMaximizedFocus

Thanks ahead of time.
 
clintonJAsked:
Who is Participating?
 
Karl Heinz KremerConnect With a Mentor Commented:
Are you using Acrobat or Reader? Your path points to Reader, but your question suggests that you are running Acrobat (the full version). Are you sure that Reader 8 is installed? The path to Acrobat would be
C:\Program Files\Adobe\Acrobat 8.0\Acrobat\Acrobat.exe
0
 
EDDYKTCommented:
can you start the adobe by

pat1 = "C:\Program Files\Adobe\Reader 8.0\Reader\AcroRd32.exe " ', vbNormalFocus '
pat2 = FolderFile    
pa = pat1 & pat2
Shell pat1, vbMaximizedFocus   ' change this line

what is the value of pa?
0
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.