S
Snoppolo
Hello,
I'm trying to create a Visio 2003 add-on in C# (i.e. an .exe) using
Visual Studio 2005. I started from samples coming with Visio SDK add-
on wizard, but they do not compile due to wrong namespaces. I see here
and there some post in this forum talking about the same problem but
no real solution about that. My questions are:
1) What is the correct namespace? All the samples start with
"Microsoft.Office.Interop.Visio", so what's the right one?
2) I read documentation about PIA and, a far as I know, my environment
seems ok, but still I don't find any usefull namespaces. I've tried
many and none seem to work properly
3) I've installed Visio 2003 SDK, Visual Studio 2005 and VSTO 2005. Do
I need some other tool or package? As I go deeper into the code, I
start thinking VSTO 2005 is useless for my purposes
4) Where on Microsoft site (or some other site) can I find a simple
and straight explanation on how to create an add-on for Visio 2003?
I've found a ton of explanation about add-ins, but this is not what I
want (maybe making an add-in is better? According to Microsoft docs an
add-on fits better in Office environment, the only drawback being
execution in a different process when you build the add-on as an .exe.
Am I orribly wrong??)
Sorry for the long post and thank you in advance for all your replies.
Snoppolo
I'm trying to create a Visio 2003 add-on in C# (i.e. an .exe) using
Visual Studio 2005. I started from samples coming with Visio SDK add-
on wizard, but they do not compile due to wrong namespaces. I see here
and there some post in this forum talking about the same problem but
no real solution about that. My questions are:
1) What is the correct namespace? All the samples start with
"Microsoft.Office.Interop.Visio", so what's the right one?
2) I read documentation about PIA and, a far as I know, my environment
seems ok, but still I don't find any usefull namespaces. I've tried
many and none seem to work properly
3) I've installed Visio 2003 SDK, Visual Studio 2005 and VSTO 2005. Do
I need some other tool or package? As I go deeper into the code, I
start thinking VSTO 2005 is useless for my purposes
4) Where on Microsoft site (or some other site) can I find a simple
and straight explanation on how to create an add-on for Visio 2003?
I've found a ton of explanation about add-ins, but this is not what I
want (maybe making an add-in is better? According to Microsoft docs an
add-on fits better in Office environment, the only drawback being
execution in a different process when you build the add-on as an .exe.
Am I orribly wrong??)
Sorry for the long post and thank you in advance for all your replies.
Snoppolo