Hello,
I find myself in charge of a VB 6 application that loads a PDF file
onto a form using the PDF.ocx control. The pdf file is loading fine on
my machine and on one other development machine but on four other
machines, when I load the form with the PDF ocx on it, when Adobe
starts to open it gets a memory access error and crashes the entire
application.
On my machine I have a full version of Adobe 5 and on the other
development machine on which the application works, Adobe 5.0 reader is
installed. On the other machines there's a mix of Full and Reader
Adobe 5.
I have tried installing Adobe 6 but this has not resolved the error.
My question is, has anyone else come across this problem. If so is it
anything to do with the version of Adobe installed on the machine and
are there any special considerations for registering the application?
Thanks for your help
luvin lunch
|
|
0
|
|
|
|
Reply
|
martina_mullin (23)
|
10/13/2005 12:54:41 PM |
|
"Luvin lunch" <martina_mullin@o2.ie> wrote:
>I find myself in charge of a VB 6 application that loads a PDF file
>onto a form using the PDF.ocx control. The pdf file is loading fine on
>my machine and on one other development machine but on four other
>machines, when I load the form with the PDF ocx on it, when Adobe
>starts to open it gets a memory access error and crashes the entire
>application.
It's difficult to give specific advice. (The only really good advice
would have been given before you started, not to use PDF.OCX).
PDF.OCX is an unsupported, undocumented component not intended for
programming. It was deleted after Acrobat/Reader 6.
Acrobat/Reader 7 include a new, supported and documented alternative.
If migrating to this latest version is practical, then redoing the
work with this new component might be a reasonable way forward.
----------------------------------------
Aandi Inston quite@dial.pipex.com http://www.quite.com
Please support usenet! Post replies and follow-ups, don't e-mail them.
|
|
0
|
|
|
|
Reply
|
quite
|
10/13/2005 1:19:33 PM
|
|
Hi Aandi,
Thanks a million for the reply to my query. I have been looking for an
alternative to use instead of the PDF.ocx. I'd read that the ocx came
with Adobe 4 but I didn't realise it had been scrapped by 6.
Anyway, I'm going to change the code to use an alternative and I think
the easiest thing would be to use what comes with Adobe 7. Could you
please tell me the name of the replacement as I've installed Adobe
Reader 7 and there is no ocx with it. Is it one of the dlls?
It was great to get some feedback at last so thanks again.
Aandi Inston wrote:
> "Luvin lunch" <martina_mullin@o2.ie> wrote:
>
> >I find myself in charge of a VB 6 application that loads a PDF file
> >onto a form using the PDF.ocx control. The pdf file is loading fine on
> >my machine and on one other development machine but on four other
> >machines, when I load the form with the PDF ocx on it, when Adobe
> >starts to open it gets a memory access error and crashes the entire
> >application.
>
> It's difficult to give specific advice. (The only really good advice
> would have been given before you started, not to use PDF.OCX).
>
> PDF.OCX is an unsupported, undocumented component not intended for
> programming. It was deleted after Acrobat/Reader 6.
>
> Acrobat/Reader 7 include a new, supported and documented alternative.
> If migrating to this latest version is practical, then redoing the
> work with this new component might be a reasonable way forward.
> ----------------------------------------
> Aandi Inston quite@dial.pipex.com http://www.quite.com
> Please support usenet! Post replies and follow-ups, don't e-mail them.
|
|
0
|
|
|
|
Reply
|
Luvin
|
10/13/2005 3:57:17 PM
|
|
"Luvin lunch" <martina_mullin@o2.ie> wrote:
>Anyway, I'm going to change the code to use an alternative and I think
>the easiest thing would be to use what comes with Adobe 7. Could you
>please tell me the name of the replacement as I've installed Adobe
>Reader 7 and there is no ocx with it. Is it one of the dlls?
I don't know: the place to start is the documentation, since this time
around Adobe documented. IAC Reference and IAC Overview,
http://partners.adobe.com/public/developer/acrobat/devcenter.html
(free registration required).
This documents a lot of stuff, which except as noted is Acrobat only.
All the OLE is Acrobat only *except* the new axAcroPDF interface.
----------------------------------------
Aandi Inston quite@dial.pipex.com http://www.quite.com
Please support usenet! Post replies and follow-ups, don't e-mail them.
|
|
0
|
|
|
|
Reply
|
quite
|
10/13/2005 6:14:40 PM
|
|
Hi Aandi,
I had a look at the adobe website and found the axAcroPDF interface you
were talking about. I toyed with the idea of wrapping the interface in
a control to replace the pdf.ocx I was using originally but decided to
go with a third party control that's reader independent instead. As
far as I could tell, in VB 6 the axAcroPDF requires late binding and
had some behaviours I didn't want (e.g. only opening a file properly if
there's no other version of Adobe open on the machine).
Just replying to follow up and also to thank for your guidance. It was
much appreciated.
|
|
0
|
|
|
|
Reply
|
Luvin
|
10/26/2005 9:12:55 AM
|
|
|
4 Replies
132 Views
(page loaded in 0.09 seconds)
Similiar Articles: MS Excel - language independent formula and commands - comp.lang ...oChart:Legend:position := 1 crashes when I send functions ... VO 2.8 SP3 with Source Control - comp.lang.clipper.visual ... Ole Automation Question - comp.text.pdf MS Excel ... Matlab GUIDE stability issue - comp.soft-sys.matlabAfter using visual studio to code a user interface in C# ... appears to help some, but in general I expect a crash ... I made a small experiment: I open Chrome, PDF reader ... Embed Command Window in GUI - comp.soft-sys.matlab... window, and thus probably need to crash back to ... multiple pages per sheet? - comp.text.pdf ... Using Reader's GUI interface, I printed a docu... ... in Visual Basic or ... Where did Fortran go? - comp.lang.fortranThen Microsoft released Visual Basic and Visual Studio in 1994 ? which killed off Turbo ... broken, the particular brokenness had not (yet???) been demonstrated to crash ... Sampling: What Nyquist Didn't Say, and What to Do About It - comp ...... www.wescottdesign.com/articles/Sampling/sampling.pdf ... and more reliably, but he's just building on the basic ... to *hear* certain phonetic sounds than to *see* visual ... Simple code encryption (xor) problem - comp.lang.asm.x86 ...... just read latest info about LWP (AMD 43724.pdf) and ... of an error are >>> much more serious (app or OS crash ... Visual Basic 6 and Earlier ... BTW: For code cracking, the ... [comp.publish.cdrom] CD-Recordable FAQ, Part 1/4 - comp.publish ...Archive-name: cdrom/cd-recordable/part1 Posting-Frequency: monthly Last-modified: 2008/10/09 Version: 2.71 Send corrections and updates to And... Iterating over a String - comp.lang.java.helpWhen your program crashes, or does the wrong thing, it ... http://www.unicode.org/charts/PDF/U1D400.pdf ... using the word alphabet rather loosely to mean the basic ... top 10 uses for random data compression?? anyone? - comp ...things like stock-markets would crash quickly, when ... for a discreate case and distributed with a normal pdf ... of unusual automatic keys closer ease as the basic verbs ... Tutorial: Programming in Visual Basic 6.02 =@ • 2 A # > Private Sub Quit_Click() Unload me End End Sub A VISUAL BASIC .NET CRASH COURSE7 A VISUAL BASIC .NET CRASH COURSE Visual Basic (VB), for all intensive purposes, has arrived, and it’s just as powerful and flexible as any other .NET language ... 7/20/2012 7:49:16 PM
|