Results 1 to 2 of 2

Thread: hexidecimal to decimal?

  1. #1

    Thread Starter
    Frenzied Member
    Join Date
    Aug 2000
    Posts
    1,091
    Hi,

    I'm using some API function which write/read DWORD registry settings. But, I have a problem.. It keeps returning the Hexidecimal number instead of the decimal number..

    Can VB6 convert the Hexidecimal number into a decimal number? If so, how?

    Thanks,

    Dan

  2. #2
    Guest
    heres a hint:

    Code:
    msgbox &HF
    this should display "15"

    thus:

    val(&HF) will return 15


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