Results 1 to 12 of 12

Thread: [RESOLVED] Outputting to a listbox

Threaded View

  1. #1

    Thread Starter
    Registered User
    Join Date
    Apr 2006
    Posts
    139

    Resolved [RESOLVED] Outputting to a listbox

    Hi Everyone,

    What am I doing wrong in this code?

    VB Code:
    1. 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:
    1. lblID = lblID & " " & objDisk.DeviceID & vbNewLine
    Last edited by skakels; Apr 7th, 2006 at 11:42 AM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width