|
|
|
|
|
Total Hits: 28 | Today: 0 |
Author: classicasp
|
Rating:
|
|

To send an e-mail with Active Server Pages requires some kind of component. There are many third party components available (see bottom of page), but one of the most readily available is the free Microsoft mail component CDO, which ships with Windows 2000, Windows XP, and Windows Server 2003....
|
|
|
|
Total Hits: 102 | Today: 0 |
Author: Brett Burridge
|
Rating:
|
|

Although there are a good range of text handling functions in VBScript, there are times when the required text replacement operation would be very tricky to carry out with a combination of calls to functions such as Replace, InStr and Left. In these cases, it is worth considering the use of VBScript's regular expressions, which are supported from VBScript version 5 upwards. An introduction to VBScript Regular Expressions is available....
|
|
|
|
Total Hits: 104 | Today: 0 |
Author: codeave.com
|
Rating:
|
|

Transitions are a great way to add a unique and dynamic look to your website. Providing the user is utilizing Internet Explorer 4.0 or higher....
|
|
|
|
Total Hits: 227 | Today: 0 |
Author: Hans Mussmann
|
Rating:
|
|

While ASP.NET has some built in tools to aid in debugging, classic ASP is relatively lacking in that regard. This tip will show you an easy way to check the values of your application's variables and then stop execution before you do any database writes or anything else you might not want to do while testing....
|
|
|
|
Total Hits: 518 | Today: 0 |
Author: chris lasater
|
Rating:
|
|

This article describes how to disable an ASP button on click to prevent multiple clicks and still fire the button event on the server. This is a real simple solution that a colleague of mine Harpreet Chawla figured out. Just a real simple fix. Just add the event to the button attributes for the onclick event. It disables via client script the button, then returns the control to the Server button event through the GetPostBackEventReference method, which: 'Obtains a reference to a client-side s...
|
|
|
|
Total Hits: 145 | Today: 0 |
Author: Jatin Shah
|
Rating:
|
|

XML provides many opportunities to share and store data. One of the most common and simple uses of XML is to use it to store data used by your application....
|
|
|
|
Total Hits: 234 | Today: 0 |
Author: Robert Chartier
|
Rating:
|
|

You can use the Request.ServerVariables(LOGON_USER) to get the username of the person accessing your asp page. One thing to note though, for LOGON_USER to contain a username they must not be able to connect anonymously....
|
|
|
|
Total Hits: 236 | Today: 0 |
Author: markprijs.nl
|
Rating:
|
|

A nice way to point out some features on your website is by means of a tickertape. Not only can you show messages this way, but the ticker can also contain hyperlinks, so you can direct your visitors directly to the right place...
|
|
|
|
Total Hits: 2401 | Today: 0 |
|
Rating:
|
|

The FlexGrid ActiveX control is a powerful control to display and manipulate data from a database in Internet Explorer. This sample uses Visual InterDev's DataCommand Design-time control to access the datasource. The client-side script uses a call to a subroutine to actually build the HTML source code that will add rows and columns to the FlexGrid control before the control is displayed by Internet Explorer....
|
|
|
|
Total Hits: 804 | Today: 0 |
|
Rating:
|
|

Learn how to use the Content Linking component to setup a customizable, interactive picture gallery. Evagoras's application has an administration page and a slide-show option....
|
|
|
|
Total Hits: 1753 | Today: 0 |
|
Rating:
|
|

Adobe's PDF format has become the lingua franca of cross-platform reporting for many agencies and companies. While I was no great fan of the product, I have to admit it probably does a better job of producing a compact document with loads of formatting than Word ever will....
|
|
|
|
Total Hits: 961 | Today: 0 |
|
Rating:
|
|

When you use Active Server Pages (ASP), you're operating in the client/server world of Microsoft® Internet Information Server (IIS) and the HyperText Transfer Protocol (HTTP). Many customers who don't have a firm grasp of this architecture .....
|
|
|
|
Total Hits: 119 | Today: 0 |
Author: classicasp
|
Rating:
|
|

Whether you're using CDO, XP_SMTP_SendMail, or a 3rd party COM object to send mail, you may have experienced this problem. Your mail works some of the time — but doesn't work either when the mail is intended for your own domain, or it only works when the mail is intended for your own domain. Here are some things to check that will hopefully help resolve the issue. Many of these suggestions will require some input, and possibly some work, from your network and/or Exchange administrator....
|
|
|
|
Total Hits: 106 | Today: 0 |
Author: classicasp
|
Rating:
|
|

Verify that the path exists, and has appropriate permissions. Alter the value if it is not set correctly. On previous versions of IIS, the pickup directory is usually c:\inetpub\mailroot\pickup -- so make sure that this path exists and has appropriate permissions....
|
|
|
|
Total Hits: 120 | Today: 0 |
Author: classicasp
|
Rating:
|
|

When switching from CDONTS to CDO.Message, and using code like the following (as described in Article #2026):...
|
|
|
|
Total Hits: 94 | Today: 0 |
Author: classicasp
|
Rating:
|
|

There are various reasons for this to happen. Here are some code samples to reproduce this error message:...
|
|
|
|
Total Hits: 59 | Today: 0 |
Author: classicasp
|
Rating:
|
|

You should make sure that your content is easy enough to read for those that have disabled HTML, are using a web interface that doesn't allow HTML through, or are using a mail reader without HTML support (e.g. Pine). In cases where you can offer alternate content, you should tell the user that they may have to re-construct the link. In addition, the latest build of my chosen mailreader allows me to turn off HTML completely (in both preview pane and full view); I've also recently started playing ...
|
|
|
|
Total Hits: 51 | Today: 0 |
Author: classicasp
|
Rating:
|
|

If you are using HTML mail, you can use HTML carriage returns. For example, if the body is coming from a textarea, you'll want to use the following to put HTML carriage returns in:...
|
|
|
|
Total Hits: 38 | Today: 0 |
Author: classicasp
|
Rating:
|
|

In most e-mail readers, this link will be active (clickable) but probably won't work correctly, because the mail program (and/or the mail server) might force the text to wrap to the next line after a certain number of characters (usually 72 or 76). So, what can you do to prevent this from happening?...
|
|
|
|
Total Hits: 34 | Today: 0 |
Author: classicasp
|
Rating:
|
|

Using CDO.Message, you're supposed to be able to do this:...
|
|
|
|
|
|
|