COM+

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I installed Visual Studio .NET 2003 (Default Install) on XP Professional with
SP2.

When I try to register a COM+ app using regsvcs in CMD.exe it gives me an
error (Bad Command or File name).

But when I try the same in Visual Studio.NET Command Prompt, it works. Is
there any way I can get CMD.EXE to use regsvcs? In other words, what do I add
to the PATH windows variable, to get CMD.EXE to run all commands only
available in Visual Studio.NET Command Prompt?

Thanks in Advance,
Darshan
 
Darshan said:
what do I add to the PATH windows variable, to get CMD.EXE to
run all commands only available in Visual Studio.NET Command Prompt?

There are quite a few, but for regsvcs you need to add:
C:\WINDOWS\Microsoft.NET\Framework\v1.1.x

(Replace x with the version you have. Look in
C:\WINDOWS\Microsoft.NET\Framework to see which version is the lastest you
have on your machine)
 
Back
Top