Results 1 to 7 of 7

Thread: C++ to VB

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Dec 2005
    Posts
    230

    C++ to VB

    hi guys, i would like to know if anybody know how to declare some thing like this in VB
    Code:
    BYTE buffer[]={0x41,0x58,0x52};

  2. #2

  3. #3

    Thread Starter
    Addicted Member
    Join Date
    Dec 2005
    Posts
    230

    Re: C++ to VB

    yes but {0x41,0x58,0x52};

  4. #4
    Frenzied Member TheBigB's Avatar
    Join Date
    Mar 2006
    Location
    *Stack Trace*
    Posts
    1,511

    Re: C++ to VB

    I'm not of the bit calculations but I'd suppose it would be like
    Code:
    buffer(0) = <first byte>
    buffer(1) = <second byte>
    etc.
    Delete it. They just clutter threads anyway.

  5. #5

    Thread Starter
    Addicted Member
    Join Date
    Dec 2005
    Posts
    230

    Re: C++ to VB

    what if i have a really long array ? do i have to retype it everytime ?

  6. #6

  7. #7
    I'm about to be a PowerPoster!
    Join Date
    Jan 2005
    Location
    Everywhere
    Posts
    13,647

    Re: C++ to VB

    &H41 etc.

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