Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Visual Basic > VB.NET 1.0 > Pro VB.NET 2002/2003
|
Pro VB.NET 2002/2003 For advanced Visual Basic coders working .NET version 2002/2003. Beginning-level questions will be redirected to other forums, including Beginning VB.NET.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Pro VB.NET 2002/2003 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old January 13th, 2004, 02:17 PM
Registered User
 
Join Date: Jan 2004
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default How to detect if a user is logon a Windows NT

How to detect if a user is logon a Windows NT (2000) (xp)

Jens

 
Old January 23rd, 2004, 10:30 AM
Authorized User
 
Join Date: Jul 2003
Posts: 35
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to alex_read
Default

Private Sub Form1_Load(ByVal sender As System.Object, _
ByVal e As System.EventArgs) Handles MyBase.Load
    msgbox(Environment.OSVersion.ToString)

    If (Environment.OSVersion.Platform = PlatformID.Win32NT) Then
        Msgbox ("Current OS is NT based!!")
    End If
End Sub






Similar Threads
Thread Thread Starter Forum Replies Last Post
user 'NT AUTHORITY\NETWORK SERVICE' GS ASP.NET 2.0 Basics 0 March 25th, 2007 10:58 AM
Access VBA of Logon Windows junexie Access VBA 1 March 7th, 2007 08:30 AM
Windows NT Programing pedro Wrox Book Feedback 1 December 15th, 2003 12:11 PM
Windows NT service and Icon in the System Tray Dmitriy Pro VB 6 4 August 27th, 2003 01:23 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.