Solved

Make file assciation of .vsd file Visio viewer

Posted on 2013-02-04
6
5,341 Views
Last Modified: 2013-02-12
Hi,

I am trying to set file association of .vsd file as Visio viewer. for this i am setting following registry key using a vbscript:

Key: HKEY_LOCAL_MACHINE\ SOFTWARE\Classes\.vsd
Name: VisioViewer.Viewer
Value: application/vnd.ms-visio.viewer

The above registry key works perfectly with Windows 7 32 bit and 64 bit. But when i am setting same registry key for XP, i am not able to se .vsd content( in visio viewer).However file association is getting set as Visio viewer.

Any  thoughts. Thanks in advance
0
Comment
Question by:KC2TC
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 3
6 Comments
 
LVL 30

Expert Comment

by:Scott Helmers
ID: 38856138
I installed Visio Viewer on a VM with XP and no MS Office and took a look at the registry. I've attached the three branches that look most relevant; there were at least a dozen others that relate to Visio file variations.

Let me know if this helps...
VV-HKCR-1.reg
VV-HKCR-2.reg
VV-HKLM-vsd.reg
0
 

Author Comment

by:KC2TC
ID: 38861444
Hi Scott,

Thanks for your suggestion. I have imported the reg files given by you. I am still not able to open .vsd document. I am getting an Open save dialog box(attached screen shot).


Any thoughts........
Visio.jpeg
0
 
LVL 30

Expert Comment

by:Scott Helmers
ID: 38863855
Perhaps I should back up a step... what is the reason you need to tinker with the registry? If you install the Visio Viewer it should set all of the required entries correctly. Is it because you also have Visio on these systems but want diagrams to open in the viewer by default instead of in Visio?
0
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

Author Comment

by:KC2TC
ID: 38865066
HiScott,
The scenario is: I have visio viewer installed in the machine. In same machine I have installed Visio. If i am unistalling Visio from the machine, i am not able to open .vsd document.Since it is deleting all the registry key for Visio viewer as well.  
So i want if i am uninstalling Visio form a machine which has viewer all ready install .vsd document should open in Visio viewer.
Is there any way to do this..............???
0
 
LVL 30

Accepted Solution

by:
Scott Helmers earned 500 total points
ID: 38866015
Rather than try to make the reg entries directly, I would let Windows do it -- that way it should make all of the required changes for you.

In Windows Explorer, right-click on a VSD file and select "Open With...". Ensure that "Always use the selected program to open this kind of file" is checked. If Internet Explorer isn't visible, click Browse button, navigate to Internet Explorer, and then click OK.

Worst case, just install the Visio Viewer again and it will set all of the appropriate entries.
0
 

Author Closing Comment

by:KC2TC
ID: 38881557
Thanks Scott
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
adding "ungroup sheets" to existing vbs code 5 56
save excel in the same active file's folder. 8 38
Write 1 row of data from Excel to a txt file 10 35
using vb script 5 52
This script will sweep a range of IP addresses (class c only, 255.255.255.0) and report to a log the version of office installed. What it does: 1.)      Creates log file in the directory the script is run from (if it doesn't already exist) 2.)      Sweep…
This is pretty cool.  The purpose of this VB Script is to help you document where JAR (Java ARchive) files and specifically java class files are located so that you can address issues seen with a client or that you can speak intelligently with a dev…
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…
Attackers love to prey on accounts that have privileges. Reducing privileged accounts and protecting privileged accounts therefore is paramount. Users, groups, and service accounts need to be protected to help protect the entire Active Directory …

733 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question