?
Solved

Make file assciation of .vsd file Visio viewer

Posted on 2013-02-04
6
Medium Priority
?
5,927 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 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

On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

Question has a verified solution.

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

Over the years I have built up my own little library of code snippets that I refer to when programming or writing a script.  Many of these have come from the web or adaptations from snippets I find on the Web.  Periodically I add to them when I come…
Deploying a Microsoft Access application in a Citrix environment is not difficult but takes a few steps. However, Citrix system people are often of little help, as they typically know next to nothing about Access. The script provided here will take …
Michael from AdRem Software explains how to view the most utilized and worst performing nodes in your network, by accessing the Top Charts view in NetCrunch network monitor (https://www.adremsoft.com/). Top Charts is a view in which you can set seve…
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…

741 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