Hi Everyone,
What am I doing wrong in this code?
VB Code:
lstDrive = lstDrive.AddItem & objDisk.DeviceID & vbNewLine
It is giving me this error:
Compile Error:
Argument not optional
I had this code outputting to a textbox using the code below. Now I would like it to go to a listbox instead.
VB Code:
lblID = lblID & " " & objDisk.DeviceID & vbNewLine




Reply With Quote