DaveB62366

Hi,

I have Visual Studio 2005,VSTO 2005, Office 2003, Office 2007 installed.

I did not upgrade Office 2003 to 2007. Both are operational.

Does anyone know if it's possible to have Visual Studio 2005

use the Office 2003 PIA's by default, instead of the Office 2007 PIA's

I'd like to have Office 2007 installed but have Visual Studio 2005 use Office 2003 for Office development, INSTEAD of Office 2007.

The way it is now, when I open a new Office project in Visual Studio 2005, Excel for example, Visual Studio opens Excel 2007 inside of Visual Studio 2007.

Before installing Office 2007, Visual Studio 2005 used Office 2003 for Office developement.

Any advice or ideas would be appreciated !!!

Dave



Re: Visual Studio Tools for Office VSTO 2005 Visual Studio 2005 Office 2007 Office 2003

Douglas H. Troy

You cannot run Office 2003 and 2007 side-by-side using the VSTO, and since you have Office 2007, Studio is going to bind to the 2007 PIAs. In order to use the 2003 PIAs, you have to have Office 2003 installed.

Unfortunately, this is currently how it all works.





Re: Visual Studio Tools for Office VSTO 2005 Visual Studio 2005 Office 2007 Office 2003

DaveB62366

Douglas,

Thanks for the response.

So even though I have BOTH Office 2003 and 2007 installed side-by-side, and both are operational, VS2005 will use the Office 2007 PIA's.

What if I re-installed Office 2003 after the 2007 installation Would VS2005 still bind to 2007

There's no way to switch from 2007 to 2003, possibly in the registry

If no to all of the above, no biggy, I'll just un-install Office 2007.

Lastly, If I used VSTO 2005 / VS2005 to develop an application in Office 2007, is there any way to have it run on Office 2003 I think I know the answer to that question, but figured I'd double check.

Its too bad. I really wanted to start getting experience with Office 2007 but still be able to develop for Office 2003. I figure it will be sometime before a large percent of people and businesses switch over to Office 2007.

Thanks for your help !

Dave





Re: Visual Studio Tools for Office VSTO 2005 Visual Studio 2005 Office 2007 Office 2003

Douglas H. Troy

DaveB62366 wrote:

So even though I have BOTH Office 2003 and 2007 installed side-by-side, and both are operational, VS2005 will use the Office 2007 PIA's.

Yes, that's what happens ...

DaveB62366 wrote:

What if I re-installed Office 2003 after the 2007 installation Would VS2005 still bind to 2007

I'm not sure, actually, since I've never personally tried this ...

DaveB62366 wrote:

There's no way to switch from 2007 to 2003, possibly in the registry

If there is, again, I'm not personally familiar with a way to make this happen; someone from the VSTO Dev Team would have to offer up that information.

DaveB62366 wrote:

Lastly, If I used VSTO 2005 / VS2005 to develop an application in Office 2007, is there any way to have it run on Office 2003 I think I know the answer to that question, but figured I'd double check.

In order to run a VSTO solution on both Office 2003 and 2007, you have to develop your solution against Office 2003 and the 2003 PIAs. The Office 2003 PIAs will work on 2007, but the 2007 PIAs are not backward compatibile with 2003 ...

You could set-up a Virtual Machine, and have your development environment configured with 2003, and then a seperate VM with Office 2007, all on one computer ...






Re: Visual Studio Tools for Office VSTO 2005 Visual Studio 2005 Office 2007 Office 2003

DaveB62366

DaveB62366 wrote:
Douglas H. Troy wrote:
DaveB62366 wrote:

So even though I have BOTH Office 2003 and 2007 installed side-by-side, and both are operational, VS2005 will use the Office 2007 PIA's.

Yes, that's what happens ...

DaveB62366 wrote:

What if I re-installed Office 2003 after the 2007 installation Would VS2005 still bind to 2007

I'm not sure, actually, since I've never personally tried this ...

DaveB62366 wrote:

There's no way to switch from 2007 to 2003, possibly in the registry

If there is, again, I'm not personally familiar with a way to make this happen; someone from the VSTO Dev Team would have to offer up that information.

DaveB62366 wrote:

Lastly, If I used VSTO 2005 / VS2005 to develop an application in Office 2007, is there any way to have it run on Office 2003 I think I know the answer to that question, but figured I'd double check.

In order to run a VSTO solution on both Office 2003 and 2007, you have to develop your solution against Office 2003 and the 2003 PIAs. The Office 2003 PIAs will work on 2007, but the 2007 PIAs are not backward compatibile with 2003 ...

You could set-up a Virtual Machine, and have your development environment configured with 2003, and then a seperate VM with Office 2007, all on one computer ...

What Virtual Machine would you recommend WMWare or Microsoft Virtual PC

What Virtual Machine would you recommend WMWare or Microsoft Virtual PC





Re: Visual Studio Tools for Office VSTO 2005 Visual Studio 2005 Office 2007 Office 2003

Douglas H. Troy

http://www.microsoft.com/windows/products/winfamily/virtualpc/default.mspx

Microsoft Virtual PC ... I've not used the latest version, but I under it is very good.