CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3

Threaded View

  1. #1
    Join Date
    Nov 2009
    Posts
    29

    Int to string as hex

    I need to display a int as a sting, but i need it to be displayed in hex. This is what i have so far.

    this.tbx_result.Text = Convert.ToString(seed);


    *EDIT* I figured this part out, but my next problem is i need to figure out how to only allow hex characters to be entered in to the textbox.
    Last edited by KazoWAR; December 21st, 2009 at 03:02 AM.

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

Featured