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.
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.
又不知道怎么改,但我想给分总不会不会给吧。
看不懂最后这句话,如何register。
================
D:\WINNT\system32\tl_ole>regtlib.exe
'regtlib.exe' 不是内部或外部命令,也不是可运行的程序
或批处理文件。D:\WINNT\system32\tl_ole>regtlib olelib.tlb
'regtlib' 不是内部或外部命令,也不是可运行的程序
或批处理文件。
工程->引用
浏览,选择那个tlb,确定
可能路径不对或者使用这个程序注册类型库
http://www.vbaspnew.com/ziyuan/y/wj/
regtypelib.zip 演示如何编写代码注册 tlb 类型库文件(11KB)