Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
Showing results for
Show only
|
Search instead for
Did you mean:
This page has been translated for your convenience with an automatic translation service. This is not an official translation and may contain errors and inaccurate translations. Autodesk does not warrant, either expressly or implied, the accuracy, reliability or completeness of the information translated by the machine translation service and will not be liable for damages or losses caused by the trust placed in the translation service.Translate
how to detect if autodesk express viewer (or voloview) is installed via explorer
Here is what I use. Watch out for some line wraping. Hopefully you can sort
it out. I have this in the html OnLoad event handler.
On Error Resume Next
Err.Clear
Set tempObj = CreateObject("WHIP.WhipCtrl.1") 'AutoDesk Whip! Viewer
If Err.Number = 0 Then
document.write ""
End If
if Err.Number <> 0 then
Err.Clear
Set tempObj = CreateObject("AdView.AdViewer") 'AutoDesk Express Viewer
If Err.Number = 0 Then
document.Write ""
End If
End If
if Err.Number <> 0 then
Err.Clear
Set tempObj = CreateObject("AvViewX.AvViewX") 'AutoDesk Volo View Express
If Err.Number = 0 Then
document.Write ""
End If
End If
if Err.Number <> 0 then msgbox "You do not have a compatible drawing viewer
installed. Either Whip! or VoloView are required to view drawings. Please
notify your Systems Specialist.",,"Missing Drawing Viewer"