Outlook Banter

Outlook Banter (http://www.outlookbanter.com/)
-   Add-ins for Outlook (http://www.outlookbanter.com/add-ins-outlook/)
-   -   deploy 2003 vsto addin on outlook 2007 problem (http://www.outlookbanter.com/add-ins-outlook/69955-deploy-2003-vsto-addin-outlook.html)

lokesh April 8th 08 11:19 AM

deploy 2003 vsto addin on outlook 2007 problem
 
Hi,

Have created and deployed successfully, an outlook vsto addin for 2003. But
i am unable to install it on office 2007 for one of the machines as, it is
unable to install O2003PIA as it also requires office sp2. Whenever i try to
install offce sp2 it says product version not found. Is it because of the
registry problem since i do see the files and folders for 2003 on the system.
Is there something i am missing.



Ken Slovak - [MVP - Outlook] April 8th 08 04:48 PM

deploy 2003 vsto addin on outlook 2007 problem
 
A VSTO addin compiled under Outlook 2003 will run unchanged on Outlook 2007.
It won't have support for the ribbon, forms regions or other new stuff but
it will just work.

Are you following the deployment walkthroughs for VSTO applications, using
that documentation I've never had a VSTO Outlook 2003 addin try to install
Outlook 2003 or the Outlook 2003 PIA's on an Outlook 2007 machine. You
wouldn't want that anyway, last registered wins in those cases so that would
make the Outlook 2007 PIA unavailable for that machine.

Is the Outlook 2007 PIA installed on that problem machine? If it is the code
should just install and run.

--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Professional Programming Outlook 2007
Reminder Manager, Extended Reminders, Attachment Options
http://www.slovaktech.com/products.htm


"lokesh" wrote in message
...
Hi,

Have created and deployed successfully, an outlook vsto addin for 2003.
But
i am unable to install it on office 2007 for one of the machines as, it is
unable to install O2003PIA as it also requires office sp2. Whenever i try
to
install offce sp2 it says product version not found. Is it because of the
registry problem since i do see the files and folders for 2003 on the
system.
Is there something i am missing.




lokesh April 9th 08 06:48 AM

deploy 2003 vsto addin on outlook 2007 problem
 
Thanks Ken for your reply. Have solved the problem. Yes O2003PIA was
installed. But had added it in launch condition, which would search for it
and could not fine. I have removed the launch condition, so its not
obstructing it now from installing.


"Ken Slovak - [MVP - Outlook]" wrote:

A VSTO addin compiled under Outlook 2003 will run unchanged on Outlook 2007.
It won't have support for the ribbon, forms regions or other new stuff but
it will just work.

Are you following the deployment walkthroughs for VSTO applications, using
that documentation I've never had a VSTO Outlook 2003 addin try to install
Outlook 2003 or the Outlook 2003 PIA's on an Outlook 2007 machine. You
wouldn't want that anyway, last registered wins in those cases so that would
make the Outlook 2007 PIA unavailable for that machine.

Is the Outlook 2007 PIA installed on that problem machine? If it is the code
should just install and run.

--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Professional Programming Outlook 2007
Reminder Manager, Extended Reminders, Attachment Options
http://www.slovaktech.com/products.htm


"lokesh" wrote in message
...
Hi,

Have created and deployed successfully, an outlook vsto addin for 2003.
But
i am unable to install it on office 2007 for one of the machines as, it is
unable to install O2003PIA as it also requires office sp2. Whenever i try
to
install offce sp2 it says product version not found. Is it because of the
registry problem since i do see the files and folders for 2003 on the
system.
Is there something i am missing.





lokesh April 10th 08 03:33 PM

deploy 2003 vsto addin on outlook 2007 problem
 
Though, the addin got installed, its not behaving the way it should even
though i got it running with the same configuration in other machine.

The problem is a button which enables/disables other controls on the
toolbar, works for the first time the message (inspector) window is opened
after the outlook is opened. But then when i close the first window and open
another window, it stops disabling/enabling other controls. No exceptions are
occurring and cannot figure out what the problem could be.


"lokesh" wrote:

Thanks Ken for your reply. Have solved the problem. Yes O2003PIA was
installed. But had added it in launch condition, which would search for it
and could not fine. I have removed the launch condition, so its not
obstructing it now from installing.


"Ken Slovak - [MVP - Outlook]" wrote:

A VSTO addin compiled under Outlook 2003 will run unchanged on Outlook 2007.
It won't have support for the ribbon, forms regions or other new stuff but
it will just work.

Are you following the deployment walkthroughs for VSTO applications, using
that documentation I've never had a VSTO Outlook 2003 addin try to install
Outlook 2003 or the Outlook 2003 PIA's on an Outlook 2007 machine. You
wouldn't want that anyway, last registered wins in those cases so that would
make the Outlook 2007 PIA unavailable for that machine.

Is the Outlook 2007 PIA installed on that problem machine? If it is the code
should just install and run.

--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Professional Programming Outlook 2007
Reminder Manager, Extended Reminders, Attachment Options
http://www.slovaktech.com/products.htm


"lokesh" wrote in message
...
Hi,

Have created and deployed successfully, an outlook vsto addin for 2003.
But
i am unable to install it on office 2007 for one of the machines as, it is
unable to install O2003PIA as it also requires office sp2. Whenever i try
to
install offce sp2 it says product version not found. Is it because of the
registry problem since i do see the files and folders for 2003 on the
system.
Is there something i am missing.





Ken Slovak - [MVP - Outlook] April 10th 08 11:09 PM

deploy 2003 vsto addin on outlook 2007 problem
 
That sounds like a scope issue. Are you declaring that object at a level
where it doesn't go out of scope and get garbage collected?

What type of button? Is this running on Outlook 2003 or 2007? For 2007 you
should be supporting the ribbon.

Also, if you intend to correctly handle things if more than one item is open
at a time you really should be wrapping your Inspectors in Inspector wrapper
classes and keeping them in a collection or list of some kind so you can
handle each separately.

--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Professional Programming Outlook 2007
Reminder Manager, Extended Reminders, Attachment Options
http://www.slovaktech.com/products.htm


"lokesh" wrote in message
...
Though, the addin got installed, its not behaving the way it should even
though i got it running with the same configuration in other machine.

The problem is a button which enables/disables other controls on the
toolbar, works for the first time the message (inspector) window is opened
after the outlook is opened. But then when i close the first window and
open
another window, it stops disabling/enabling other controls. No exceptions
are
occurring and cannot figure out what the problem could be.



lokesh April 11th 08 04:38 AM

deploy 2003 vsto addin on outlook 2007 problem
 
Yes I am using Wrappers based on some of your samples. Have written it for
2003 but this problem is occurring for 2007 office on XP. Have tested it on
other xp machine with 2007 and it is working perfectly. Its on one particular
machine that its giving a problem.

-Lokesh

"Ken Slovak - [MVP - Outlook]" wrote:

That sounds like a scope issue. Are you declaring that object at a level
where it doesn't go out of scope and get garbage collected?

What type of button? Is this running on Outlook 2003 or 2007? For 2007 you
should be supporting the ribbon.

Also, if you intend to correctly handle things if more than one item is open
at a time you really should be wrapping your Inspectors in Inspector wrapper
classes and keeping them in a collection or list of some kind so you can
handle each separately.

--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Professional Programming Outlook 2007
Reminder Manager, Extended Reminders, Attachment Options
http://www.slovaktech.com/products.htm


"lokesh" wrote in message
...
Though, the addin got installed, its not behaving the way it should even
though i got it running with the same configuration in other machine.

The problem is a button which enables/disables other controls on the
toolbar, works for the first time the message (inspector) window is opened
after the outlook is opened. But then when i close the first window and
open
another window, it stops disabling/enabling other controls. No exceptions
are
occurring and cannot figure out what the problem could be.




Ken Slovak - [MVP - Outlook] April 11th 08 01:58 PM

deploy 2003 vsto addin on outlook 2007 problem
 
If it's only on one machine where you have the problem then you have to find
out what's different about that machine. Check for the addin pre-requisites,
requirements and anything else required in the environment of your problem
machine. Check your error logs and the Windows event logs. Try to run in
debug mode on that computer if possible.

--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Professional Programming Outlook 2007
Reminder Manager, Extended Reminders, Attachment Options
http://www.slovaktech.com/products.htm


"lokesh" wrote in message
...
Yes I am using Wrappers based on some of your samples. Have written it for
2003 but this problem is occurring for 2007 office on XP. Have tested it
on
other xp machine with 2007 and it is working perfectly. Its on one
particular
machine that its giving a problem.

-Lokesh



lokesh April 11th 08 02:46 PM

deploy 2003 vsto addin on outlook 2007 problem
 
Yes i guess I have found the solution for it. It was the anti-virus which was
causing the problem, for some security loophole in my code. I reproduced the
same problem on some other machine and fixed it. Will test it out some more.

But have some bringing the datepicker window to the top. Will post it in
other thread.

"Ken Slovak - [MVP - Outlook]" wrote:

If it's only on one machine where you have the problem then you have to find
out what's different about that machine. Check for the addin pre-requisites,
requirements and anything else required in the environment of your problem
machine. Check your error logs and the Windows event logs. Try to run in
debug mode on that computer if possible.

--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Professional Programming Outlook 2007
Reminder Manager, Extended Reminders, Attachment Options
http://www.slovaktech.com/products.htm


"lokesh" wrote in message
...
Yes I am using Wrappers based on some of your samples. Have written it for
2003 but this problem is occurring for 2007 office on XP. Have tested it
on
other xp machine with 2007 and it is working perfectly. Its on one
particular
machine that its giving a problem.

-Lokesh




lokesh April 14th 08 09:20 AM

deploy 2003 vsto addin on outlook 2007 problem
 
Hi Ken,

For writing a 2007 based addin, do we need to write similar wrappers and
handle the toolbars by using some data structure.

-Lokesh



"lokesh" wrote:

Yes i guess I have found the solution for it. It was the anti-virus which was
causing the problem, for some security loophole in my code. I reproduced the
same problem on some other machine and fixed it. Will test it out some more.

But have some bringing the datepicker window to the top. Will post it in
other thread.

"Ken Slovak - [MVP - Outlook]" wrote:

If it's only on one machine where you have the problem then you have to find
out what's different about that machine. Check for the addin pre-requisites,
requirements and anything else required in the environment of your problem
machine. Check your error logs and the Windows event logs. Try to run in
debug mode on that computer if possible.

--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Professional Programming Outlook 2007
Reminder Manager, Extended Reminders, Attachment Options
http://www.slovaktech.com/products.htm


"lokesh" wrote in message
...
Yes I am using Wrappers based on some of your samples. Have written it for
2003 but this problem is occurring for 2007 office on XP. Have tested it
on
other xp machine with 2007 and it is working perfectly. Its on one
particular
machine that its giving a problem.

-Lokesh




Ken Slovak - [MVP - Outlook] April 14th 08 01:58 PM

deploy 2003 vsto addin on outlook 2007 problem
 
For an Outlook 2007 based addin you should use the same structure of wrapper
classes and a collection or list to hold them. Your ribbon handler will be
in your Connection class but you still handle everything else the same way.

--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Professional Programming Outlook 2007
Reminder Manager, Extended Reminders, Attachment Options
http://www.slovaktech.com/products.htm


"lokesh" wrote in message
...
Hi Ken,

For writing a 2007 based addin, do we need to write similar wrappers and
handle the toolbars by using some data structure.

-Lokesh




All times are GMT +1. The time now is 12:31 PM.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2006 OutlookBanter.com