VBS TLI. Tliapplication Forgotten COM Components _vbs

Source: Internet
Author: User
I've always wondered how Vbsedit's code is going to be implemented, and it seems that this COM is what it is.

For example, I'd like to know Scrrun.dll (DLL that provides the FSO object) which interfaces are provided by this COM component, which can be used in the following code:
Copy Code code as follows:

Set Tli = CreateObject ("Tli. Tliapplication ")
Set Info = Tli. Typelibinfofromfile ("Scrrun.dll")
For each Interface in info.interfaces
WScript.Echo Interface.name
Next

Or I forgot what properties and methods the FSO object has, and I don't have a reference document, you can use the following code:
Copy Code code as follows:

Dim FSO
Set fso = CreateObject ("Scripting.FileSystemObject")
Set Tli = CreateObject ("Tli. Tliapplication ")
Set Info = Tli. Classinfofromobject (FSO)
For all in Info.DefaultInterface.Members
WScript.Echo Member.name
Next

The time and space is limited, the example is simpler, please refer to the document in more detail (reference link 2 is the download address).
Test Link:
    1. RunTime COM Object Inspection
    2. FILE:Tlbinf32.exe:Help Files for Tlbinf32.dll

Original: http://demon.tw/programming/tli-tliapplication.html

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.