Solved

Make file assciation of .vsd file Visio viewer

Posted on 2013-02-04
6
4,784 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 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
Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

 

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

6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

Join & Write a Comment

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…
Welcome, welcome!  If you are new to the series and haven't been following along, please take a brief moment to review the first three installments: Part 1 (http://www.experts-exchange.com/Programming/Languages/Visual_Basic/VB_Script/A_266-VBScri…
It is a freely distributed piece of software for such tasks as photo retouching, image composition and image authoring. It works on many operating systems, in many languages.
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…

708 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now