Try adding the following line right after the shell command, and see what it says. Like so...
 Code:
shell "\\servername\share\Microsoft\VisioViewer\visioviewer.exe /quiet /passive"
$nul = MessageBox("Error: "+@Error+@CRLF+"Desc: "+@SError,"Shell Status",0)