Patrice,
Thanks for responding. I understand you can take an HTML page and change
the extention to .aspx and host this page on a webserver running the .Net
framework. This is sometimes called in-line or code-beside programming and
may appear as follows:
<%@ Page Language="VB" %>
<script runat="server">
Sub Page_Load(sender As Object, e As EventArgs)
Response.Write("Hello")
End Sub
</script>
<HTML>
...Original HTML Page.....
</HTML>
I'd like to call a function in a .Net .dll that I have already written.
I've tried putting this in the page:
<%@ Import Namespace="TestDDL" %>
and adding this to my Code block:
Sub Page_Load(sender As Object, e As EventArgs)
Response.Write("Hello")
Dim myTestDDL as TestDDL
End Sub
but this does not work. Any ideas?
"Patrice" wrote:
Not clear...
You can expose a .NET dll as a COM object. It could be then called server
side...
If for now the site contains just static HTML files it won't work (HTML is
not a programming language, IIS will serve just these files). It should be
then turn in to something server side scriptable such as ASP and then he'll
be ablt to call this as a COM ovbject...
Patrice
--
"CLEAR-RCIC" <CL*******@discussions.microsoft.com> a écrit dans le message
de news:28**********************************@microsof t.com... A person in a different division where I work asked for some help. He has
an HTML website and wants to use some functionality in a .Net .dll that I've
developed. I currently use this functionality on my ASP.Net website. I
could easily port his HTML website into ASP.Net in about 5 minutes. The
problem is that if anything on his site ever breaks in the future, I would
own the problem because he isn't a programmer. I figured that if I just
hand him a .Net .dll and some code to call it, he could manage and support it
with no problems.
Can a .Net .dll be called from a few lines in an HTML page and if so, how?