News:

BB code in posts seems to be working again!
I haven't turned on every single tag, so please let me know if there are any that are used/needed but not activated.

Main Menu

Visio application hangs if code signed

Started by AndyW, February 14, 2012, 04:11:29 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

AndyW

I have a Visio 2003 automation application that also uses Excel/Word 2003. Its been used on all flavours of Windows, Office and Visio versions. The Visio diagram is code signed, essentially it only contains code, is not visible and not saved by my users.

I now have a user on one site with 3 laptops with Visio 2007, Excel/Word 2003 running on both Win7 64bit and Win XP. When my application attempts to exit using ThisDocument.application.quit, it hangs up for several minutes until Windows finally kills it off. After changing code on my users site it appeared to work, but not as a consequence of changing code, but removal of the code signing!

Anyone come across anything like this. Obviously I can't distribute unsigned code as this would require macro security to be disabled, which my users wouldn't accept.

Note. as an experiment, even though my diagram file is not saved, I set the flag to indicate it had been saved. It still hung on exit, but not for as long.
Live life with an open mind

Browser ID: smf (possibly_robot)
Templates: 4: index (default), Display (default), GenericControls (default), GenericControls (default).
Sub templates: 6: init, html_above, body_above, main, body_below, html_below.
Language files: 4: index+Modifications.english (default), Post.english (default), Editor.english (default), Drafts.english (default).
Style sheets: 4: index.css, attachments.css, jquery.sceditor.css, responsive.css.
Hooks called: 137 (show)
Files included: 32 - 1207KB. (show)
Memory used: 994KB.
Tokens: post-login.
Cache hits: 13: 0.00158s for 26,740 bytes (show)
Cache misses: 3: (show)
Queries used: 16.

[Show Queries]