Friend Function HexToStr(ByVal strHex As String) As String Dim i As Integer Dim sb As New System.Text.StringBuilder(strHex.Length \ 2) For i = 0 To strHex.Length - 2 Step 2 sb.Append(Microsoft.VisualBasic.Chr(Convert.ToByte(strHex.Substring(i, 2), 16))) Next Return sb.ToString End Function
J
jzsmith33
@jzsmith33
Posts
-
Convert heximal -
How to Insert Table in Rich Text Control1. You can insert the RTF code using SelectRTF, you'd have get the basic code from wordpad, then modify it a bit. 2. Also you can (although I've not been able to get it to work myself), create a word object and add a table, see the newsgroups for example. However, even if you get point 1 working there is a problem. Tables cells don't word wrap in the richtextbox. I've been looking for a solution to this was a day or two. I've just been looking at the OLE Object example on this site, I thought I might be able to insert HTML, but I can't get it to work. Even if I could I'd then have a problem with resizing columns. I've just about ready to give up.