473,508 Members | 2,136 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Embed htm file in asp?

Hi,

I have an asp file that as a URL variable. The variable contains the url to
another htm file. How can I embed the htm file within the body of the asp
file?

Thanks,
Ivan
Apr 17 '06 #1
5 1686
Ivan Debono wrote on 17 apr 2006 in
microsoft.public.inetserver.asp.general:
I have an asp file that as a URL variable. The variable contains the
url to another htm file.
"another"???

An asp-file is not an htm-file.
How can I embed the htm file within the body
of the asp file?


if on the same server and root:

<!--#include virtual ="/dir/file.htm"-->

Did you search for solutions first?

--
Evertjan.
The Netherlands.
(Please change the x'es to dots in my emailaddress)
Apr 17 '06 #2
I've tried the #include but it doesn't work. I googled quite a while but
proposed solutions don't work in my situation.

I just want to include the contents in the asp file so that they are
displayed.

Ivan

"Evertjan." <ex**************@interxnl.net> schrieb im Newsbeitrag
news:Xn********************@194.109.133.242...
Ivan Debono wrote on 17 apr 2006 in
microsoft.public.inetserver.asp.general:
I have an asp file that as a URL variable. The variable contains the
url to another htm file.


"another"???

An asp-file is not an htm-file.
How can I embed the htm file within the body
of the asp file?


if on the same server and root:

<!--#include virtual ="/dir/file.htm"-->

Did you search for solutions first?

--
Evertjan.
The Netherlands.
(Please change the x'es to dots in my emailaddress)

Apr 17 '06 #3
Ivan Debono wrote on 17 apr 2006 in
microsoft.public.inetserver.asp.general:
"Evertjan." <ex**************@interxnl.net> schrieb im Newsbeitrag
news:Xn********************@194.109.133.242...
Ivan Debono wrote on 17 apr 2006 in
microsoft.public.inetserver.asp.general:
I have an asp file that as a URL variable. The variable contains the
url to another htm file.
"another"???

An asp-file is not an htm-file.
Please explain. It seems below you are using the asp file like an html
file, without processing.
How can I embed the htm file within the body
of the asp file?


if on the same server and root:

<!--#include virtual ="/dir/file.htm"-->


[please do not toppost on usenet]
I've tried the #include but it doesn't work. I googled quite a while
but proposed solutions don't work in my situation.

I just want to include the contents in the asp file so that they are
displayed.


If the .txt-file is accessable via the root, and you are processing the
..asp-fileASP, it must work.
--
Evertjan.
The Netherlands.
(Please change the x'es to dots in my emailaddress)
Apr 17 '06 #4
Did a workaround and it works. I changed it into a text file and open it
with the TextStream object, then use Response.Write :)

Ivan

"Evertjan." <ex**************@interxnl.net> schrieb im Newsbeitrag
news:Xn******************@194.109.133.242...
Ivan Debono wrote on 17 apr 2006 in
microsoft.public.inetserver.asp.general:
"Evertjan." <ex**************@interxnl.net> schrieb im Newsbeitrag
news:Xn********************@194.109.133.242...
Ivan Debono wrote on 17 apr 2006 in
microsoft.public.inetserver.asp.general:

I have an asp file that as a URL variable. The variable contains the
url to another htm file.

"another"???

An asp-file is not an htm-file.
Please explain. It seems below you are using the asp file like an html
file, without processing.
How can I embed the htm file within the body
of the asp file?

if on the same server and root:

<!--#include virtual ="/dir/file.htm"-->


[please do not toppost on usenet]
I've tried the #include but it doesn't work. I googled quite a while
but proposed solutions don't work in my situation.

I just want to include the contents in the asp file so that they are
displayed.


If the .txt-file is accessable via the root, and you are processing the
.asp-fileASP, it must work.
--
Evertjan.
The Netherlands.
(Please change the x'es to dots in my emailaddress)

Apr 17 '06 #5
Ivan Debono wrote on 17 apr 2006 in
microsoft.public.inetserver.asp.general:
Did a workaround and it works. I changed it into a text file and open it
with the TextStream object, then use Response.Write :)


congratulations.

evenso: please do not toppost on usenet

--
Evertjan.
The Netherlands.
(Please change the x'es to dots in my emailaddress)
Apr 17 '06 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
3098
by: Wolfgang Schwanke | last post by:
Dear usenet, I'm having the following small problem. I've been ask to add some Quicktime panoramas to a website. The author of the panoramas has made two versions of each: One in MOV format,...
3
5203
by: Tony Sutton | last post by:
I have this following code in my html file: <object classid="clsid:166B1BCA-3F9C-11CF-8075-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/director/sw.cab#...
0
688
by: Anna | last post by:
Hi all. I don't know if I should ask this question here or on html group. I'll try. I have an embed element whose src is a big SVG file. The width and height of embed are set to 100%. When the...
3
2217
by: M | last post by:
Hi Folks, Does anyone know how to embed a file into a resource in C#? You seem to be able to embed Icon, Bitmap, Cursor's & Strings. But how do you embed a file??? In VC++ version 6 you...
2
4921
by: benmourra | last post by:
Hi all, I'm trying to create a web page using VS2005, ASP.NET 2.0, that will allow me to choose from a list of media files on my computer and then play my selection within an embedded Windows...
3
4770
by: abrtlt | last post by:
I would like to have a web page in which, when the user clicks on any of several specific elements, a specific audio file is played, without reloading the page. The specific audio file name is...
8
13650
by: CodeLeon | last post by:
Hi, All. I am creating a setup program. The way it works is that the user creates their setup info, my program generates the C# code for a setup executable, embeds the xml file containing the info...
6
2367
by: qualitychecker | last post by:
Hello thanks for your help.. I try to reference a PHP module from within a HTML file, see below ---------------------------------------- <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="fr">...
0
1519
by: VigneshS | last post by:
Hi, I am a newbie to Globalization and Localisation Concepts. I tried almost all the methods of the Globalization concepts. But i cannot be able to embed a text file within a Resource. ...
2
8047
dream party
by: dream party | last post by:
Inserting a Flash (SWF, FLV) file into HTML web page is already an old and familiar thing to all of us. It is a rather non-flexible thing that just to edit some options in the template. However, I...
0
7225
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7326
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
7385
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
7046
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
7498
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
1
5053
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
4707
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3195
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
3182
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.