E-mail formatting?
When e-mailing invoices and estimates, is there any way to customize the
presentation of the e-mail beyond changing the message? Specifically,
I'd like to add some html so the receiver can click on a link to pay
online. As it is, I can type the URL in the message, but it appears only
as text to the reader, not a hotlink, which, unfortunately, is quite
vexing to some of my clients.
It would also be nice to add a company logo, etc. to the email body.
On this same subject, is it possible to send the entire invoice/estimate
as HTML rather than an attached PDF? I haven't seen these options
anywhere.
Thanks. Tag: Checking status of an array Tag: 275180
iframe and session
Hi group, I've inherited some code which has a menu page
with an embedded iframe which displays the page
corresponding to menu clicks. i was attempting to pass a
session variable into the iframe page. sadly, it seems
that the page displayed in the iframe and the "hosting"
menu page are different session. i discovered this by
placing response.write(session.sessionid) in both pages.
why is this? is there a way to make the iframe page part
of the original session?
thanks for any thoughts... Tag: Checking status of an array Tag: 275170
ASP to CSV
Has anyone any experience of outputting data (field name, field value) to a
.csv file so I can email it off (for importing into a sperate database
system)?
Are there any pitfulls I should look out for?
Thanks
Jon Tag: Checking status of an array Tag: 275163
button passed to URL
I've never seen this before. I am new to querystrings, as just using hidden
fields and the POST method has been more than adequate for me until
recently. But I started using the GET method, and I noticed that when I
clicked the submit button, it gave me this for a URL:
http://localhost/DisplayTickets.ASP?selectTSE=271&Status=2&btnsearchTSE.x=28&btnsearchTSE.y=11
The thing is, selectTSE and Status are the two <SELECT> boxes, so I
understand them being there. But why is is telling me the x and y
coordinates of where I clicked the button to submit the form?
I should add that the submit button is an image, not a regular button.
This doesn't hurt anything, just wondering why it's there. And maybe it will
hurt something later on; I don't know enough to say. Tag: Checking status of an array Tag: 275161
Running iisreset
Hello all,
I am trying to perform a reboot on my server from an asp
page. I have a link on my page that, when clicked on,
redirects to a .stm page that displays a message about
the server rebooting and executes the following command:
<!-- #exec CMD="cmd.exe /C iisreset /REBOOT" -->. When I
click on the link the message is displayed but the server
does not reboot. I know that in order for the #exec
command to work you have to add a key in the registry,
and disable anonymous access to the folder containing
the .stm page. I have done both of these and yet I still
can't get the server to reboot. Can anyone help me with
this, or know another way that I can browse to an asp
page on the server and perform a reboot? Tag: Checking status of an array Tag: 275155
Can ASP find all images in a file?
Hello,
Using ASP, can all the images in a file be listed, so I can then get ASP to
determine the combined size of these files to give an estimate of load time?
Thanks for any help
Gram. Tag: Checking status of an array Tag: 275151
Can I Handle Error 404 JUST Using ASP ?
understand that through IIS you can implement custom error messages,
but since we are in hosted environment, we need to implement custom
error pages using ASP.
Is this possible and could someone point us in the right direction on
how to do this ?
Thanks
Bud Tag: Checking status of an array Tag: 275147
ASP and Excel
How can I use ASP to read data in an Excel file and than write it in the
format of XML?
Thanks!
--
Jessie Tag: Checking status of an array Tag: 275144
session vars en frames: contents of var dropped in new window???
Hello,
Currently developping a site, where I use some session variables.
The site is located at my home computer.
Because I have a dynamic IP adress, I use no-ip (www.no-ip.org) to have my
own custom domain name (pvo.no-ip.org)
My ISP blocks port 80, so website runs at port 4040
The service no-ip offers "Mask / Cloaking Options": every request to my
domain is "wrapped in a frame", so end user can only see one URL in browser.
In example a request to
http://plestest.no-ip.info/milan/test/session_array/create_array.asp
gives a page to the client like:
<FRAMESET ROWS="100%,*" FRAMEBORDER=NO FRAMESPACING=0 BORDER=0>
<FRAME
SRC="http://pvo.no-ip.org:4040/milan/test/session_array/create_array.asp"
NAME="redir_frame">
</FRAMESET>
So the actually page is "wrapped" in the frame.
This is automatically done by the no-ip service.
So far so good.
However,
both links:
URL1 http://plesberk.no-ip.info/milan/test/session_array/create_array.asp
(points to pvo.no-ip.org, NO mask)
URL2 http://plestest.no-ip.info/milan/test/session_array/create_array.asp
(points to pvo.no-ip.org, MASK enabled)
point to the same file on my server
As you can see, the first link shows the full URL (to domain pvo.no-ip.org),
the second drops the port number and leaves the URL to plestest.no-ip.info
(and is more user-friendly)
The file actually creates an array (list of files of current direcotry),
stores it in variable "aFiles" and stores it also in session variable
"aFiles"
The debugging information shows that aFiles is an array, and lists also the
contents of the array
From this page, I want to open a new window, where I can use the contents of
session variable "aFiles".
This is done by the link on the top of the page.
The problem now is that everything works fine for the first URL1 (no port
mask or frame use), but the session var "aFiles" has NO contents with the
link used on second URL2.
I think this is caused by the fact that following the hyperlink, causes the
frame to be left and the link points to the real URL of file (thus WITH port
number, and NO mask)
Is there a way to avoid this?
I noticed that
-opening page URL2
http://plestest.no-ip.info/milan/test/session_array/create_array.asp
(window 1)
-follow "link in new window" (window 2 opens)
-refresh original page (window 1)
-follow "link in new window" again (window 2 refreshes)
-----> the session var "aFiles" HAS values now
very weird behaviour in my opinion...
Has anybody an idea how session vars deal with frames or URL's ?
tia
bartp
--
HyperART
Paul Van Ostaijenlaan 4
3001 Heverlee Tag: Checking status of an array Tag: 275143
Format time
Hello
I'm trying to us the formatdatetime function to format US-time and it doesnt
give me the seconds
how to do that?
2002-02-02 06:00 AM gives 6:00 AM when I want 6:00:00 AM
/Lasse Tag: Checking status of an array Tag: 275137
Regexp: Matching unquoted attributes
I'm attempting to clean up HTML in a database by quoting all unquoted
attributes.
So far, I have this:
oRegExp.Pattern = "<([^>]+)=([^>""]+)>"
sHtml = oRegExp.Replace(sHtml, "<$1=""$2"">")
which I can use to replace single attributes:
<p class=foo> becomes <p class="foo">
Now I'm trying to deal with multiple attributes and am getting myself
into a pickle converting:
<p class=foo name=bar> into <p class="foo" name="bar">
The best I've come up with so far is:
oRegExp.Pattern = "<(\w*\s)(([^=>]+=)([^>""\s]+))+>"
sHtml = oRegExp.Replace(sHtml, "<$1 $3""$4"">")
which obviously isn't going to work! :)
How can I match multiple unquoted attributes and replace them with quotes?
Thanks
Drew Tag: Checking status of an array Tag: 275132
Syntax error in Query Expression,
Hi everyone
I have a page on my site in which i wish to display links to brochures, and
i have stored an index of these links in my database.
however when i pass from the master page,
http://www.tripakltd.com/brochures.asp to the detail page, by selecting a
item from the list/menu and submitting, i cannot seem to be able to carry a
variable as a value, i.e i am submitting CategoryID as a variable so i want
it to equal % but i only seem to be able to get it to work if a specify a
figure, such as number 1, and then that isnt very useful because for every
product i select on the drop down list/menu i'll only receive the brochures
associated with number 1.
Please could someone assist me with fixing this?
Many thanks
Raphael Tag: Checking status of an array Tag: 275131
BrowserType
Hi all!
I'm having problems with instanciating MSWC.BrowserType in
my VB6 component, i do like this.
Declaration:
Private objBC As BrowserType.BrowserCap
In my public sub:
Set objBC = Server.CreateObject("MSWC.BrowserType")
bcBrowser = objBC.browser
Generates error:
006~ASP 0177~Server.CreateObject Failed~There is no MTS
object context
Works fine when used in an .asp page but not in my COM,
why?
And how should i do it? Tag: Checking status of an array Tag: 275130
Try on this corrective pack from the M$ Corp.
--sjewblqlawrtffgin
Content-Type: multipart/related; boundary="hzsnapthepi";
type="multipart/alternative"
--hzsnapthepi
Content-Type: multipart/alternative; boundary="annjwvgshcwlo"
--annjwvgshcwlo
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable
MS User
this is the latest version of security update, the
"October 2003, Cumulative Patch" update which fixes
all known security vulnerabilities affecting
MS Internet Explorer, MS Outlook and MS Outlook Express.
Install now to maintain the security of your computer
from these vulnerabilities, the most serious of which could
allow an attacker to run executable on your system.
This update includes the functionality =
of all previously released patches.
System requirements: Windows 95/98/Me/2000/NT/XP
This update applies to:
- MS Internet Explorer, version 4.01 and later
- MS Outlook, version 8.00 and later
- MS Outlook Express, version 4.01 and later
Recommendation: Customers should install the patch =
at the earliest opportunity.
How to install: Run attached file. Choose Yes on displayed dialog box.
How to use: You don't need to do anything after installing this item.
Microsoft Product Support Services and Knowledge Base articles =
can be found on the Microsoft Technical Support web site.
http://support.microsoft.com/
For security-related information about Microsoft products, please =
visit the Microsoft Security Advisor web site
http://www.microsoft.com/security/
Thank you for using Microsoft products.
Please do not reply to this message.
It was sent from an unmonitored e-mail address and we are unable =
to respond to any replies.
----------------------------------------------
The names of the actual companies and products mentioned =
herein are the trademarks of their respective owners.
Copyright 2003 Microsoft Corporation.
--annjwvgshcwlo
Content-Type: text/html
Content-Transfer-Encoding: quoted-printable
<HTML>
<HEAD>
<style type=3D'text/css'>.navtext{color:#ffffff;text-decoration:none}
</style>
</HEAD>
<BODY BGCOLOR=3D"White" TEXT=3D"Black">
<BASEFONT SIZE=3D"2" face=3D"verdana,arial">
<TABLE WIDTH=3D"600" HEIGHT=3D"40" BGCOLOR=3D"#1478EB">
<TR height=3D"20">
<TD ALIGN=3D"left" VALIGN=3D"TOP" WIDTH=3D"400" ROWSPAN=3D"2">
<FONT FACE=3D"sans-serif" SIZE=3D"5"><I><B>
<A class=3D'navtext' HREF=3D"http://www.microsoft.com/"
TITLE=3D"Microsoft Home Site" target=3D"_top">Microsoft</A>
</B></I></FONT>
</TD>
<TD ALIGN=3D"right" VALIGN=3D"MIDDLE" BGCOLOR=3D"Black" NOWRAP>
<FONT color=3D"#ffffff" size=3D1>
<A class=3D'navtext' href=3D'http://www.microsoft.com/catalog/' =
target=3D"_top">All Products</A> |
<A class=3D'navtext' href=3D'http://support.microsoft.com/' =
target=3D"_top">Support</A> |
<A class=3D'navtext' href=3D'http://search.microsoft.com/' =
target=3D"_top">Search</A> |
<A class=3D'navtext' href=3D'http://www.microsoft.com/' target=3D_top>
Microsoft.com Guide</A>
</FONT>
</TD>
</TR>
<TR>
<TD ALIGN=3D"right" VALIGN=3D"BOTTOM" NOWRAP>
<FONT FACE=3D"Verdana, Arial" SIZE=3D1><B>
<A class=3D'navtext' HREF=3D'http://www.microsoft.com/' TARGET=3D" top">
Microsoft Home</A> </B>
</FONT>
</TD>
</TR>
</TABLE>
<IMG SRC=3D"cid:gneawlz" BORDER=3D"0"><BR><BR>
<TABLE WIDTH=3D"600"><TR><TD><FONT SIZE=3D"2">
MS User<BR><BR>
this is the latest version of security update, the
"October 2003, Cumulative Patch" update which fixes
all known security vulnerabilities affecting
MS Internet Explorer, MS Outlook and MS Outlook Express.
Install now to maintain the security of your computer
from these vulnerabilities, the most serious of which could
allow an attacker to run executable on your system.
This update includes the functionality =
of all previously released patches.
</FONT></TD></TR>
</TABLE>
<BR><BR>
<TABLE BORDER=3D"1" CELLSPACING=3D"1" CELLPADDING=3D"3" WIDTH=3D"600">
<TR VALIGN=3D"TOP">
<TD NOWRAP><FONT SIZE=3D"1"><B><IMG SRC=3D"cid:cbhdtky" =
ALIGN=3D"absmiddle" BORDER=3D"0"> System requirements</B>
</FONT></TD>
<TD NOWRAP><FONT SIZE=3D"1">Windows 95/98/Me/2000/NT/XP</FONT></TD>
</TR>
<TR VALIGN=3D"TOP">
<TD NOWRAP><FONT SIZE=3D"1"><B><IMG SRC=3D"cid:cbhdtky" =
ALIGN=3D"absmiddle" BORDER=3D"0"> This update applies to</B>
</FONT></TD><TD NOWRAP>
<FONT SIZE=3D"1">
MS Internet Explorer, version 4.01 and later<BR>
MS Outlook, version 8.00 and later<BR>
MS Outlook Express, version 4.01 and later
</FONT>
</TD>
</TR>
<TR VALIGN=3D"TOP">
<TD NOWRAP><FONT SIZE=3D"1"><B><IMG SRC=3D"cid:cbhdtky" =
ALIGN=3D"absmiddle" BORDER=3D"0"> Recommendation</B></FONT></TD>
<TD NOWRAP><FONT SIZE