?
Solved

Make file assciation of .vsd file Visio viewer

Posted on 2013-02-04
6
Medium Priority
?
6,712 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
  • 3
  • 3
6 Comments
 
LVL 31

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 31

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
Independent Software Vendors: 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 31

Accepted Solution

by:
Scott Helmers earned 1500 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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Introduction During my participation as a VBScript contributor at Experts Exchange, one of the most common questions I come across is this: "I have a script that runs against only one computer. How can I make it run against a list of computers in …
When you see single cell contains number and text, and you have to get any date out of it seems like cracking our heads.
Please read the paragraph below before following the instructions in the video — there are important caveats in the paragraph that I did not mention in the video. If your PaperPort 12 or PaperPort 14 is failing to start, or crashing, or hanging, …
Loops Section Overview
Suggested Courses

862 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