know the system I want the codes for make my Project knows the system on which it's running. Like : Code: 'If windows 7 32bit then me.close These are not codes put I just say what I need Have you any idea about this guys?
vb.net - How to check if OS is 32 Bit OS or 64 Bit - Stack Overflow First link on google vb.net - Detect Operating System - Stack Overflow First link on google
i Think i made something like that while ago. Code: If label1 = Windows 7 Then End After adding this code: Code: label1.text = computerver *I'M NOT SURE OF THE CODE.*
Code: Private OSName As String = My.Computer.Info.OSFullName Private OSVersion As String = My.Computer.Info.OSVersion
Originally Posted by Mayion i Think i made something like that while ago. Code: If label1 = Windows 7 Then End After adding this code: Code: label1.text = computerver *I'M NOT SURE OF THE CODE.* This is plain wrong.
Originally Posted by ^_~DeM0N~_^ I want the codes for make my Project knows the system on which it's running. Like : Code: 'If windows 7 32bit then me.close These are not codes put I just say what I need Have you any idea about this guys? I think you want something like : Code: Label1.Text = My.Computer.Info.OSFullName.ToString Label2.Text = My.Computer.Info.OSPlatform Why searching complicated ? ^^
Originally Posted by BrayKet I think you want something like : Code: Label1.Text = My.Computer.Info.OSFullName.ToString Label2.Text = My.Computer.Info.OSPlatform Why searching complicated ? ^^ Thank you and Working ^^ Request Close / Solved.
If InStr(My.Computer.Info.OSFullName, "Windows 7") Then If InStr(Environ("ProgramFiles"), "x86") <= 0 Then End End If End If
Originally Posted by Mnight If InStr(My.Computer.Info.OSFullName, "Windows 7") Then If InStr(Environ("ProgramFiles"), "x86") <= 0 Then End End If End If If the OS was windows 7 x86 program will close ?