I want to open a tif image file using Windows Picture and Fax Viewer over the web via a hyperlink. However, I get prompted to save or open the file. Can this be done using vbscript and wscript.shell?
the code does not work.
any ideas on how this can be done?
Information is not Knowledge, Knowledge is not Wisdom, Wisdom is not Truth, Truth is not Beauty, Beauty is not Love, Love is not Music, Music is the best.
Code:
Dim objWShell
Set objWShell = CreateObject("WScript.Shell")
objWShell.Run("C:\WINDOWS\System32\shimgvw.dll ImageView_Fullscreen myfilepath\image.tif")
set objWShell = nothing
the code does not work.
any ideas on how this can be done?
Information is not Knowledge, Knowledge is not Wisdom, Wisdom is not Truth, Truth is not Beauty, Beauty is not Love, Love is not Music, Music is the best.