Wrox Programmer Forums

Need to download code?

View our list of code downloads.

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 4th, 2006, 09:16 AM
Friend of Wrox
 
Join Date: Jun 2004
Location: Montreal, Quebec, Canada.
Posts: 106
Thanks: 0
Thanked 0 Times in 0 Posts
Default Problems with CDO and ASP

Hi I'm trying to create an email notification that incldues a "dynamic" link to a newly created EXCEL sheet. But something's wrong with my syntax (quatation marks I'm sure! )

Please review and forward your recommendations:

here's the line that is a probelm (obviously you'll need to copy into a file whic hwon't cause it to wrap as in this form field.):

strHTML = strHTML & "<a href="""<%=g_filename%>".xls"" target=""_blank"">here</a>"

Thank you for your help in this matter,
nancy

Reply With Quote
  #2 (permalink)  
Old April 4th, 2006, 09:53 AM
Friend of Wrox
 
Join Date: Jul 2003
Location: , , United Kingdom.
Posts: 683
Thanks: 0
Thanked 1 Time in 1 Post
Default

Hi Nancy,

Try
Code:
strHTML = strHTML & "<a href=""" & g_filename & ".xls"" target=""_blank"">here</a>"
HTH,

Chris

Reply With Quote
  #3 (permalink)  
Old April 7th, 2006, 08:13 AM
Friend of Wrox
 
Join Date: Jun 2004
Location: Montreal, Quebec, Canada.
Posts: 106
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Thanks Chris,
It works now.

Much appreciated.

nancy
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
Problems with CDO.Message (CDOSYS) roynaveen Classic ASP Professional 1 March 14th, 2007 07:56 AM
ASP CDO MAIL cullancrothers Classic ASP Professional 2 February 24th, 2006 06:16 PM
ASP CDO.Message difficulty crmpicco Classic ASP Basics 0 March 1st, 2005 07:48 AM



All times are GMT -4. The time now is 01:45 AM.


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