hi i really need help, i m trying to write a program that displays in a textbox a talbe of the binary, octal, and hexadecimal equivalents of the decimal numbers in range 1-222.
Plz help i m new to vb....Thks you
jatt09
0
Newbie Poster
Recommended Answers
Jump to PostDim sTemp As String = "" TextBox1.Multiline = True TextBox1.Dock = DockStyle.Fill TextBox1.ScrollBars = ScrollBars.Vertical TextBox1.Font = New System.Drawing.Font("Courier New", 12.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte)) For i As Integer = 1 To 222 sTemp = sTemp & String.Format("{0,6} {0, 10:X} {1, 10:C} {2, 10:C}", i, Convert.ToString(i, 8), …
All 3 Replies
Reply to this topic
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.