How to add 0x04 to a VB string

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Tom

    How to add 0x04 to a VB string

    Super quick question...

    I need to add an EOF character to a string. The character is 0x04
    (End of Transmission). How do I do this?

    Tom
  • Herfried K. Wagner [MVP]

    #2
    Re: How to add 0x04 to a VB string

    "Tom" <kuhnto@gmail.c omschrieb:
    I need to add an EOF character to a string. The character is 0x04
    (End of Transmission). How do I do this?
    \\\
    s &= ChrW(&H4)
    ///

    --
    M S Herfried K. Wagner
    M V P <URL:http://dotnet.mvps.org/>
    V B <URL:http://dotnet.mvps.org/dotnet/faqs/>

    Comment

    Working...