by m.santosh kumar (4 Submissions)
Category: Active Server Pages
Compatability: ASP (Active Server Pages)
Difficulty: Unknown Difficulty
Originally Published: Sat 7th December 2002
Date Added: Mon 8th February 2021
Rating: (1 Votes)
this example allows the user to access the ASP objects from a .DLL file and access the .DLL from the .ASP file, the example is for : checking
from references in vb6.0 select asp type library
and create a function
Option Explicit
Public Function show(ByVal asp_req As ASPTypeLibrary.Request) As Integer
Dim i As Integer
i = asp_req.Form.Count
show = i
make the *.dll file and access this .DLL from the .ASP file
code below
----------
<%@ Language=VBScript %>
<%
if ( Request.Form.Count >0 ) then
set req1= request
set req= server.CreateObject("Project_request.cls_request") ' this is the component name which i created for accessing the request object
Response.Write req.show(req1)
end if
%>
<HTML>
<HEAD>
<META NAME="GENERATOR" Content="Microsoft Visual Studio 6.0">
</HEAD>
<BODY>
<form method="post">
<input type="text" name="san"><br>
<input type="text" name="san1"><br>
<input type="text" name="san2"><br>
<input type="submit" value="go">
</form>
<P> </P>
</BODY>
</HTML>
No comments have been posted about this example allows the user to access the ASP objects from a .DLL file and access the .DLL from th. Why not be the first to post a comment about this example allows the user to access the ASP objects from a .DLL file and access the .DLL from th.