Current position:  Home > Default > Want to add by code a short cut of a pdf file to an rtb in vb6, using adobe reader 9

Want to add by code a short cut of a pdf file to an rtb in vb6, using adobe reader 9

Time:October 11
Advertisement
Using vb6 code, I add a pdf file from a list to a richtextbox.
On versions 5 & 6 a "short cut" is placed in the rtb which is what I want so that the document can be double-clicked to view at a later date.
On versions 8 & 9 the file opens automatically "within" the rtb.
Can I make version 9 work the same as earlier versions.
Thanks
Advertisement
We have PDF documents stored on server-side, the ActiveX control and Adobe Reader are installed on client-side.
When users open our web page, click our "Print weekly report directly" button, the ActiveX control on client will be called, and perform the above coding. It tries to download the PDF document from server to client, and pass it to the printer on client silently by using FilePrintSilent function.
The report can be printed, but not correct. It involves some unexpected characters which should be English or Traditional Chinese originally, as shown in the attached picture.
Thanks in advance!
William