Visio Automation Blocked

D

dfaivre

I have a C# 2005 program that uses the Visio interop to draw an org chart.
When the application is installed on a corporate user machine, and the code
launches Visio, the user is asked to authenticate (for some sort of corporate
license?) themselves before the application will fully load. This
authentication then stops the rest of the C# automation code from running.

The program runs fine on my development box where I don't have to
authenticate the Visio instance.

I have already held the code from running until the user finishes the
authentication login process, but this doesn't help. Any other ideas?

David
 
C

Chris [Visio MVP]

Hi David,

Weird! Is this the Microsoft Activation that happens the first time you
start up the application, or some in-house deal that happens every time the
user starts the software?

Tools > Macros > Security settings can affect if solutions are allowed to
run or not...but I can't remember all the details right now. Do you have an
internal company certificate that you can sign your solution with? That
might help too.

But it sounds like the sign-in process somehow hangs the whole process and
your solution somehow isn't able to get ahold of Visio because of the
delay???

Sorry not much help... : (


--

Chris Roth
Visio MVP
http://www.wanderkind.com/visio

Go Team USA!
http://www.wanderkind.com/usa
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top