quakerock Вот ты и добрался до файлов hta
[more]
Код: <html>
<head>
<title>RefMsgBox</title>
<HTA:APPLICATION
APPLICATIONNAME="RefMsgBox"
ID="RefMsgBox"
VERSION="1.0"
BORDER="dialog"
INNERBORDER="no"
MAXIMIZEBUTTON="no"
MINIMIZEBUTTON="no"
ICON="refMsg.ico"
SCROLL="no"/>
</head>
<script language="VBScript">
Sub Window_OnLoad
self.ResizeTo 280, 106
self.MoveTo (screen.AvailWidth-263)/2,(screen.AvailHeight-106)/2
End Sub
Sub OnClickButtonYes()
MsgBox "Кнопка Да", vbOKOnly Or vbInformation, "Событие"
End Sub
Sub OnClickButtonNo()
MsgBox "Кнопка Нет", vbOKOnly Or vbInformation, "Событие"
End Sub
Sub OnClickButtonCancel()
window.Close
End Sub
Sub OnUrl(path)
Dim pShell
Set pShell = CreateObject("Shell.Application")
pShell.Explore path
End Sub
</script>
<body bgcolor="buttonface">
<a href="#" onclick = "OnUrl me.name" name="c:\" style = "position: absolute; left: 17px; top: 1px">раскрыть диск С</a>
<a href="#" onclick = "OnUrl me.name" name="d:\" style = "position: absolute; left: 17px; top: 20px">раскрыть диск D</a>
<input type="button" style="position: absolute; width: 75px; left: 175px; top: 45px" name="btCancel" id="btCancel" value="Отмена" onclick="OnClickButtonCancel">
<input type="button" style="position: absolute; width: 75px; left: 14px; top: 45px" name="btYes" id="btOk" value="Да" onclick="OnClickButtonYes">
<input type="button" style="position: absolute; width: 75px; left: 95px; top: 45px" name="btNo" id="btNo" value="Нет" onclick="OnClickButtonNo">
</body>
</html>