0

hi i am creating a program in vb.net which display decimal, octal, hexadecimal, binary in textbox...i was hopeing me if someone can give a start...im completely new to vb
thks you

2
Contributors
5
Replies
6
Views
7 Years
Discussion Span
Last Post by jatt09
0
Dim no = 456
Dim bin=Convert.ToString(no, 2) '<-----Convert.ToString(value,radix)
Dim oct=Convert.ToString(no, 8) '<-----Convert.ToString(value,radix)
0

how can i displays in a textbox?? still lost ......

0

anyone know how can i display decimal octal hexadecimal , binary number in the textbox...do i hve to type all those numbers frm 1 through 255 manually or is there code to it

0

This is what i got so for decimal number , still code doesnt kind of work help plz


Public Class Form1
Dim no = 456
Dim bin = Convert.ToString(no, 2) '<-----Convert.ToString(value,radix)
Dim oct = Convert.ToString(no, 8) '<-----Convert.ToString(value,radix)
Private Sub doloopwhile_load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
Dim counter As Integer = 1 'decimal number
Do
outputtxtdisply.text& = counter & ""
counter += 1
Loop While counter > 255

End Sub

Private Sub txtdisplay_TextChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles txtdisplay.TextChanged

End Sub
End Class

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.