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.

OLE Events

Xailer English public forum
Responder
Nick Hilder
Mensajes: 328
Registrado: Mar Nov 21, 2006 2:10 am

OLE Events

Mensaje por Nick Hilder »

Hi
I found an example of loading an event handler into MS Explorer, it's in XHB
Are we able to do this type of thing in Xailer? I know XHB can do the OLE
Server, but is the OLEEVENTS code base commercial as well?
I haven't bothered to renew my XHB subscription as I have never really used
XHB for anything because of the lack of IDE etc.
Nick
Avatar de Usuario
jfgimenez
Site Admin
Mensajes: 5718
Registrado: Lun Abr 06, 2015 8:48 pm
Contactar:

OLE Events

Mensaje por jfgimenez »

Nick,
> I found an example of loading an event handler into MS Explorer, it's in
> XHB
>
> Are we able to do this type of thing in Xailer? I know XHB can do the OLE
> Server, but is the OLEEVENTS code base commercial as well?
>
> I haven't bothered to renew my XHB subscription as I have never really
> used XHB for anything because of the lack of IDE etc.
The Xailer's OLE container for OCX supports events too. There is even a
sample of showing an IE control in a Xailer's form. See
XailerSamplesOCXTest1
--
Regards,
Jose F. Gimenez
http://www.xailer.com
http://www.xailer.info
José F. Giménez
[Equipo de Xailer / Xailer team]
http://www.xailer.com
http://www.xailer.info
Nick Hilder
Mensajes: 328
Registrado: Mar Nov 21, 2006 2:10 am

OLE Events

Mensaje por Nick Hilder »

Hi Jose
How did you import the Web Browser example, I don't get that in my list of
activex things
Also, any idea what I import to capture outlook calendar events
I managed to get the Outlook View Control in and working, only to realise
later I couldn't capture the events, it's more just for adding, moving etc
Nick
"Jose F. Gimenez" <jfgimenez@wanadoo.es> wrote in message
news:[email=47131fbc@ozsrv2.ozlan.local...]47131fbc@ozsrv2.ozlan.local...[/email]
> Nick,
>
>> I found an example of loading an event handler into MS Explorer, it's in
>> XHB
>>
>> Are we able to do this type of thing in Xailer? I know XHB can do the OLE
>> Server, but is the OLEEVENTS code base commercial as well?
>>
>> I haven't bothered to renew my XHB subscription as I have never really
>> used XHB for anything because of the lack of IDE etc.
>
> The Xailer's OLE container for OCX supports events too. There is even a
> sample of showing an IE control in a Xailer's form. See
> XailerSamplesOCXTest1
>
> --
> Regards,
>
> Jose F. Gimenez
> http://www.xailer.com
> http://www.xailer.info
>
Avatar de Usuario
jfgimenez
Site Admin
Mensajes: 5718
Registrado: Lun Abr 06, 2015 8:48 pm
Contactar:

OLE Events

Mensaje por jfgimenez »

Nick,
> How did you import the Web Browser example, I don't get that in my list of
> activex things
Use the option "Components" > "Import ActiveX". It creates automatically a
class to declare the OCX.
> Also, any idea what I import to capture outlook calendar events
>
> I managed to get the Outlook View Control in and working, only to realise
> later I couldn't capture the events, it's more just for adding, moving etc
Please, send us an example to test it.
--
Regards,
Jose F. Gimenez
http://www.xailer.com
http://www.xailer.info
José F. Giménez
[Equipo de Xailer / Xailer team]
http://www.xailer.com
http://www.xailer.info
Nick Hilder
Mensajes: 328
Registrado: Mar Nov 21, 2006 2:10 am

OLE Events

Mensaje por Nick Hilder »

Hi Jose
Sorry, I was a bit unclear
I'm familar with the Components->Import Active X
When I bring up the Active List I can't seen any reference to the Office
core system nor the System.Explorer that you used in your example
My question is, what happens when things are not in the list?
Cheers
Nick
"Jose F. Gimenez" <jfgimenez@wanadoo.es> wrote in message
news:[email=4714a3cb@ozsrv2.ozlan.local...]4714a3cb@ozsrv2.ozlan.local...[/email]
> Nick,
>
>> How did you import the Web Browser example, I don't get that in my list
>> of activex things
>
> Use the option "Components" > "Import ActiveX". It creates automatically a
> class to declare the OCX.
>
>
>> Also, any idea what I import to capture outlook calendar events
>>
>> I managed to get the Outlook View Control in and working, only to realise
>> later I couldn't capture the events, it's more just for adding, moving
>> etc
>
> Please, send us an example to test it.
>
> --
> Regards,
>
> Jose F. Gimenez
> http://www.xailer.com
> http://www.xailer.info
>
Avatar de Usuario
jfgimenez
Site Admin
Mensajes: 5718
Registrado: Lun Abr 06, 2015 8:48 pm
Contactar:

OLE Events

Mensaje por jfgimenez »

Nick,
> Sorry, I was a bit unclear
>
> I'm familar with the Components->Import Active X
>
> When I bring up the Active List I can't seen any reference to the Office
> core system nor the System.Explorer that you used in your example
>
> My question is, what happens when things are not in the list?
Only ActiveX controls (OCX) appear in that list, not any ActiveX component.
Many ActiveX objects are components, not controls, and can be mannaged
directly using TOleAuto() instead of the OCX container. I.e.
Word.Application, Excel.Application, etc. are not controls but components.
One of the main reasons why components can't be 'imported' is that they
haven't a 'type library', that is, a complete description of itself, its
methods, properties, events and constants. ITOH, the presence of a 'type
library' is mandatory for every OCX, so Xailer can use it to create its
envelope class.
--
Regards,
Jose F. Gimenez
http://www.xailer.com
http://www.xailer.info
José F. Giménez
[Equipo de Xailer / Xailer team]
http://www.xailer.com
http://www.xailer.info
Mahanimann
Mensajes: 216
Registrado: Dom Sep 23, 2007 11:08 pm

OLE Events

Mensaje por Mahanimann »

Jose,
> Only ActiveX controls (OCX) appear in that list, not any ActiveX
> component. Many ActiveX objects are components, not controls, and can be
> mannaged directly using TOleAuto() instead of the OCX container. I.e.
> Word.Application, Excel.Application, etc. are not controls but components.
>
> One of the main reasons why components can't be 'imported' is that they
> haven't a 'type library', that is, a complete description of itself, its
> methods, properties, events and constants. ITOH, the presence of a 'type
> library' is mandatory for every OCX, so Xailer can use it to create its
> envelope class.
A good and explanatory answer. So to encourage you to continue answering
this way I just want to remind you that it's not only the querist that reads
this stuff, there's others too, especially newbies. (And considering the
rising power of Xailer, there is a great danger of you getting a lot of
them...:-) )
Regards,
Paal
Responder