Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

VBScript and ASP

Status
Not open for further replies.

ChauChiBai

Programmer
May 8, 2002
3
GB
What is the relationship between ASP and VBScript?
For example, If I want to call a sub/function to , say , create a text file containing a recordset , by pressing a button it seems that I am restricted to using a VBScript ButtonName_OnClick subroutine.
I cant use an ASP OnClick subroutine, it is totally ignored. Does that meand that ASP can't use event trapping?

The problem is that VBScript does not include the commands needed to handle database data, and you can't embed ASP commands in a VBScript routine. SO I have to create a new page and pass parameters to it in order to create the file. This seems very inefficient and increases the number of pages required to create a web site.

Any advice would be greatly appreciated.

Regards
JohnR
 
i'm sure there are some people in this forum that also do VB, but you'll probably have a better chance at the ASP forum. "Damn the torpedoes, full speed ahead!"

-Adm. James Farragut

Stuart
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top