Internet explorer 是否可以在vbscript消息框中嵌入http链接?
我想指导用户,以适当的下载链接每个案件。我可以在vbs消息框中嵌入可单击链接吗?或者,有没有更干净的方法来解决这个问题Internet explorer 是否可以在vbscript消息框中嵌入http链接?,internet-explorer,browser,vbscript,Internet Explorer,Browser,Vbscript,我想指导用户,以适当的下载链接每个案件。我可以在vbs消息框中嵌入可单击链接吗?或者,有没有更干净的方法来解决这个问题 select case FSO.GetFileVersion(strCorLib) Case "2.0.50727.42" strNETVersion = strNETVersion & " SP0 (not so good!)" Case "2.0.50727.1433"
select case FSO.GetFileVersion(strCorLib)
Case "2.0.50727.42"
strNETVersion = strNETVersion & " SP0 (not so good!)"
Case "2.0.50727.1433"
strNETVersion = strNETVersion & " SP1 (this will work)"
Case "2.0.50727.3053"
strNETVersion = strNETVersion & " SP2 (this is good)"
end select
strNetVersion = strNETVersion & ", " & FSO.GetFile(strCorLib).DateLastModified
else
strNETVersion = ".NET 2.0 not installed"
end if
sayit strNetVersion
不可能使用标准的msgbox。。。你得自己滚
查看更多信息…不可能使用标准的msgbox。。。你得自己滚
查看更多信息…也请查看。它完全可以满足您的需求,但就像John的链接一样,它是一个只支持IE的解决方案。也请检查。它完全支持您想要的内容,但就像John的链接一样,它是一个只支持IE的解决方案。使用jQuery和一些标记来解决这个问题。jQuery甚至不需要,但可以节省编码。使用jQuery和一些标记来解决这个问题。jQuery甚至不需要,但可以保存编码。当我编写VBScript时,我会使用类似的东西。在我看来,这是一种更干净的方式
iRes = objShell.Popup("Something not found." & vbNewLIne & _
"Without that the world wont be saved." & vbNewLIne & _
"Download it now?",, "Required software is missing", 4+48) ' 4=MB_YESNO, 48=MB_ICONEXCLAMATION
if iRes = 6 then ' 6=IDYES
objShell.Run("http://www.microsoft/com/...")
end if
当我编写VBScript时,我会使用类似的东西。在我看来,这是一种更干净的方式
iRes = objShell.Popup("Something not found." & vbNewLIne & _
"Without that the world wont be saved." & vbNewLIne & _
"Download it now?",, "Required software is missing", 4+48) ' 4=MB_YESNO, 48=MB_ICONEXCLAMATION
if iRes = 6 then ' 6=IDYES
objShell.Run("http://www.microsoft/com/...")
end if
Run()对我来说已经足够好了,直到我必须拿出一个更干净的解决方案。我必须投票支持你,谢谢。objShell.Run()对我来说已经足够好了,直到我必须拿出一个更干净的解决方案。我得投你一票,谢谢。