tlbinf32

tlbinf32.dll in a 64bits .Net application

血红的双手。 提交于 2021-02-06 13:00:26
问题 It seems there is no 64 bits version of tlbinf32.dll , this (old) COM DLL is used to extract informations of COM components. (see this SO answer ) I need to access it from a 64 bits C# application. I did not manage to host it into a separate surrogate process, I'm still obtaining the exception REGDB_E_CLASSNOTREG . My code works for x86 platforms but I have to implement it also for 64 bits. Can any one help me by providing a step by step procedure to launch it into a surrogate ( Dllhost ) -

How to extract a GUID from a Win32 DLL or OCX

杀马特。学长 韩版系。学妹 提交于 2020-01-21 08:28:08
问题 We have a .NET app that needs to examine a folder that may contain COM libraries (DLL and OCX.) When we do encounter a COM library one thing we need to accomplish is to extract the GUID from the COM DLL or OCX. Is there a straightforward way to do this with .NET without using 3rd party libraries? 回答1: This should work for you. It requires a reference to c:\windows\system32\tlbinf32.dll , but I'm assuming that is okay because it isn't a third party component. Imports TLI 'from c:\windows

How to extract a GUID from a Win32 DLL or OCX

蹲街弑〆低调 提交于 2020-01-21 08:27:04
问题 We have a .NET app that needs to examine a folder that may contain COM libraries (DLL and OCX.) When we do encounter a COM library one thing we need to accomplish is to extract the GUID from the COM DLL or OCX. Is there a straightforward way to do this with .NET without using 3rd party libraries? 回答1: This should work for you. It requires a reference to c:\windows\system32\tlbinf32.dll , but I'm assuming that is okay because it isn't a third party component. Imports TLI 'from c:\windows

Not able to instantiate object from TLBINF32

只谈情不闲聊 提交于 2019-12-06 09:01:27
问题 I have downloaded tlbinf32.dll and added it as a reference to VBA but it doesn't seem to be working, when I try to create the following object Dim oTLI As Object Set oTLI = New TLI.TLIApplication Set oTLI = CreateObject("TLI.TLIApplication") I get the following error for both 'ActiveX component can't create object' Does anyone know how to fix this? 来源: https://stackoverflow.com/questions/36309155/not-able-to-instantiate-object-from-tlbinf32

Not able to instantiate object from TLBINF32

六月ゝ 毕业季﹏ 提交于 2019-12-04 12:23:23
I have downloaded tlbinf32.dll and added it as a reference to VBA but it doesn't seem to be working, when I try to create the following object Dim oTLI As Object Set oTLI = New TLI.TLIApplication Set oTLI = CreateObject("TLI.TLIApplication") I get the following error for both 'ActiveX component can't create object' Does anyone know how to fix this? 来源: https://stackoverflow.com/questions/36309155/not-able-to-instantiate-object-from-tlbinf32

How to extract a GUID from a Win32 DLL or OCX

跟風遠走 提交于 2019-12-01 08:57:03
We have a .NET app that needs to examine a folder that may contain COM libraries (DLL and OCX.) When we do encounter a COM library one thing we need to accomplish is to extract the GUID from the COM DLL or OCX. Is there a straightforward way to do this with .NET without using 3rd party libraries? JohnFx This should work for you. It requires a reference to c:\windows\system32\tlbinf32.dll , but I'm assuming that is okay because it isn't a third party component. Imports TLI 'from c:\windows\system32\tlbinf32.dll Dim reglib As TLI.TLIApplication = New TLI.TLIApplicationClass() Dim DLLPath As

Iterating through the Object Browser in VBA

久未见 提交于 2019-11-30 15:53:18
问题 I would like to iterate through members of any class in a referenced library much like is done using the Object Browser. How can this be done using VBA? 回答1: Actually, how to do this is undocumented, but is possible. If your looking to implement a for..Each syntax for a collection, then you can do the following: Option Compare Database Option Explicit Public colT As New Collection Public Function NewEnum() As IUnknown Set NewEnum = colT.[_NewEnum] End Function Public Property Get NextItem()

Iterating through the Object Browser in VBA

不羁的心 提交于 2019-11-30 15:40:11
I would like to iterate through members of any class in a referenced library much like is done using the Object Browser. How can this be done using VBA? Actually, how to do this is undocumented, but is possible. If your looking to implement a for..Each syntax for a collection, then you can do the following: Option Compare Database Option Explicit Public colT As New Collection Public Function NewEnum() As IUnknown Set NewEnum = colT.[_NewEnum] End Function Public Property Get NextItem() As IUnknown Attribute NextItem.VB_UserMemId = -4 Attribute NextItem.VB_MemberFlags = "40" Set NextItem = colT

Self Inspection of VB6 UDTs

你离开我真会死。 提交于 2019-11-27 04:05:44
I have a feeling the answer to this is going to be "not possible", but I'll give it a shot... I am in the unenviable position of modifying a legacy VB6 app with some enhancements. Converting to a smarter language isn't an option. The app relies on a large collection of user defined types to move data around. I would like to define a common function that can take a reference to any of these types and extract the data contained. In pseudo code, here's what I'm looking for: Public Sub PrintUDT ( vData As Variant ) for each vDataMember in vData print vDataMember.Name & ": " & vDataMember.value

Self Inspection of VB6 UDTs

梦想与她 提交于 2019-11-26 11:04:56
问题 I have a feeling the answer to this is going to be \"not possible\", but I\'ll give it a shot... I am in the unenviable position of modifying a legacy VB6 app with some enhancements. Converting to a smarter language isn\'t an option. The app relies on a large collection of user defined types to move data around. I would like to define a common function that can take a reference to any of these types and extract the data contained. In pseudo code, here\'s what I\'m looking for: Public Sub