Hi, I am trying to use the "My" functions in Visual basic, but every time i run the code, it give me a Runtime error 424 - object required.
I am a newbie at this, please help.
I don't have anything else in the code, just New Project, Stantard EXE project, then in the Form1, i have this code
Private Sub Form_Load()
MsgBox ("Computer name: " & My.Computer.Name)
When i run, it give me the error, I think i have to do something first before i use the My.Computer.Name, but i don't know what, i tried search MSDN but can't find the steps on how to use it. Thanks for the help.