Funny .. but atleast you have a workaround ..
"jemmaq99" <jemmaq99@hotmail!.com> wrote in message
news:n9tkm0leg124scoch1g1kk622h9g2ucn2v@4ax.com...
> Yes, tlbimp executes fine from the command line. With no additional
> environment variable settings and a plain DOS box, you have to
> naviagate to the framework SDK bin drectory to execute it, or you
> can use the fully-quaified pathname "c:\Program File\Microsoft Visual
> Studio .NET 2003\SDK\v1.1\bin\tlbimp.exe"
>
> From the Visual Studio command-line tool (Start->Programs->Microsoft
> Visual Studio .NET 20030->Visual Studio .NET tools->Visual Studio .NET
> 2003 Command Prompt" (which is just a DOS box with vsvars32.bat
> already run) it executes with no qualification.
>
> I've also set the path environment variable so that it'll execute with
> no qualifiaction, but still Visual Studio itself can't seem to find it
> when I try to add a reference.
>
> I've performed clean installations of Win2000 and XP partitoned and
> formatted the drive during the installation, gotten all of the updates
> at windowsupdates.microsoft.com, installed clean versions of
> Visual Studio .NET 2003. Nevertheless, when I try to add a COM
> reference to a simple "hello world" Windows Form app, I consistenly
> get the same error. The .tlb and the .dll for the target COM component
> exist in the c:\Windows\System32 directory.
>
> I'm at a loss for an explanation.
>
> Thanks, though, for your response...
> --J.
>
>
> On Sat, 9 Oct 2004 22:52:12 -0400, "Sahil Malik"
> <contactmethrumyblog@nospam.com> wrote:
>
>>Did you try running tlbimp.exe from commandline? Try that out.
>>
>>- Sahil Malik
>>You can reach me thru my blog
>>
http://www.dotnetjunkies.com/weblog/sahilmalik >>
>>
>>
>>"jemmaq99" <jemmaq99@hotmail!.com> wrote in message
>>news:metdm0d694es7vvjt5qgghrbaglvp9nvia@4ax.com...
>>> Using Visual Studio .NET 2003 I've tried to add a COM reference
>>> to a Windows Form project via the Add Reference dialog (specifically
>>> the Active DS Type Library) but always get the error message:
>>>
>>> "A reference to 'Active DS Type Library' could not be added. The
>>> type library wrapper tool 'tlbimp' cannot be found on this system.
>>> Please re-install Visual Studio."
>>>
>>> This occurs regardless of the actual tlb or dll selected and happens
>>> on Win2000 and XP with various flavors of SP's using Framework 1.1
>>> SP1.
>>>
>>> TlbImp.exe exists in the Framework SDK bin directory and can be
>>> executed from the Visual Studio command-line tool with no
>>> qualification.
>>>
>>> I've chatted with other developers over the phone and they
>>> add COM references with no problem. While seeking a solution I've
>>> made clean installs of Win2000 and XP, reinstalled Framework from
>>> my prerequistite disk, and reinstalled VS a number of times with
>>> identical results.
>>>
>>> On searching these groups I've found a couple others (over the last
>>> couple years) who've had the same problem, but I've never seen a
>>> solution.
>>>
>>> MS has a KB article 883608 that discusses a scenario that generates
>>> the same error message, but doesn't seem to apply in my case.
>>>
>>> Any help?
>>> Thanks,
>>> --J.
>>
>