README.md

December 5, 2022 ยท View on GitHub

Get Current User Name - Single Line, NO API!

Description

This code gets your user name click just like that.

More Info

It returns your user name.

Not sure if it works on anything other than VB6 because I don't have anything to test on for VB4 and VB5.

Submitted On
ByBrian Lai
LevelBeginner
User Rating5.0 (10 globes from 2 users)
CompatibilityVB 6.0
CategoryVB function enhancement
WorldVisual Basic
Archive File

Source Code

MsgBox Environ("USERNAME")

Contents

  1. 1Get Current User Name - Single Line, NO API!
  2. 1.1Description
  3. 1.2More Info
  4. 1.3Source Code