bincem
asked on
Shell function
Hi
I have problem for opening files in the later versions of Acrobat. How can I modify this line to open the file in any versions of acrobat?
dblfile = Shell("C:\Program Files\Adobe\Acrobat 5.0\Reader\AcroRd32.exe ""C:\Program Files\CheckSystem\External Data\Logical Information\Logical Time\Myfile.pdf", vbMaximizedFocus)
Thanks for your suggestion.
I have problem for opening files in the later versions of Acrobat. How can I modify this line to open the file in any versions of acrobat?
dblfile = Shell("C:\Program Files\Adobe\Acrobat 5.0\Reader\AcroRd32.exe ""C:\Program Files\CheckSystem\External
Thanks for your suggestion.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Yes, use ShellExecute API
btw, sajuks, i think the only lines originally from me is Public Function StartDoc ... not big improvement just make it easier to use (yes many others may have same codes as mine) , anyway just my $0.02 ;-) cheers
btw, sajuks, i think the only lines originally from me is Public Function StartDoc ... not big improvement just make it easier to use (yes many others may have same codes as mine) , anyway just my $0.02 ;-) cheers
ASKER
Hi sajuks.
That is the perfect solution.
Thank you
Bince
That is the perfect solution.
Thank you
Bince
Thanks for the points and grade..
So I better post only the function you need and no longer to the complete explanation of how and what shellexecute is then for getting the points !!!
hey Dhaest, if u see the psots we've both posted at the same time...i dont mind u asking for a split from CS for it.
:-)
:-)
To "sajuks": Now is just see it that we both posted at the same time, so just ignore my previous remark.
Thx for the info.
Thx for the info.
ASKER
Hi Dhaest,
Infact both post came in the same time and I was in a hurry to resolve that issue.
sajuks posted the code along with his answer. I just tried 'sajuks' code and it did work at first time itself. Immediatly I accepted the answer. Now only I realized both of you posted the same solution. Thanks a lot for your effort.
Bince
Infact both post came in the same time and I was in a hurry to resolve that issue.
sajuks posted the code along with his answer. I just tried 'sajuks' code and it did work at first time itself. Immediatly I accepted the answer. Now only I realized both of you posted the same solution. Thanks a lot for your effort.
Bince
http://support.microsoft.com/default.aspx?scid=http://support.microsoft.com:80/support/kb/articles/q170/9/18.asp&NoWebContent=1