reading from a directory into a variable

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • ralph07
    New Member
    • Jun 2007
    • 1

    #1

    reading from a directory into a variable

    I'm new to VB and I will like to know how to read informations from a directory into a variable and later turn the variable into an array in visual basic.
    furthermore, is there anyway to incorporate a perl script that was already created in VB? Thanks for your help in advance
  • r035198x
    MVP
    • Sep 2006
    • 13225

    #2
    Originally posted by ralph07
    I'm new to VB and I will like to know how to read informations from a directory into a variable and later turn the variable into an array in visual basic.
    furthermore, is there anyway to incorporate a perl script that was already created in VB? Thanks for your help in advance
    Do not post questions in the articles section.
    Moved to the forum.

    Comment

    • Killer42
      Recognized Expert Expert
      • Oct 2006
      • 8429

      #3
      Originally posted by ralph07
      I'm new to VB and I will like to know how to read informations from a directory into a variable and later turn the variable into an array in visual basic.
      furthermore, is there anyway to incorporate a perl script that was already created in VB? Thanks for your help in advance
      What version of VB are you using? And what sort of information are you referring to when you say "informatio n from a directory"? Do you mean the list of files?

      Try checking out the FileSystemObjec t object. It provides all sort of functionality to work with drives, folders (directories) and files.

      Don't know about perl scripts. Have you tried using the search box up the top?

      Comment

      Working...