Consulting

Results 1 to 9 of 9

Thread: class librarys

  1. #1
    VBAX Regular
    Joined
    Dec 2008
    Posts
    7
    Location

    class librarys

    I am sure this has been asked before but I am trying to find lists of various classes and how to use them such as CreateObject("Scripting.FileSystemObject"), CreateObject("Shell.Application"). _
    Browseforfolder etc

    Is this one of those cases where Billy's boys just don't bother providing the information?

  2. #2
    Distinguished Lord of VBAX VBAX Grand Master Bob Phillips's Avatar
    Joined
    Apr 2005
    Posts
    25,453
    Location
    The information is all over the place. Google it!
    ____________________________________________
    Nihil simul inventum est et perfectum

    Abusus non tollit usum

    Last night I dreamed of a small consolation enjoyed only by the blind: Nobody knows the trouble I've not seen!
    James Thurber

  3. #3
    VBAX Regular
    Joined
    Dec 2008
    Posts
    7
    Location
    Not very helpful
    There is plenty "about" Component Object Model but no list of the class objects available that i found.

  4. #4
    Distinguished Lord of VBAX VBAX Grand Master Bob Phillips's Avatar
    Joined
    Apr 2005
    Posts
    25,453
    Location
    You reckon!

    http://tinyurl.com/5fyw3f

    484,000 hits.
    ____________________________________________
    Nihil simul inventum est et perfectum

    Abusus non tollit usum

    Last night I dreamed of a small consolation enjoyed only by the blind: Nobody knows the trouble I've not seen!
    James Thurber

  5. #5
    VBAX Regular
    Joined
    Dec 2008
    Posts
    7
    Location
    I give up

  6. #6
    VBAX Guru Kenneth Hobs's Avatar
    Joined
    Nov 2005
    Location
    Tecumseh, OK
    Posts
    4,956
    Location
    You give up too easily. What you ask for though is equivalent to many stacks of books.

    When I first clicked Bob's link, it went to google.uk. A 2nd clink showed the results of the google search term, "Scripting.FileSystemObject". You can just type that in the google box on this site's page at the top.

    The Script56.chm help file is a good one to have if you are learning such things. See http://tinyurl.com/5ts6r8 You may have to install some add-on if you are using Vista to view this help file from Microsoft.

    If you are trying to learn API routines such as BrowseForFolder, try the guide. http://allapi.mentalis.org/agnet/apiguide.shtml

  7. #7
    VBAX Regular
    Joined
    Dec 2008
    Posts
    7
    Location
    I gave up as all I got was un helpful comments.

    Thanks for your help Kenneth. I was trying to find what the common ones are that are already in windows. Did find Ctrl-T brings up a box with what appears to be them but doesn't go in to how to use them.
    Is there anything special that has to happen with the script file. I have a menu list on the left but nothing appears on the right.

  8. #8
    VBAX Guru Kenneth Hobs's Avatar
    Joined
    Nov 2005
    Location
    Tecumseh, OK
    Posts
    4,956
    Location
    Bob posted the method that most of us probably use as a free source. Since google is so big, getting the right key words or phrases is critical and that is what Bob provided.

    Viewing what others have done can help. Like API commands, some of the Scripting.FileSystemObject, fso, commands require a bit more work. Some of them are sort of a round about way of doing API commands indirectly.

    Regarding your problem in reading the CHM file, it is probably because it is blocked. Right click the file and select Properties and click Unblock. See this link for details of the whys and wherefors if needed. http://support.microsoft.com/kb/902225/

    Intellisense helps a bit if you enable it by using an early binding method for fso rather than the late binding method.

  9. #9
    VBAX Regular
    Joined
    Dec 2008
    Posts
    7
    Location
    Thanks for all the info

    The API guide is a big help and I downloaded the microsoft OLE?COM object viewer.
    http://download.microsoft.com/downlo...view_setup.exe
    Just going cross eyed wading through it!

Posting Permissions

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