Visio automation

F

Florian Albrecht

If the registry key is not there you will have to add it using the Win32
registry APIs.

OK, but it seems that Visio ignores this entry as long as the flag on
the advanced tab of the option dialog ("Save all settings to the
registry") is not set.

Florian Albrecht
 
M

Mike Mueller [MSFT]

If you do not want the connection dialog to appear, you need to add this
entry to the Registry before opening the Org Chart solution. The solution
reads this entry when a new drawing is created or opened. The "save
Settings" option has no impact here.
 
F

Florian Albrecht

If you do not want the connection dialog to appear, you need to add this
entry to the Registry before opening the Org Chart solution. The solution
reads this entry when a new drawing is created or opened. The "save
Settings" option has no impact here.

I am not sure if the "save settings" option is responsible, but the
registry entry is ignored by visio. The dialog will appear no matter
what value this registry entry has.

Florian Albrecht
Florian Albrecht
 
M

Mike Mueller [MSFT]

It works on my installation. Obviously we have something different between
our two machines. Please try the following:

1. Confirm that you are running Visio 2003. If you are not, then the
registry key is different and what I am recommending will *not* work.

2. Assuming that you are runing Visio 2003, Open regedit; navigate to
"HKEY_CURRENT_USER\Software\Microsoft\Office\11.0\Visio\Solution\Organization
Chart"; delete the ShowHowToConnect value; Close regedit.

3. Open a new Org Chart; drop a shape; When the dialog box appears check the
"Don't show this again" box and dismiss the dialog; close Visio.

3. Open Regedit again; Examine the
"HKEY_CURRENT_USER\Software\Microsoft\Office\11.0\Visio\Solution\Organization
Chart" registry key; The ShowHowToConnect value should be present and should
be zero (0). If the value is not there, then you are not running the Visio
2003 Org Chart solution. If it is there and is zero, then this is the
registry value that you must create and/or modify.
 
F

Florian Albrecht

Hi Mike!

Thanks for your patience and your help!
1. Confirm that you are running Visio 2003. If you are not, then the
registry key is different and what I am recommending will *not* work.

OK, that's the problem! With Visio 2003 it works also with my
installation but I am looking for a similar solution for Visio 2002
and earlier.
You wrote the value ShowHowToConnect has to be somewhere under
HKCU/Software/Microsoft/Visio.That's right, it's probably
HKCU/Software/Microsoft/Visio/Solution/Organization Chart/Options. But
with my Visio 2002 it seems that Visio doesn't care about this flag.
Any idea what settings I have to set in that earlier version of Visio?


Florian Albrecht
 
M

Mike Mueller [MSFT]

I am pretty sure that Visio 2002 used a similar registry value to control
the connect hint dialog, but I don't remember where it was in the registry.
(we completely changed the organization of our registry keys in Visio 2003
to conform to the Office standard)

The best way to find the key in Visio 2002 is to look through the registry
for a Visio subtree and look for a likely candidate. Once you find a likely
value, try changing it to see if the dialog appears or disappears

Try using the Find command (menu Edit->Find) in regedit and search for
"Visio". Regedit is your friend ;>)

Good Luck
 

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