Re: embedding VBScript in outgoing HTML (General questions)
Wow - that was a fast response! Thanks.
I might be asking a dumb question. I am an experienced VB programmer but I'm only just starting with HTML.
At the moment I'm trying to get familiar with using VBScript. I thought I would modify your sample code 2. Simple - manual response.
What I tried to do was use VBScript to add a MessageBox that would pop up as the browser started to display the HTML manually created in your sample. I can do this using Notepad to code a .htm file and then view it with the browser by adding (just after <HTML>):
<SCRIPT LANGUAGE=VBScript>MsgBox Hello World </SCRIPT>
So I changed your sample program to begin
resp = <HTML><SCRIPT LANGUAGE= VBScript >MsgBox Hello World </SCRIPT>
resp = resp & <font face=Verdana size=2>Welcome visitor from
This doesn't look right to me, and VB doesn't like it, but I don't know what to do.
John
Complete thread:
- embedding VBScript in outgoing HTML - John Baker, 2004-12-01, 02:29
- Re: embedding VBScript in outgoing HTML - wodSupport, 2004-12-01, 02:31
- Re: embedding VBScript in outgoing HTML - John Baker, 2004-12-01, 05:43
- Re: embedding VBScript in outgoing HTML - wodSupport, 2004-12-01, 14:48
- Re: embedding VBScript in outgoing HTML - John Baker, 2004-12-01, 19:35
- Re: embedding VBScript in outgoing HTML - wodSupport, 2004-12-01, 14:48
- Re: embedding VBScript in outgoing HTML - John Baker, 2004-12-01, 05:43
- Re: embedding VBScript in outgoing HTML - wodSupport, 2004-12-01, 02:31