Results 1 to 5 of 5

Thread: the character number of >>> " <<<

  1. #1

    Thread Starter
    Frenzied Member Ultimasnake's Avatar
    Join Date
    Feb 2002
    Location
    Amsterdam, holland
    Posts
    1,172

    the character number of >>> " <<<

    i have to add this >>> " <<< thing in a text box but because of the fact that VB uses it to seperate text from objects i cant add it what is the VB code for it? :S really must have it
    For my PC and MS Smartphone 2003 software visit
    http://www.ultimasoftware.nl

  2. #2
    -= B u g S l a y e r =- peet's Avatar
    Join Date
    Aug 2000
    Posts
    9,629
    two ways

    VB Code:
    1. Private Sub Command1_Click()
    2.     Text1.Text = """"
    3.     Text1.Text = Text1.Text & Chr(34)
    4. End Sub
    -= a peet post =-

  3. #3
    Hyperactive Member -=XQ=-'s Avatar
    Join Date
    Mar 2002
    Location
    Liverpool, England, UK
    Posts
    278
    You'll need the ascII code which you can find by typing it into a textbox and then putting a button there with the code:

    Code:
    msgbox asc(textbox.text)
    then you can use the chr(whatever the number is)........ (I would have gave you the number but i don't have access to VB at the mo)
    See ya later,

    -=XQ=-

    "Reality is merely an illusion, albeit a very persistent one. "
    - Albert Einstein (1879-1955)
    This is the coolest site ever!!!

  4. #4
    PowerPoster
    Join Date
    Jun 2001
    Location
    Trafalgar, IN
    Posts
    4,141
    VB Code:
    1. Private Sub Command1_Click()
    2.     MsgBox "How do I put " & Chr(34) & "Quotes" & Chr(34) & " around word in a string?"
    3.     MsgBox "How do I put ""Quotes"" around a word in a string?"
    4. End Sub

  5. #5

    Thread Starter
    Frenzied Member Ultimasnake's Avatar
    Join Date
    Feb 2002
    Location
    Amsterdam, holland
    Posts
    1,172
    yeah got it.. thanks for the fast reply dude(S)
    For my PC and MS Smartphone 2003 software visit
    http://www.ultimasoftware.nl

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