locked
converting character to hex RRS feed

  • Question

  • User-1210839387 posted

    In vb.net, I would like to convert a character to hex and decimal (both) and then examine values.

    How is this done?

    Thanks

    Monday, February 20, 2006 2:10 PM

All replies

  • User2098947605 posted
    See the Microsoft.VisualBasic.Conversion namespace for .Hex().  To convert from Hex to decimal I believe you just put a & in front of the hex value and either the Val() or Str() will return the decimal value.
    Tuesday, May 9, 2006 2:56 PM
  • User-296612823 posted

    may i know how to get the data from hexadecimal format using visual basic.net ..i have the data strored in hexadecimal format in databse. I want retrie the data from the database ..can any body help me please...

    Thanks

    Sumna

    Friday, September 19, 2008 6:42 AM