|
 |
asp_web_howto thread: Call ASP from VBScript
Message #1 by "Mark Love" <Mark_L_Love@m...> on Sun, 22 Dec 2002 20:12:45
|
|
I am looking to call a ASP Script upon the clicking of a HTML
button.....For Example
Private Sub Update_Onclick
<Goto ASP Script>
End Sub
ASP Script
I just don't know the how to write this ...Plese Help
Thanks
Marx
Message #2 by "Rob Taylor - tconsult.com" <rob@t...> on Sun, 22 Dec 2002 15:05:53 -0500
|
|
<INPUT TYPE="Submit" Name="Submit" Value="Submit">
Then at the top of your page
<%
If request("Submit") <> "" then
'do whatever you have to
End If
%>
Your page must have a .asp extension to do this.
Rob Taylor
www.tconsult.com
rob@t...
xxx-xxx-xxxx
Customized Internet Solutions for Outdoor People
----- Original Message -----
From: "Mark Love" <Mark_L_Love@m...>
To: "ASP Web HowTo" <asp_web_howto@p...>
Sent: Sunday, December 22, 2002 8:12 PM
Subject: [asp_web_howto] Call ASP from VBScript
> I am looking to call a ASP Script upon the clicking of a HTML
> button.....For Example
>
> Private Sub Update_Onclick
>
> <Goto ASP Script>
>
> End Sub
>
>
> ASP Script
>
> I just don't know the how to write this ...Plese Help
>
> Thanks
> Marx
>
>
Message #3 by "Lucas Haines" <LucasHaines@a...> on Sun, 22 Dec 2002 12:09:42 -0800
|
|
<INPUT TYPE="Submit" Name="Submit" Value="Submit">
Then at the top of your page
<%
If request("Submit") <> "" then
response.redirect("nameofscript.asp")
End If
%>
Your page must have a .asp extension to do this.
-----Original Message-----
From: Rob Taylor - tconsult.com [mailto:rob@t...]
Sent: Sunday, December 22, 2002 12:06 PM
To: ASP Web HowTo
Subject: [asp_web_howto] Re: Call ASP from VBScript
<INPUT TYPE="Submit" Name="Submit" Value="Submit">
Then at the top of your page
<%
If request("Submit") <> "" then
'do whatever you have to
End If
%>
Your page must have a .asp extension to do this.
Rob Taylor
www.tconsult.com
rob@t...
xxx-xxx-xxxx
Customized Internet Solutions for Outdoor People
----- Original Message -----
From: "Mark Love" <Mark_L_Love@m...>
To: "ASP Web HowTo" <asp_web_howto@p...>
Sent: Sunday, December 22, 2002 8:12 PM
Subject: [asp_web_howto] Call ASP from VBScript
> I am looking to call a ASP Script upon the clicking of a HTML
> button.....For Example
>
> Private Sub Update_Onclick
>
> <Goto ASP Script>
>
> End Sub
>
>
> ASP Script
>
> I just don't know the how to write this ...Plese Help
>
> Thanks
> Marx
>
>
Message #4 by "Mark Love" <Mark_L_Love@m...> on Sun, 22 Dec 2002 22:15:07
|
|
Thank you that worked, just curious is this the only way?
I really apreciate the prompt response....THANKS
Message #5 by "Ken Schaefer" <ken@a...> on Mon, 23 Dec 2002 12:24:58 +1100
|
|
ASP only runs on the server. Once a page has been processed and sent to the
client, then only way to get "ASP" to do more work is to initiate a new
request to the server (eg by clicking on a link, or submitting a form)
Cheers
Ken
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
From: "Mark Love" <Mark_L_Love@m...>
Subject: [asp_web_howto] Re: Call ASP from VBScript
: Thank you that worked, just curious is this the only way?
:
:
: I really apreciate the prompt response....THANKS
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Message #6 by "Mark Love" <Mark_L_Love@m...> on Mon, 23 Dec 2002 17:50:11
|
|
|
|
 |