battle programminga forum for elite programmerswith extreme will powerto sharpen theire skills
 
HomeCalendarFAQSearchMemberlistUsergroupsRegisterLog in
Share | 
 

 vb.net convert to binary

Go down 
AuthorMessage
Moti Barski

avatar

Posts : 238
Join date : 2011-08-02

PostSubject: vb.net convert to binary   Thu Apr 27, 2017 7: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

_________________
MB over and out _______________________     
Back to top Go down
View user profile
 
vb.net convert to binary
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
» How to convert selenium project into runnable jar file.
» selenium RC
» Help with converting scripts from UFT(QTP) to Selenium

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