N
NAdir
Hi (Thank you taking time for this issue),
Using VB .NET wizard, I created an Add-On but the problem I have is that
when I call it through Visio it run through the main function and then ends,
the program does not staty resident. What I want from the program is to have
one instance that stays waiting for visio event. As suggested previousely, I
declared an application object using 'withevents' and instanciated it in the
first call of the program but this does not work, the application object does
not response to any event. I also used addadvise method but also does not
work. It looks like the program goes only once through the main function then
finish, and the only 'No efficient' way to keep it runnig is to write an
infinite
while .
....
end while
What I need is to tell <This add-on will stay wainting for events>
Thanks
Using VB .NET wizard, I created an Add-On but the problem I have is that
when I call it through Visio it run through the main function and then ends,
the program does not staty resident. What I want from the program is to have
one instance that stays waiting for visio event. As suggested previousely, I
declared an application object using 'withevents' and instanciated it in the
first call of the program but this does not work, the application object does
not response to any event. I also used addadvise method but also does not
work. It looks like the program goes only once through the main function then
finish, and the only 'No efficient' way to keep it runnig is to write an
infinite
while .
....
end while
What I need is to tell <This add-on will stay wainting for events>
Thanks