Forum Moderators: open

Message Too Old, No Replies

How to include an old-ASP within my new-ASPX

reusing old ASP code

         

guarriman

12:17 pm on Jan 17, 2006 (gmt 0)

10+ Year Member



Hi.

I've got and old ASP script that works Ok, but I want now to
include it within a new ASPX script I've just created with '.net'.

The process could be:
-------
<%@ Page Language="VB" %>
<%
... aspx code ...

include my old ASP script
%>
-----------------

I'm newbie in ASP, and would be extremely obliged if anybody could
tell me how I must write it. I've tried with
<!-- #Include File="old-script.asp" -->

but it doesn't work.

Thank you very much.

TheNige

8:07 pm on Jan 18, 2006 (gmt 0)

10+ Year Member



I would recommend not moving your old ASP code to .Net. Rewrite it using the .Net way instead of just trying to copy and paste it as it is now.