Re: Late Binding with event handling
- From: "jz" <jzhang@xxxxxxxxxxxx>
- Date: 15 Mar 2006 11:28:15 -0800
Thank you Micheal,
Yes, I can do it , but the only thing is that when I build my program,
the VB reference is set automatically to OL of build machine, say, if I
install Outlook 2002, then it will reference to MSOUTL.OLB and
MSO.dll;
That is not good for outlook2000, which has different properties of
Object;
I tried in my program
as:
detect the Outlook version
if outlook 2000
use copy imange to Clipboard. display as Icon
else
use property .Picture of commandbarbutton
.Picture = myImage
end if
then if I build it on the machine has office 2000, it won't work for
outlook 2002; the image is not displayed
The key issue is the project reference, if I can change it in the run
time, problem is solved
Do I understand what you mean?
If not, can you show me a small example?
thank you very much
JZ
.
- Follow-Ups:
- Re: Late Binding with event handling
- From: Michael Bauer
- Re: Late Binding with event handling
- References:
- Late Binding with event handling
- From: jz
- Re: Late Binding with event handling
- From: Michael Bauer
- Late Binding with event handling
- Prev by Date: Re: Using the a Template
- Next by Date: Re: Using the a Template
- Previous by thread: Re: Late Binding with event handling
- Next by thread: Re: Late Binding with event handling
- Index(es):