ralph
4/13/2012 3:39:00 AM
On Thu, 12 Apr 2012 21:34:33 -0500, ralph <nt_consulting64@yahoo.net>
wrote:
>On Thu, 12 Apr 2012 20:07:29 -0500, mp <nospam@thanks.com> wrote:
>
>>Hi all,
>>Haven't been around these parts for a loooonnngg time. Good to see
>>you're still here. Hard drive crashed so had to get new(used) computer.
>>Have to start from ground up getting everything reinstalled. This box
>>has win7(32 bit) so now have to learn that jazz. Tried regsvr32 on
>>winu.tlb and got error about tlb might not be compatible. I know it's
>>32bit and so is this box so what am I doing wrong?
>>regsvr32 "C:\0\0CODE\Vb\TypeLibs\winu.tlb"
>>or maybe i forgot how to register a typelib?
>
>The latter. <g>
>
>You use regtlib.exe to register type libraries.
>
Should probably add: If you have a clean Windows 7 platform and
depending on development platforms installed, you might not have
regtlib.exe available. I know it shipped with Visual Studio 6, not
sure about all the VB-only versions. One of the McKinney Hardcore
downloads includes it.
You can also use Regtlibv12.exe from the .Net Framework. Believe that
may be installed.
[Sorry to be so vague. But I never work with a platform from 'scratch'
- by the time I get to fooling around and customizing them, I have so
much crap installed I'm never sure what came from where. <g>]
-ralph
[If worse comes to worse you can always register a type library using
a semi-manual process via the RegisterTypeLib function. But
Ghod-forbid you have to go there. <bg>]