I'm unable to instantiate TLI.TLIApplication from TlbInf32.dll
!PLEASE HELP!
The answer for how to determine the properties / methods / events
available to an object or within a .dll was/is? to use
windows\system\TlbInf32.dll by starting off like so:
Set oTLI = CreateObject("TLI.TLIApplication")
If I do this from my VBScript file, I get the error: Could not locate
automation class named "TLI.TLIApplication". Code: 80020009 Source:
WScript.CreateObject
At the same time, if I go into my VB5CCE and set Project/References to
find Typelib Information (which is located for me in
c:\windows\system32\TlbInf32.dll on my WinXP Pro, SP 2 system) and then
do:
Dim foo As TLI.TypeLibInfo
Set foo = New TLI.TypeLibInfo
MsgBox TypeName(foo)
Then VB is happy with that and the MsgBox shows: TypeLibInfo
Now, I have neither VB 5 nor the VB 6 development environment
installed. All there is, is me and my trusty VB5CCE, and version 5.6
of WScript. Just in case, I closed down VB5CCE to do the test, and I
also did
Regsvr32 c:\windows\system32\tlbinf32.dll.
After that I plied it with /u several times, then a last time without
/u, and regsvr32 was continually happy. The tblinf32.dll file itself
is dated 1/16/1997 at 132608 bytes and version 1.1.37.15
I hope someone has an idea on this cause I am stumped,
Thanks,
Csaba Gabor from Vienna