List support by VBA

Discussion in 'AutoCAD' started by Avinash, Feb 28, 2004.

  1. Avinash

    Avinash Guest

    I have a nubers of drawings list in notepad, this list I want to create in VB Application by input statement.

    Can I import by input statement (read-line) and convert to list object so I can send this list to list box.
     
    Avinash, Feb 28, 2004
    #1
  2. Something like:

    fn=freefile
    Open "notepadfile.text" for input as #fn
    Do while not eof(fn)
    line input #fn, npline
    list1.additem npline
    Loop
    Close #fn

    --
    Saludos, Ing. Jorge Jimenez, SICAD S.A., Costa Rica
    (sorry, phony e-mail, SPAM made me do it)

    VB Application by input statement.
    I can send this list to list box.
     
    Jorge Jimenez, Feb 28, 2004
    #2
Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.