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

Interaction with Visual Studio

Started by Paul Herber, May 21, 2009, 08:20:24 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Paul Herber

Does anyone know how VS interfaces with Visio?

I have a customer using my utilities for Visio and is reporting the following problem:
"I find that occasionally when I bop back and forth between Visio and Visual Studio 2008 debugging my Visio ActiveX enabled application the SuperUtilities takes up 98% of CPU."
MTIA
Electronic and Electrical engineering, business and software stencils for Visio -

https://www.paulherber.co.uk/

aledlund

Paul,
I recently sent a document to the Visio team (and some of the other MVPs) that looked at some of that. In my case I was noticing a heavy degradation in performance occasionally, and it turned out to be the result of 'some' add-ins. The key was whether the add-in had been created with vsto. The thing your developer contact has to be aware of is even though he is using the activex control, visio is running under the covers in the last configuration it was used in. In my case to meet the performance I needed I had to ensure that nobody's add-in was running in the Visio environment. In any case it sounds like your add-in and his code are arguing about who handles which interrupts.
al

Paul Herber

Electronic and Electrical engineering, business and software stencils for Visio -

https://www.paulherber.co.uk/

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: 172 (show)
Files included: 34 - 1306KB. (show)
Memory used: 1090KB.
Tokens: post-login.
Cache hits: 13: 0.00142s for 26,762 bytes (show)
Cache misses: 2: (show)
Queries used: 16.

[Show Queries]