Articles   Dev Forums   Personalize   Favorites   Member Login   ASP Hosting      Active Users:  143
DevASP - ASP and XML Articles, Samples, Toturials, Sample Chapters and resources for Developers Tuesday, May 13, 2008
Home
Articles & Samples
ASP Hosting
Dev Search
Dev Forum
Add Your Articles
Add a Listing
Sample Chapters
Directory Feed
Link to US
Contact

Search Directory
Applications
Articles & Samples
Components
Community
Database
Developer Sites
Downloads
Hosting Services
Introduction
Knowledge Base
Sample Chapters
WebCasts

Trusted by over 7 million customers!
ASP Directory
Applications
Articles & Samples
Components
Developer Sites
Knowledge Base
Sample Chapters
WebCasts
XML Directory
Applications
Articles & Samples
Developer Sites
Error, Bugs & Fixes
Downloads
Introduction
Knowledge Base
Sample Chapters
WebCasts

FREE 12 month online training for ASP.NET & MS Expression Studio and a Free copy of MS Expression Web with Windows Server Purchase

Home > Search > Articles & Samples > ASP > Tips & Tricks
Search
DevASP

What's New
What's Hot

How do I send e-mail with CDO?       
Total Hits: 28  |  Today: 0 Author: classicasp       Rating:  
Read Reviews | Write Review |              Your 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....

VBScript Regular Expressions: Subexpression Substitutions       
Total Hits: 102  |  Today: 0 Author: Brett Burridge       Rating:  
Read Reviews | Write Review |              Your 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....

Transitions       
Total Hits: 104  |  Today: 0 Author: codeave.com       Rating:  
Read Reviews | Write Review |              Your 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....

Basic Debugging in Classic ASP       
Total Hits: 227  |  Today: 0 Author: Hans Mussmann       Rating:  
Read Reviews | Write Review |              Your 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....

Disable ASP Button on Submit and capture the PostBack OnClick Event       
Total Hits: 518  |  Today: 0 Author: chris lasater       Rating:  
Read Reviews | Write Review |              Your 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...

Use XML to Store Your App Settings in ASP       
Total Hits: 145  |  Today: 0 Author: Jatin Shah       Rating:  
Read Reviews | Write Review |              Your 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....

Getting The UserName       
Total Hits: 234  |  Today: 0 Author: Robert Chartier       Rating:  
Read Reviews | Write Review |              Your 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....

TICKERTAPE       
Total Hits: 236  |  Today: 0 Author: markprijs.nl       Rating:  
Read Reviews | Write Review |              Your 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...

HOWTO: Populating a FlexGrid Control with ADO and ASP (Q189406)       
Total Hits: 2401  |  Today: 0       Rating:  
Read Reviews | Write Review |              Your 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....

Picture Gallery using content linking       
Total Hits: 804  |  Today: 0       Rating:  
Read Reviews | Write Review |              Your 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....

Creating a PDF with ASP       
Total Hits: 1753  |  Today: 0       Rating:  
Read Reviews | Write Review |              Your 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....

ASP Troubleshooting Tips and Techniques       
Total Hits: 961  |  Today: 0       Rating:  
Read Reviews | Write Review |              Your 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 .....

Why is e-mail to certain domains being rejected?       
Total Hits: 119  |  Today: 0 Author: classicasp       Rating:  
Read Reviews | Write Review |              Your 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....

Why does CDO.Message give me 80040222 errors?       
Total Hits: 106  |  Today: 0 Author: classicasp       Rating:  
Read Reviews | Write Review |              Your 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....

Why does CDO.Message give me 8004020F errors?       
Total Hits: 120  |  Today: 0 Author: classicasp       Rating:  
Read Reviews | Write Review |              Your Rating: 

When switching from CDONTS to CDO.Message, and using code like the following (as described in Article #2026):...

Why does CDO.Message give 800C000D errors?       
Total Hits: 94  |  Today: 0 Author: classicasp       Rating:  
Read Reviews | Write Review |              Your Rating: 

There are various reasons for this to happen. Here are some code samples to reproduce this error message:...

How do I send e-mail in HTML format?       
Total Hits: 59  |  Today: 0 Author: classicasp       Rating:  
Read Reviews | Write Review |              Your 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 ...

How do I put carriage returns into an e-mail?       
Total Hits: 51  |  Today: 0 Author: classicasp       Rating:  
Read Reviews | Write Review |              Your 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:...

How do I prevent my links from wrapping in an e-mail?       
Total Hits: 38  |  Today: 0 Author: classicasp       Rating:  
Read Reviews | Write Review |              Your 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?...

How do I alter the priority / importance of an e-mail message?       
Total Hits: 34  |  Today: 0 Author: classicasp       Rating:  
Read Reviews | Write Review |              Your Rating: 

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


1  2  3  4  5  Next >> 


DevASP - Privacy - Disclaimer
Copyright © 2008 DevASP.com