PDA

View Full Version : class librarys



nemmi69
12-02-2008, 03:28 AM
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?

xld
12-02-2008, 03:47 AM
The information is all over the place. Google it!

nemmi69
12-02-2008, 06:48 AM
Not very helpful
There is plenty "about" Component Object Model but no list of the class objects available that i found.

xld
12-02-2008, 07:04 AM
You reckon!

http://tinyurl.com/5fyw3f

484,000 hits.

nemmi69
12-02-2008, 07:25 AM
I give up:banghead:

Kenneth Hobs
12-02-2008, 03:00 PM
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

nemmi69
12-03-2008, 01:25 AM
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.

Kenneth Hobs
12-03-2008, 07:02 AM
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.

nemmi69
12-03-2008, 09:12 AM
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/download/win2000platform/oleview/1.00.0.1/nt5/en-us/oleview_setup.exe
Just going cross eyed :bug: wading through it!