battle programmers alliance

battle programming a forum for elite programmers with extreme will power to sharpen theire skills
 
HomeCalendarFAQSearchMemberlistUsergroupsRegisterLog in
Share | 
 

 vb.net convert to binary

View previous topic View next topic Go down 
AuthorMessage
Moti Barski

avatar

Posts : 74
Join date : 2011-08-02

PostSubject: vb.net convert to binary   Thu Apr 27, 2017 11:48 am

Code:
Public Class Form1
    Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click
        Dim i As Integer = 512
        Dim s As String = Convert.ToString(i, 2).PadLeft(8, "0"c) '32 bits
        MsgBox(s)
    End Sub
End Class
Back to top Go down
View user profile
 
vb.net convert to binary
View previous topic View next topic Back to top 
Page 1 of 1
 Similar topics
-
» Convert string (with decimal or a point) to a integer.
» Getting main" org.openqa.selenium.WebDriverException: Cannot find firefox binary in PATH
» [ANSWERED] Simple CMD Code for Convert ESDWiM
» How to convert selenium project into runnable jar file.
» selenium RC

Permissions in this forum:You cannot reply to topics in this forum
battle programmers alliance :: battle programming alliance :: battle programming-
Jump to: