i'm using the code like that:

<%
t= "../images/1/html/"&objRec("proHTMLabout")

%>
<!-- #include file="<%=t%>" -->

but it give me :
Error Type:
Active Server Pages, ASP 0126 (0x80004005)
The include file '<%=t%>' was not found.

and the file is the and if i write what is in the t parameter it load the
file.

how do i include file dynamiclly?

Re: include file asp by Steven

Steven
Sun May 29 19:41:30 CDT 2005

You can't dynamically include files

--=20
Regards

Steven Burn
Ur I.T. Mate Group
www.it-mate.co.uk

Keeping it FREE!

"Sagi" <sagi@schieber.net> wrote in message =
news:429a5b32@news.bezeqint.net...
> i'm using the code like that:
>=20
> <%
> t=3D "../images/1/html/"&objRec("proHTMLabout")
>=20
> %>
> <!-- #include file=3D"<%=3Dt%>" -->
>=20
> but it give me :
> Error Type:
> Active Server Pages, ASP 0126 (0x80004005)
> The include file '<%=3Dt%>' was not found.
>=20
> and the file is the and if i write what is in the t parameter it load =
the=20
> file.
>=20
> how do i include file dynamiclly?=20
>=20
>=20


Re: include file asp by Sagi

Sagi
Sun May 29 21:34:26 CDT 2005

can't be right.
got 168 html pages in a folder and all of the is a table that should go in a
td in index file. the name of the file is a field in the database.
what sould i do? write 168 deferent pages?
while write, i understand that i can use FSO to read the content and write
it to the index file but why can't i use include? why can;t i write the file
name from a database?

sagi
"Steven Burn" <somewhere@in-time.invalid> wrote in message
news:uaz4pBLZFHA.3840@tk2msftngp13.phx.gbl...
You can't dynamically include files

--
Regards

Steven Burn
Ur I.T. Mate Group
www.it-mate.co.uk

Keeping it FREE!

"Sagi" <sagi@schieber.net> wrote in message
news:429a5b32@news.bezeqint.net...
> i'm using the code like that:
>
> <%
> t= "../images/1/html/"&objRec("proHTMLabout")
>
> %>
> <!-- #include file="<%=t%>" -->
>
> but it give me :
> Error Type:
> Active Server Pages, ASP 0126 (0x80004005)
> The include file '<%=t%>' was not found.
>
> and the file is the and if i write what is in the t parameter it load the
> file.
>
> how do i include file dynamiclly?
>
>



Re: include file asp by Steven

Steven
Sun May 29 21:02:26 CDT 2005

http://aspfaq.com/show.asp?id=3D2042

--=20
Regards

Steven Burn
Ur I.T. Mate Group
www.it-mate.co.uk

Keeping it FREE!

"Sagi" <sagi@schieber.net> wrote in message =
news:429a6df1@news.bezeqint.net...
> can't be right.
> got 168 html pages in a folder and all of the is a table that should =
go in a=20
> td in index file. the name of the file is a field in the database.
> what sould i do? write 168 deferent pages?
> while write, i understand that i can use FSO to read the content and =
write=20
> it to the index file but why can't i use include? why can;t i write =
the file=20
> name from a database?
>=20
> sagi
> "Steven Burn" <somewhere@in-time.invalid> wrote in message=20
> news:uaz4pBLZFHA.3840@tk2msftngp13.phx.gbl...
> You can't dynamically include files
>=20
> --=20
> Regards
>=20
> Steven Burn
> Ur I.T. Mate Group
> www.it-mate.co.uk
>=20
> Keeping it FREE!
>=20
> "Sagi" <sagi@schieber.net> wrote in message=20
> news:429a5b32@news.bezeqint.net...
> > i'm using the code like that:
> >
> > <%
> > t=3D "../images/1/html/"&objRec("proHTMLabout")
> >
> > %>
> > <!-- #include file=3D"<%=3Dt%>" -->
> >
> > but it give me :
> > Error Type:
> > Active Server Pages, ASP 0126 (0x80004005)
> > The include file '<%=3Dt%>' was not found.
> >
> > and the file is the and if i write what is in the t parameter it =
load the
> > file.
> >
> > how do i include file dynamiclly?
> >
> >
>=20
>=20