PDA

View Full Version : Windows Scripting in HTML files



mightwalrus
12-21-2001, 05:14 PM
Quick question: is it possible to embed a Windows script into an HTML file?

coolsights2000
12-22-2001, 04:01 AM
If no one can answer your question here.. You might try.. prepare to take your shoes off and sit a spell...

Click Here (http://www.wdvl.com/)

great site for info...

Thanks
Mac!!!

This Is just my opinion
So if it stinks wait for another one
Cause I'm no expert

adamdelves
12-22-2001, 05:30 PM
This is how I usually do it:

<html>
<head>
<title>Script Page</title>
<script language = "vbScript">
<!--
Sub example()
MsgBox "This script can be called at any time"
End Sub
-->
</script>
</head>
<body>Click
<a href="javascript: example()">here</a> to run script

<input type = "button" name = "button1" value = "Click To Run" Onclick = "example()">
<script language = "vbscript">
MsgBox "This script runs as the page loads"
</script>
</body>
</html>