My boss wants me to use VB to create a text file that records people logging into a PC via the username, login time, log out time, and duration. I'm new to programming and been scouring the web trying to build up my knowledge any help would be appreciated.

First lets start with help file/search term subjects...

For Text Files
FreeFile Function
Open Statement
Line Input Function
Input Function
Print Statement
Close Statement

Search terms for you friends (yahoo, google, ask, answers, bing)

vb6 Run at startup
vb6 shellnotifyicon

Good Luck