A
Amir
Hi
I want to make an add-in for visio 2003 using C#.NET or VB.NET.
Actually I wanna make a window in visio using VBA (Macro) and then call the
add-in that load a .NET windows form inside this visio window.
Infact I pass that visio window's handler to the add-in and add-in makes the
..NET windows form it's child.
I made the add-in using Visio PIA and registered the assembly in windows
registry using regasm.exe.
But when the VBA macro try to make an object from that tlb, visio raise an
exceprion that says "can not find the file or assembly, or some of it's
resources"....
I'm doing that like this:
Set obj=Createobject("MyAddIn.Addon") that "MyAddIn" is the name of that
converted assembly and "Addon" is a class inside it that make the
parent-child relationship
Making the add-in, I made a classlibrary project and add a windows form to
that project.
Meanwhile, to avoid using shims, I set the visio's security level to Medium.
please help...
Thanks in advance
I want to make an add-in for visio 2003 using C#.NET or VB.NET.
Actually I wanna make a window in visio using VBA (Macro) and then call the
add-in that load a .NET windows form inside this visio window.
Infact I pass that visio window's handler to the add-in and add-in makes the
..NET windows form it's child.
I made the add-in using Visio PIA and registered the assembly in windows
registry using regasm.exe.
But when the VBA macro try to make an object from that tlb, visio raise an
exceprion that says "can not find the file or assembly, or some of it's
resources"....
I'm doing that like this:
Set obj=Createobject("MyAddIn.Addon") that "MyAddIn" is the name of that
converted assembly and "Addon" is a class inside it that make the
parent-child relationship
Making the add-in, I made a classlibrary project and add a windows form to
that project.
Meanwhile, to avoid using shims, I set the visio's security level to Medium.
please help...
Thanks in advance