Lorenz
January 29th, 2009, 02:11 AM
We have a document storage system where documents are stored in an SQL server (in a column of type 'image'), and have written a COM component (written in VB6) for accessing these documents. We open them with
myOleControl.DoVerb vbOLEOpen
If only the Foxit reader is installed (no Acrobat Readers installed) and declared the default programm for pdfs, then the following error appears:
336 Component not correctly registered
If both, Foxit and Acrobat, are installed, then pdfs will simply be opened with Acrobat, with no error. We would like to be able to have the choice. If somebody wants to use Acrobat, then pdfs should open with Acrobat, and if somebody has Foxit, then pdfs should be opened by Foxit. What's here the problem with Foxit? I need to say that if I double click a pdf in Windows, then Foxit works perfectly.
myOleControl.DoVerb vbOLEOpen
If only the Foxit reader is installed (no Acrobat Readers installed) and declared the default programm for pdfs, then the following error appears:
336 Component not correctly registered
If both, Foxit and Acrobat, are installed, then pdfs will simply be opened with Acrobat, with no error. We would like to be able to have the choice. If somebody wants to use Acrobat, then pdfs should open with Acrobat, and if somebody has Foxit, then pdfs should be opened by Foxit. What's here the problem with Foxit? I need to say that if I double click a pdf in Windows, then Foxit works perfectly.