Declaring Hex in Vb.net

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

    Declaring Hex in Vb.net

    private readonly Guid _tagGuid1 = new Guid( new byte[] {0x5F, 0x4D, 0x69,
    0x63, 0x68, 0x61, 0x65, 0x6C, 0x20, 0x53, 0x74, 0x75, 0x61, 0x72, 0x74, 0x5F
    } );

    The above code is declaration of hex in c#. How to declared similary array
    of hex values in Vb.net ?

    Thanks for the help
    Sudheendra
  • Greg Young

    #2
    Re: Declaring Hex in Vb.net

    &Hxx

    new Integer() { &H01, &H3A, &H72}

    Cheers,

    Greg
    "Sudhee" <Sudhee@discuss ions.microsoft. com> wrote in message
    news:8200BC7B-6F5C-401A-98D4-7ACAF864F12E@mi crosoft.com...[color=blue]
    > private readonly Guid _tagGuid1 = new Guid( new byte[] {0x5F, 0x4D, 0x69,
    > 0x63, 0x68, 0x61, 0x65, 0x6C, 0x20, 0x53, 0x74, 0x75, 0x61, 0x72, 0x74,
    > 0x5F
    > } );
    >
    > The above code is declaration of hex in c#. How to declared similary array
    > of hex values in Vb.net ?
    >
    > Thanks for the help
    > Sudheendra[/color]


    Comment

    Working...