FileSystemObject

Discussion in 'Software' started by mastermosley, Mar 16, 2006.

  1. mastermosley

    mastermosley Sergeant

    First of all I need to no how to create directories. I have set up at the beginning of the program it checks for the directory and if it doesnt exist it makes one which is what i don't no how to do. I have read that the FileSystemObject works good but I don't have it in the components. What is the name of the component.
     
  2. SoloTraveller

    SoloTraveller Private First Class

    FSO isn't referenced as a component/control; you just need to add a reference to it, and start coding.

    This is for the FSO (note the PROPERTIES and METHODS links at top of page): http://msdn.microsoft.com/library/d...en-us/vbenlr98/html/vaobjfilesystemobject.asp

    This is the site for VB6 documentation: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnanchor/html/vs60anchor.asp

    When all else fails, try: http://msdn.microsoft.com/scripting

    Considered changing up to VB.Net? Much better than VB6...
     
  3. mastermosley

    mastermosley Sergeant

    I declared it in this way
    Dim fso As New FileSystemObject

    and it says User Defined Type Not Defined
     

MajorGeeks.Com Menu

Downloads All In One Tweaks \ Android \ Anti-Malware \ Anti-Virus \ Appearance \ Backup \ Browsers \ CD\DVD\Blu-Ray \ Covert Ops \ Drive Utilities \ Drivers \ Graphics \ Internet Tools \ Multimedia \ Networking \ Office Tools \ PC Games \ System Tools \ Mac/Apple/Ipad Downloads

Other News: Top Downloads \ News (Tech) \ Off Base (Other Websites News) \ Way Off Base (Offbeat Stories and Pics)

Social: Facebook \ YouTube \ Twitter \ Tumblr \ Pintrest \ RSS Feeds