Administrator VB.NET Forum Admin Joined Jun 3, 2004 Messages 1,462 Programming Experience 10+ May 12, 2007 #1 Anyone know how I can determine if the current user is running under a 32-bit OS (x86) or a 64-bit OS (x64)?
Anyone know how I can determine if the current user is running under a 32-bit OS (x86) or a 64-bit OS (x64)?
JohnH VB.NET Forum Moderator Staff member Joined Dec 17, 2005 Messages 15,858 Location Norway Programming Experience 10+ May 12, 2007 #2 Check the Win32_Processor.Architecture with WMI, it's 0 for x86 and 9 for x64. Upvote 0 Downvote
Administrator VB.NET Forum Admin Joined Jun 3, 2004 Messages 1,462 Programming Experience 10+ May 12, 2007 #3 Thanks...I'll code it in and see how it goes! Upvote 0 Downvote
Administrator VB.NET Forum Admin Joined Jun 3, 2004 Messages 1,462 Programming Experience 10+ May 12, 2007 #4 kewl stuff, but WMI sure is slow!!!! Neat what you can collect via the ManagementObjectSearcher! Upvote 0 Downvote