Solved

Make file assciation of .vsd file Visio viewer

Posted on 2013-02-04
6
5,626 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
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 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

This is an addendum to the following article: Acitve Directory based Outlook Signature (http://www.experts-exchange.com/Programming/Languages/Visual_Basic/VB_Script/Q_24950055.html) The script is fine, and works in normal client-server domains…
Well hello again!  Glad to see you've made it this far without giving up.  In this, the fourth installment of my popular series, I'm going to cover functions and subroutines, what they are, and why they are useful.  Just in case you stumbled onto th…
In this video, viewers will be given step by step instructions on adjusting mouse, pointer and cursor visibility in Microsoft Windows 10. The video seeks to educate those who are struggling with the new Windows 10 Graphical User Interface. Change Cu…
Monitoring a network: why having a policy is the best policy? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the enormous benefits of having a policy-based approach when monitoring medium and large networks. Software utilized in this v…

688 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