thanks Nic. Will look later....gotta move on here, but will look tonight.
I am using IIS4 anyway and it will be deployed on a Winnt server with IIs4
anyway, so its not an issue....
Thanks, Jeremy Coulter
-----Original Message-----
From: Nic Wise [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, 8 December 1998 10:04
To: Multiple recipients of list delphi
Subject: RE: [DUG]: Activex HTML Responses
> NOT quite the answer I was looking for......I already know how to call it,
> What I WANT to know, is how do I generate the resulting HTML/ASP FROM the
> results the dll returns.
> I know how to add the data to an HTML/ASP file, BUT how does the browser
> know about the file ??
>
> if you know what I mean........
I think I do. You have to use IIS 3 ofr greater*, and then put the file
somewhere on the web server (eg, c:\inetpub\wwwroot\whatever\something.asp).
You then load your asp into the browser with
http://yourmachine/whatever/something.asp and any output is passed to the
browser. To print something, use
<%=somefunction%>
or
Response.Write(somefunction)
eg:
<HTML>
<BODY>
<%
dim oObj
oObj = server.createobject("myobject")
%>
<B> <%=oObj.somethingthatreturnssomething%> </B>
<%
set oObj = nothing
%>
</BODY>
</HTML>
hope that helps???? Drop me a line off the list if you want more help.
N
(* you could use Chilli ASP, but Delphi will not generate binaries for
anything other than wintel x86, so you can't use it on Unix anyway)
---------------------------------------------------------------------------
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
Website: http://www.delphi.org.nz
---------------------------------------------------------------------------
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
Website: http://www.delphi.org.nz