Results 1 to 3 of 3

Thread: VB Characters

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Jan 2000
    Posts
    323
    When using CDONTS to send mail I know the body has to be fomatted as text but can use characters like Chr(13) to return to the next line. Where can I find a list of all characters?

    Thanks for any help.
    If you think education is expensive, try ignorance.

  2. #2
    Fanatic Member Ianpbaker's Avatar
    Join Date
    Mar 2000
    Location
    Hastings
    Posts
    696
    hi artsapimp

    you can use most of all of vbcommands like vbnewline as in vb

    vbCr Chr(13) Carriage return.
    VbCrLf Chr(13) & Chr(10) Carriage return–linefeed combination.
    vbFormFeed Chr(12) Form feed; not useful in Microsoft Windows.
    vbLf Chr(10) Line feed.
    vbNewLine Chr(13) & Chr(10) or Chr(10) Platform-specific newline character; whatever is appropriate for the platform.
    vbNullChar Chr(0) Character having the value 0.
    vbNullString String having value 0 Not the same as a zero-length string (""); used for calling external procedures.
    vbTab Chr(9) Horizontal tab.
    vbVerticalTab Chr(11) Vertical tab; not useful in Microsoft Windows.

    Hope this helps

    Ian
    Yeah, well I'm gonna build my own lunar space lander! With blackjack aaaaannd Hookers! Actually, forget the space lander, and the blackjack. Ahhhh forget the whole thing!

  3. #3

    Thread Starter
    Hyperactive Member
    Join Date
    Jan 2000
    Posts
    323

    Thanks for the reply

    Thank you for the information. Let me explain what I'm trying to do and see if it's possible at all...

    I have a form where basic Name, Address, Phone Number, etc. is filled out and sent to an email box monitored by a specific department in my office. The email I have being sent to them is send with real basic formatting like this..

    Code:
    strBody = "Name: " & Request.Form("Name") & Chr(13)
    strBody = strBody + "Address: " & Request.Form("Address") & Chr(13)
    ...
    I am wanting it to look like a table where it can be read easier and look more professional. I know writing table, tr, td, etc. won't work. Is there anything that will?
    If you think education is expensive, try ignorance.

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