CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Sep 2000
    Location
    Indianapolis
    Posts
    6,754

    Problem with posting Script URL

    Hello

    How would I add a URL at the end of this line of script, please?

    Code:
    ("<p style='font-family:candara; color:#ffffff; background-color:#232323'>Hello " & strEmailValue & "<br /><br /> To reset your password, please click on this <a style='color:#22BCES5' href=''>link</a><br /><br />Thank you<br /><br />Regards<br /><br />Dima<br /><br /></p>", Nothing, "text/html")



    Or should the URL go on a separate line of its own in Visual Studio because that line is looking a little long.

    The idea is that I have:


    Thank you


    Regards

    User's name

    URL link

    I have tried "<a href=""http://www.mySite.net/""></a>" and "<a href="http://www.mySite.net/"></a>", and a number of other possibilities to no avail. Visual Studio 2013 tells me I have a problem with a comma or bracket.



    <posted by admin for user due to posting issue>
    Last edited by Brad Jones; February 24th, 2017 at 11:50 AM.

  2. #2
    Join Date
    Sep 2000
    Location
    Indianapolis
    Posts
    6,754

    Re: Problem with posting Script URL

    Try single quotes (or no quotes) around the URL. I'm not sure if this is where your issue is:
    Code:
    "<a href='http://www.mySite.net/'></a>"

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured