In order for this site to work correctly we need to store a small file (called a cookie) on your computer. Most every site in the world does this, however since the 25th of May 2011, by law we have to get your permission first. Please abandon the forum if you disagree.
Para que este foro funcione correctamente es necesario guardar un pequeño fichero (llamado cookie) en su ordenador. La mayoría de los sitios de Internet lo hacen, no obstante desde el 25 de Marzo de 2011 y por ley, necesitamos de su permiso con antelación. Abandone este foro si no está conforme.
Para que este foro funcione correctamente es necesario guardar un pequeño fichero (llamado cookie) en su ordenador. La mayoría de los sitios de Internet lo hacen, no obstante desde el 25 de Marzo de 2011 y por ley, necesitamos de su permiso con antelación. Abandone este foro si no está conforme.
Active X and Adobe
-
- Mensajes: 328
- Registrado: Mar Nov 21, 2006 2:10 am
Active X and Adobe
Howdy
Has anyone got a working example of a form with a PDF being opened in an
activex container
I have a form and have done this
WITH OBJECT ::oPDFDoc := TAcroPDF():New( Self )
:nAlign := alCLIENT
:Create()
:SetFocus()
::oPDFDoc:LoadFile("C:Contacts.pdf")
END
I just get the hatching which means something when wrong somewhere...
I have made sure Adobe isn't prompting for upgrades etc when it opens
Under task manager AcroRd32.exe starts but thats it.
I can start acrord32.exe from a command line and open a pdf without any
prompts appearing
I'm sure there was an example of a PDF in the samples, but I can no longer
find any of the OCX examples, including the explorer one
Regards Nick
Has anyone got a working example of a form with a PDF being opened in an
activex container
I have a form and have done this
WITH OBJECT ::oPDFDoc := TAcroPDF():New( Self )
:nAlign := alCLIENT
:Create()
:SetFocus()
::oPDFDoc:LoadFile("C:Contacts.pdf")
END
I just get the hatching which means something when wrong somewhere...
I have made sure Adobe isn't prompting for upgrades etc when it opens
Under task manager AcroRd32.exe starts but thats it.
I can start acrord32.exe from a command line and open a pdf without any
prompts appearing
I'm sure there was an example of a PDF in the samples, but I can no longer
find any of the OCX examples, including the explorer one
Regards Nick
-
- Mensajes: 328
- Registrado: Mar Nov 21, 2006 2:10 am
Active X and Adobe
BTW I'm using Acrobat Reader 7
"Nick Hilder" <nick_Nospam#$%@capsol.com%NOSPAM%.au> wrote in message
news:[email=47bb4f9d@ozsrv2.ozlan.local...]47bb4f9d@ozsrv2.ozlan.local...[/email]
> Howdy
>
> Has anyone got a working example of a form with a PDF being opened in an
> activex container
>
> I have a form and have done this
>
> WITH OBJECT ::oPDFDoc := TAcroPDF():New( Self )
> :nAlign := alCLIENT
> :Create()
> :SetFocus()
> ::oPDFDoc:LoadFile("C:Contacts.pdf")
> END
>
> I just get the hatching which means something when wrong somewhere...
>
> I have made sure Adobe isn't prompting for upgrades etc when it opens
>
> Under task manager AcroRd32.exe starts but thats it.
>
> I can start acrord32.exe from a command line and open a pdf without any
> prompts appearing
>
> I'm sure there was an example of a PDF in the samples, but I can no longer
> find any of the OCX examples, including the explorer one
>
> Regards Nick
>
"Nick Hilder" <nick_Nospam#$%@capsol.com%NOSPAM%.au> wrote in message
news:[email=47bb4f9d@ozsrv2.ozlan.local...]47bb4f9d@ozsrv2.ozlan.local...[/email]
> Howdy
>
> Has anyone got a working example of a form with a PDF being opened in an
> activex container
>
> I have a form and have done this
>
> WITH OBJECT ::oPDFDoc := TAcroPDF():New( Self )
> :nAlign := alCLIENT
> :Create()
> :SetFocus()
> ::oPDFDoc:LoadFile("C:Contacts.pdf")
> END
>
> I just get the hatching which means something when wrong somewhere...
>
> I have made sure Adobe isn't prompting for upgrades etc when it opens
>
> Under task manager AcroRd32.exe starts but thats it.
>
> I can start acrord32.exe from a command line and open a pdf without any
> prompts appearing
>
> I'm sure there was an example of a PDF in the samples, but I can no longer
> find any of the OCX examples, including the explorer one
>
> Regards Nick
>
-
- Mensajes: 328
- Registrado: Mar Nov 21, 2006 2:10 am
Active X and Adobe
BTW I'm using Acrobat Reader 7
"Nick Hilder" <nick_Nospam#$%@capsol.com%NOSPAM%.au> wrote in message
news:[email=47bb4f9d@ozsrv2.ozlan.local...]47bb4f9d@ozsrv2.ozlan.local...[/email]
> Howdy
>
> Has anyone got a working example of a form with a PDF being opened in an
> activex container
>
> I have a form and have done this
>
> WITH OBJECT ::oPDFDoc := TAcroPDF():New( Self )
> :nAlign := alCLIENT
> :Create()
> :SetFocus()
> ::oPDFDoc:LoadFile("C:Contacts.pdf")
> END
>
> I just get the hatching which means something when wrong somewhere...
>
> I have made sure Adobe isn't prompting for upgrades etc when it opens
>
> Under task manager AcroRd32.exe starts but thats it.
>
> I can start acrord32.exe from a command line and open a pdf without any
> prompts appearing
>
> I'm sure there was an example of a PDF in the samples, but I can no longer
> find any of the OCX examples, including the explorer one
>
> Regards Nick
>
"Nick Hilder" <nick_Nospam#$%@capsol.com%NOSPAM%.au> wrote in message
news:[email=47bb4f9d@ozsrv2.ozlan.local...]47bb4f9d@ozsrv2.ozlan.local...[/email]
> Howdy
>
> Has anyone got a working example of a form with a PDF being opened in an
> activex container
>
> I have a form and have done this
>
> WITH OBJECT ::oPDFDoc := TAcroPDF():New( Self )
> :nAlign := alCLIENT
> :Create()
> :SetFocus()
> ::oPDFDoc:LoadFile("C:Contacts.pdf")
> END
>
> I just get the hatching which means something when wrong somewhere...
>
> I have made sure Adobe isn't prompting for upgrades etc when it opens
>
> Under task manager AcroRd32.exe starts but thats it.
>
> I can start acrord32.exe from a command line and open a pdf without any
> prompts appearing
>
> I'm sure there was an example of a PDF in the samples, but I can no longer
> find any of the OCX examples, including the explorer one
>
> Regards Nick
>
-
- Mensajes: 328
- Registrado: Mar Nov 21, 2006 2:10 am
Active X and Adobe
Anyone?
"Nick Hilder" <nick_Nospam#$%@capsol.com%NOSPAM%.au> wrote in message
news:[email=47bb4f9d@ozsrv2.ozlan.local...]47bb4f9d@ozsrv2.ozlan.local...[/email]
> Howdy
>
> Has anyone got a working example of a form with a PDF being opened in an
> activex container
>
> I have a form and have done this
>
> WITH OBJECT ::oPDFDoc := TAcroPDF():New( Self )
> :nAlign := alCLIENT
> :Create()
> :SetFocus()
> ::oPDFDoc:LoadFile("C:Contacts.pdf")
> END
>
> I just get the hatching which means something when wrong somewhere...
>
> I have made sure Adobe isn't prompting for upgrades etc when it opens
>
> Under task manager AcroRd32.exe starts but thats it.
>
> I can start acrord32.exe from a command line and open a pdf without any
> prompts appearing
>
> I'm sure there was an example of a PDF in the samples, but I can no longer
> find any of the OCX examples, including the explorer one
>
> Regards Nick
>
"Nick Hilder" <nick_Nospam#$%@capsol.com%NOSPAM%.au> wrote in message
news:[email=47bb4f9d@ozsrv2.ozlan.local...]47bb4f9d@ozsrv2.ozlan.local...[/email]
> Howdy
>
> Has anyone got a working example of a form with a PDF being opened in an
> activex container
>
> I have a form and have done this
>
> WITH OBJECT ::oPDFDoc := TAcroPDF():New( Self )
> :nAlign := alCLIENT
> :Create()
> :SetFocus()
> ::oPDFDoc:LoadFile("C:Contacts.pdf")
> END
>
> I just get the hatching which means something when wrong somewhere...
>
> I have made sure Adobe isn't prompting for upgrades etc when it opens
>
> Under task manager AcroRd32.exe starts but thats it.
>
> I can start acrord32.exe from a command line and open a pdf without any
> prompts appearing
>
> I'm sure there was an example of a PDF in the samples, but I can no longer
> find any of the OCX examples, including the explorer one
>
> Regards Nick
>
-
- Mensajes: 328
- Registrado: Mar Nov 21, 2006 2:10 am
Active X and Adobe
Anyone?
"Nick Hilder" <nick_Nospam#$%@capsol.com%NOSPAM%.au> wrote in message
news:[email=47bb4f9d@ozsrv2.ozlan.local...]47bb4f9d@ozsrv2.ozlan.local...[/email]
> Howdy
>
> Has anyone got a working example of a form with a PDF being opened in an
> activex container
>
> I have a form and have done this
>
> WITH OBJECT ::oPDFDoc := TAcroPDF():New( Self )
> :nAlign := alCLIENT
> :Create()
> :SetFocus()
> ::oPDFDoc:LoadFile("C:Contacts.pdf")
> END
>
> I just get the hatching which means something when wrong somewhere...
>
> I have made sure Adobe isn't prompting for upgrades etc when it opens
>
> Under task manager AcroRd32.exe starts but thats it.
>
> I can start acrord32.exe from a command line and open a pdf without any
> prompts appearing
>
> I'm sure there was an example of a PDF in the samples, but I can no longer
> find any of the OCX examples, including the explorer one
>
> Regards Nick
>
"Nick Hilder" <nick_Nospam#$%@capsol.com%NOSPAM%.au> wrote in message
news:[email=47bb4f9d@ozsrv2.ozlan.local...]47bb4f9d@ozsrv2.ozlan.local...[/email]
> Howdy
>
> Has anyone got a working example of a form with a PDF being opened in an
> activex container
>
> I have a form and have done this
>
> WITH OBJECT ::oPDFDoc := TAcroPDF():New( Self )
> :nAlign := alCLIENT
> :Create()
> :SetFocus()
> ::oPDFDoc:LoadFile("C:Contacts.pdf")
> END
>
> I just get the hatching which means something when wrong somewhere...
>
> I have made sure Adobe isn't prompting for upgrades etc when it opens
>
> Under task manager AcroRd32.exe starts but thats it.
>
> I can start acrord32.exe from a command line and open a pdf without any
> prompts appearing
>
> I'm sure there was an example of a PDF in the samples, but I can no longer
> find any of the OCX examples, including the explorer one
>
> Regards Nick
>
Active X and Adobe
Nick!
>> I'm sure there was an example of a PDF in the samples, but I can no
>> longer find any of the OCX examples, including the explorer one
For me, the example from XailerSamplesOCXTest1 is working fine (see
Menuitem Test|PDF).
But I have Acrobat Reader 5 on my XP machine (not 7).
Regards, Oleg.
>> I'm sure there was an example of a PDF in the samples, but I can no
>> longer find any of the OCX examples, including the explorer one
For me, the example from XailerSamplesOCXTest1 is working fine (see
Menuitem Test|PDF).
But I have Acrobat Reader 5 on my XP machine (not 7).
Regards, Oleg.
Active X and Adobe
Nick!
>> I'm sure there was an example of a PDF in the samples, but I can no
>> longer find any of the OCX examples, including the explorer one
For me, the example from XailerSamplesOCXTest1 is working fine (see
Menuitem Test|PDF).
But I have Acrobat Reader 5 on my XP machine (not 7).
Regards, Oleg.
>> I'm sure there was an example of a PDF in the samples, but I can no
>> longer find any of the OCX examples, including the explorer one
For me, the example from XailerSamplesOCXTest1 is working fine (see
Menuitem Test|PDF).
But I have Acrobat Reader 5 on my XP machine (not 7).
Regards, Oleg.
Active X and Adobe
Nick,
> I'm sure there was an example of a PDF in the samples, but I can no longer
> find any of the OCX examples, including the explorer one
The sample is at xailersamplesocxtest1
However, AFAIR Adobe changed the way the ocx has to be instantiated, and
it's dependant on the acrobat version. So, the (possibly) best way to do it
is using the webbrowser ocx and let it to load the correct acrobat
component.
--
Regards,
Jose F. Gimenez
http://www.xailer.com
http://www.xailer.info
> I'm sure there was an example of a PDF in the samples, but I can no longer
> find any of the OCX examples, including the explorer one
The sample is at xailersamplesocxtest1
However, AFAIR Adobe changed the way the ocx has to be instantiated, and
it's dependant on the acrobat version. So, the (possibly) best way to do it
is using the webbrowser ocx and let it to load the correct acrobat
component.
--
Regards,
Jose F. Gimenez
http://www.xailer.com
http://www.xailer.info
Active X and Adobe
Nick,
> I'm sure there was an example of a PDF in the samples, but I can no longer
> find any of the OCX examples, including the explorer one
The sample is at xailersamplesocxtest1
However, AFAIR Adobe changed the way the ocx has to be instantiated, and
it's dependant on the acrobat version. So, the (possibly) best way to do it
is using the webbrowser ocx and let it to load the correct acrobat
component.
--
Regards,
Jose F. Gimenez
http://www.xailer.com
http://www.xailer.info
> I'm sure there was an example of a PDF in the samples, but I can no longer
> find any of the OCX examples, including the explorer one
The sample is at xailersamplesocxtest1
However, AFAIR Adobe changed the way the ocx has to be instantiated, and
it's dependant on the acrobat version. So, the (possibly) best way to do it
is using the webbrowser ocx and let it to load the correct acrobat
component.
--
Regards,
Jose F. Gimenez
http://www.xailer.com
http://www.xailer.info
-
- Mensajes: 1310
- Registrado: Mié Sep 26, 2007 7:12 pm
Active X and Adobe
Hi Nick, depending of the version of Acrobat Reader the source code you
proposed works well or not.
This is the only way to view PDFs with all Acrobat versions.
http://www.binarygeneration.com/Demos/P ... fViewer.zi p
Regards.
proposed works well or not.
This is the only way to view PDFs with all Acrobat versions.
http://www.binarygeneration.com/Demos/P ... fViewer.zi p
Regards.
-
- Mensajes: 1310
- Registrado: Mié Sep 26, 2007 7:12 pm
Active X and Adobe
Hi Nick, depending of the version of Acrobat Reader the source code you
proposed works well or not.
This is the only way to view PDFs with all Acrobat versions.
http://www.binarygeneration.com/Demos/P ... fViewer.zi p
Regards.
proposed works well or not.
This is the only way to view PDFs with all Acrobat versions.
http://www.binarygeneration.com/Demos/P ... fViewer.zi p
Regards.
Active X and Adobe
Nick,
> This is the only way to view PDFs with all Acrobat versions.
>
> http://www.binarygeneration.com/Demos/P ... fViewer.zi p
>
There is also Foxit Reader from www.foxitsoftware.com
Regards, Oleg
> This is the only way to view PDFs with all Acrobat versions.
>
> http://www.binarygeneration.com/Demos/P ... fViewer.zi p
>
There is also Foxit Reader from www.foxitsoftware.com
Regards, Oleg
Active X and Adobe
Nick,
> This is the only way to view PDFs with all Acrobat versions.
>
> http://www.binarygeneration.com/Demos/P ... fViewer.zi p
>
There is also Foxit Reader from www.foxitsoftware.com
Regards, Oleg
> This is the only way to view PDFs with all Acrobat versions.
>
> http://www.binarygeneration.com/Demos/P ... fViewer.zi p
>
There is also Foxit Reader from www.foxitsoftware.com
Regards, Oleg