Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > ASP.NET and ASP > ASP 3 Classic ASP Active Server Pages 3.0 > Classic ASP Professional
Password Reminder
Register
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
Classic ASP Professional For advanced coder questions in ASP 3. NOT for ASP.NET 1.0, 1.1, or 2.0.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Classic ASP Professional section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old April 5th, 2006, 11:08 PM
Registered User
 
Join Date: Apr 2006
Location: , , .
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default CHR(13) errors in CDO.CreateMHTMLBody()

When i'm calling CreateObject() method of CDO object it gets stuck if there are 2 CHR(13) characters together in HTML. But i'm not sure whether this is the exact pattern that causes this to get stuck, but it seems as if this is the case. Can somebody please confirm this or tell me about any other cases where this would fail ?

sample code :
<%
DIM loMessage , lcRet
SET loMessage = Server.CreateObject("CDO.Message")
lcRet = loMessage.CreateMHTMLBody("1.HTM")
Response.Write lcRet

SET loMessage = NOTHING
%>

And is there anyway i can get the return value from this method, in cases where it runs completely it returns a NULL (since this method is indicated as a SUB which does not return a value) but i also saw in MSDN that this returns an error message if there are any.

hoping for a QUICK reply

thanks....


Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
CreateMHTMLBody issues aspless Classic ASP Basics 3 January 8th, 2007 08:26 PM
Chr$ crmpicco Excel VBA 3 April 26th, 2005 02:44 AM
chr function erin SQL Language 6 December 5th, 2003 06:30 PM



All times are GMT -4. The time now is 09:20 AM.


Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.