Página 1 de 1

OLE Events

Publicado: Lun Oct 15, 2007 7:18 am
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

OLE Events

Publicado: Lun Oct 15, 2007 10:07 am
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

OLE Events

Publicado: Mar Oct 16, 2007 4:05 am
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
>

OLE Events

Publicado: Mar Oct 16, 2007 1:42 pm
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

OLE Events

Publicado: Mar Oct 16, 2007 11:43 pm
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
>

OLE Events

Publicado: Mié Oct 17, 2007 10:38 am
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

OLE Events

Publicado: Mié Oct 17, 2007 10:09 pm
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