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

Home Posts Topics Members FAQ

asp generate HTML

ash
i have a web page using frameset split into few pages. And I want to
generate one page of HTML code and send it through email. My question is
have to generate a HTML page using asp?
Thx very much.
Sep 12 '06 #1
6 5232
<%
Option Explicit
Const sTitle = "Hello World"
Response.Write "<html><head><t itle>" & sTitle & "</title></head>" &
vbCrLf
Response.Write "<body>" & sTitle & "</body></html>"
%>

--
Regards

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

Keeping it FREE!

"ash" <as*@gmail.comw rote in message
news:Oz******** *****@TK2MSFTNG P05.phx.gbl...
i have a web page using frameset split into few pages. And I want to
generate one page of HTML code and send it through email. My question is
have to generate a HTML page using asp?
Thx very much.


Sep 12 '06 #2

"ash" <as*@gmail.comw rote in message
news:Oz******** *****@TK2MSFTNG P05.phx.gbl...
i have a web page using frameset split into few pages. And I want to
generate one page of HTML code and send it through email. My question is
have to generate a HTML page using asp?
The simplest approach is to build the HTML as a string in ASP. ASP doesn't
really give you any special tools for building HTML apart from the
Server.HTMLEnco de method that ensures any characters that have special
meaning to HTML are encoded correctly.
Thx very much.


Sep 12 '06 #3
you could also create an html page and save as a file to be used as a template. Read the file into a string variable then email.

If the template needs to have dynamic content, use some template placeholders which can be replaced by alternate values before
mailing...


"ash" <as*@gmail.comw rote in message news:Oz******** *****@TK2MSFTNG P05.phx.gbl...
>i have a web page using frameset split into few pages. And I want to
generate one page of HTML code and send it through email. My question is
have to generate a HTML page using asp?
Thx very much.


Sep 16 '06 #4
ash
i want to use programming to generate a html source code from a my webpage
that i can cut&paste, and mail to other ppl. Then the recevier will get a
image of that website after he opened up that mail. How could i do that?
many Thx.

"Jon Paal" <Jon nospam Paal @ everywhere dot com¦b¶l¥ó
news:12******** *****@corp.supe rnews.com ¤¤¼¶¼g...
you could also create an html page and save as a file to be used as a
template. Read the file into a string variable then email.
>
If the template needs to have dynamic content, use some template
placeholders which can be replaced by alternate values before
mailing...


"ash" <as*@gmail.comw rote in message
news:Oz******** *****@TK2MSFTNG P05.phx.gbl...
i have a web page using frameset split into few pages. And I want to
generate one page of HTML code and send it through email. My question is
have to generate a HTML page using asp?
Thx very much.


Sep 18 '06 #5
ash wrote on 18 sep 2006 in microsoft.publi c.inetserver.as p.general:
i want to use programming to generate a html source code from a my
webpage that i can cut&paste, and mail to other ppl.
ppl? This is not SMS.
Then the recevier
receiver ;-(
will get a image of that website after he opened up that mail. How
could i do that? many Thx.
You could read the html rendered output of your own page
off the web with CreateObject("M SXML2.ServerXML HTTP"):

<http://classicasp.aspfaq.com/general...contents-of-a-
remote-web-page.html

and the send it in an email with CDO or Jmail or alike.

<http://classicasp.aspf aq.com/email/how-do-i-send-e-mail-from-asp.html>
--
Evertjan.
The Netherlands.
(Please change the x'es to dots in my emailaddress)
Sep 18 '06 #6
..

Sep 19 '06 #7

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

Similar topics

3
3037
by: Mike | last post by:
I am just wondering if it is possible to save a HTML string from PHPs? Let me elaborate more on what I mean. If you do <?php include 'abc.php' ?> //abc.php <html>
9
2311
by: Fred | last post by:
Hi, I'm sure there are a bunch of them, but googling just returned full-fledged CMS that require a DBMS and generate dynamic pages. I'd just like a script that would 1. look in a directory for articles in raw HTML, 2. generate a cooked output for each page (ie. add header and footer, CSS link in HEAD, etc.), 3. regenerate the homepage with "Last modified" bit following each
1
2337
by: Tim:. | last post by:
Hi Can someone tell me how I generate a new XML file that I can then use with an XSLT file. I am trying to use an XML file generated from Microsoft Project or even better generate an XML file from the project file (MPP File) itself. Which I can then use with an XSLT file I am new to XML and want to create a project viewer using XML, ASP and XHTML. I have an idea of how this should work but would really appritiate any help someone can...
4
43220
by: Dehaibe François | last post by:
Hi, I'm making a program which uses a scanner which is enable to can multiple pages. I want to save all the scanned images into a PDF FILE. Does exist an API which can generate PDF FILE in .NET ? Best Regards,
2
2273
by: Nick | last post by:
Hi all, I'm about to embark on a new project and can't decide quite how to do it. In summary, I have a database whose data I want to use to create html pages for a website. The website will just be a series of static html pages. I will keep all the data locally and would generate the required pages and upload them whenever I needed to. I do not want to have the database anywhere but on my lcoal machine. My questions are:
7
25354
by: Rathtap | last post by:
I want to write a C# application (lets call it Generator) that will receive an argument(patient account number) and dynamically generate a series of linked HTML files (claim information, payments, denials etc) by querying a database based on the argument. This Generator can be called from an aspx web page, a Cold Fusion page as well as from a windows application. 1. Does this C# app have to be a console application to receive arguments?...
1
2322
by: A Traveler | last post by:
Hello, i am having this problem. The exact error message is: "Unable to generate code for a value of type 'System.Web.UI.Page'. This error occurred while trying to generate the property value for Page." After a lot of googling, all i can find that this applies to is when trying to use enum-type datatypes as bit-vector flags, or when use designers to make an expandable property in the property tool-window. However, NEITHer of these...
0
2253
by: ward | last post by:
Greetings. Ok, I admit it, I bit off a bit more than I can chew. I need to complete this "Generate Report" page for my employer and I'm a little over my head. I could use some additional assistance. I say additional because I've already had help which is greatly appreciated. I do try to take the time and understand the provided script in hopes on not having to trouble others on those. But here it goes...
1
3647
by: Daniel Hilgarth | last post by:
Hello, I am currently trying to use XSLT for the creation of multiple HTML-files from a single XML-File. This HTML-files need to have links to each other. The following information might be important: There are some special nodes that will start a new HTML-page ("page-nodes"). Those nodes can be nested. Those nodes have an attribute "name" which is not necessarily unique. There are another special nodes that will create a link in one...
0
8483
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8401
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
1
8603
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8673
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
6236
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5703
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 then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4227
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 last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
2818
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
1815
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.