Results 1 to 4 of 4

Thread: Vb's special characters

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Jun 1999
    Location
    Garden Grove, CA, USA
    Posts
    110

    Post

    How do i input "/" as a slash but not a division sign?

  2. #2
    PowerPoster Chris's Avatar
    Join Date
    Jan 1999
    Location
    K-PAX
    Posts
    3,238

    Post

    Try this Chr(47).

    Debug.Print "Peter" & Chr(47) & "Robert"


  3. #3
    Conquistador
    Join Date
    Dec 1999
    Location
    Australia
    Posts
    4,527

    Post

    how do you get weird characters like

    ¿
    in code?

  4. #4
    Serge's Avatar
    Join Date
    Feb 1999
    Location
    Scottsdale, Arizona, USA
    Posts
    2,744

    Post

    You can either use Character Map application that comes with Windows or you can write a little code to show ASCII characters:

    Code:
    Private Sub Form_Load()
        Dim i As Integer
        
        For i = 0 To 255
            List1.AddItem "ASCII: " & i & " Character: " & Chr(i)
        Next
    End Sub
    Note: requires a Listbox for this to work.

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