d

http://www.mvps.org/emorcillo/vb6/tlb/olelib.shtmlHome > Visual Basic 6 > Type Libraries 
OLELIB.TLB - Edanmo's OLE interfaces & functions v1.81
This type library is used in many of the samples of this site and contains a lot of interface declarations that are not exposed to VB by Windows.The .zip archive also includes the library "OLELIB2.TLB" which has some of the interfaces that are included in "OLELIB.TLB" but declared to be used with the Implements keyword.
After you unzip the file copy the both type libraries to the Windows\System32 folder and register them with regtlib.exe.  

解决方案 »

  1.   

    菜鸟求教,居然还没写好标题和内容就发表了。
    又不知道怎么改,但我想给分总不会不会给吧。
    看不懂最后这句话,如何register。
    ================
    D:\WINNT\system32\tl_ole>regtlib.exe
    'regtlib.exe' 不是内部或外部命令,也不是可运行的程序
    或批处理文件。D:\WINNT\system32\tl_ole>regtlib olelib.tlb
    'regtlib' 不是内部或外部命令,也不是可运行的程序
    或批处理文件。
      

  2.   

    也可以这样引用在VB IDE中:
    工程->引用
    浏览,选择那个tlb,确定
      

  3.   

    regtlib.exe在windows目录下有
    可能路径不对或者使用这个程序注册类型库
    http://www.vbaspnew.com/ziyuan/y/wj/
    regtypelib.zip 演示如何编写代码注册 tlb 类型库文件(11KB)