DWF Viewer (Read Only)
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

how to detect if autodesk express viewer (or voloview) is installed via explorer

1 REPLY 1
Reply
Message 1 of 2
Anonymous
350 Views, 1 Reply

how to detect if autodesk express viewer (or voloview) is installed via explorer

Simply, how to detect if express viewer(or voloview) installed via explorer.

please include some html/scripts
1 REPLY 1
Message 2 of 2
Anonymous
in reply to: Anonymous

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 " =""clsid:B2BE75F3-9197-11CF-ABF4-08000996E931"">"
document.write ""
document.write ""
document.write ""
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 " classid=""clsid:A662DA7E-CCB7-4743-B71A-D817F6D575DF"">"
document.Write ""
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 " classid=""clsid:8718C658-8956-11D2-BD21-0060B0A12A50"">"
document.Write ""
document.write ""
document.write ""
document.write ""
document.write ""
document.write ""
document.write " value=""ClearScale"">"
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"

set tempObj = nothing
Err.Clear
On Error Goto 0

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report