As you suggest to me I read here
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnvisio02/html/vis_runadd.asp
but Visio does not recognize procedure and nothing happens.
I done as follows:
1. Created projet named: TestProject
2. Added a shape to Page 1
3. Added to TestProject a module named Module1 (on Visio VBA)
4. Added a function named TestFunction to Module1
5. Added to TestFunction folowing line code: msgbox("Hallo: this is a
test!")
3. Edited EventDblClick field of shape I added (see point 2) as follows:
=CALLTHIS("TestProject.Module1.TestFunction ")
Please tell me where is the mistake and if you could write me an example.
Thanks a lots
Mosca