Working with both office 2003 and office 2007, VS 2008

F

faffo1980

Hi all,
I would like to create two different add-in with the same functionalities
for excel 2003 and excel 2007.
Is it possible installing both version on same PC abd work with them with
Visual Studio 2008.
I mean, debugging an Addin from visual studio open a Excel Instance.
Which of the two (2003 or 2007) will be opened for debugging.
How can I discriminate?

Thanks

faffo1980
 
S

Scott McPhillips [MVP]

faffo1980 said:
Hi all,
I would like to create two different add-in with the same functionalities
for excel 2003 and excel 2007.
Is it possible installing both version on same PC abd work with them with
Visual Studio 2008.
I mean, debugging an Addin from visual studio open a Excel Instance.
Which of the two (2003 or 2007) will be opened for debugging.
How can I discriminate?

Thanks

faffo1980

The debugger will open the Excel version that you specify in the project
properties, under Debugging Command. You have to supply the fill path to the
Excel executable there.
 
B

Baji

Hi all,
I would like to create two different add-in with the same functionalities
for excel 2003 and excel 2007.
Is it possible installing both version on same PC abd work with them with
Visual Studio 2008.
I mean, debugging an Addin from visual studio open a Excel Instance.
Which of the two (2003 or 2007) will be opened for debugging.
How can I discriminate?

Thanks

faffo1980

Create a Shared Addin for excel , and the debug path should be your
excel.exe path.
Hope this helps.

Thanks,
Baji.
 
F

faffo1980

Thanks Scott for the reply.
Since I never go into deep of debugger I don't know where to put the
property you suggested and which format to use.
May you kindly address me to some useful link.
Otherwise, no problem, i will search for it by myself.

Thanks again for support,

faffo1980
 
S

Scott McPhillips [MVP]

faffo1980 said:
Thanks Scott for the reply.
Since I never go into deep of debugger I don't know where to put the
property you suggested and which format to use.
May you kindly address me to some useful link.
Otherwise, no problem, i will search for it by myself.

Thanks again for support,

faffo1980

This is a setting used when debugging all DLLs, since the debugger has no
idea what exe you want to use.

Project menu: Properties, Configuration Properties, Debugging, Command. Set
Command to the full path of the Excel.exe that you want the debugger to
launch.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top