473,569 Members | 2,844 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

RegAsm not executing.

I installed MS DevEnv 2003 with framework 1.1.I developed a small
application which looks out for the assembly vcersion of a .net DLL or
EXE via code. But i have a problme durng the registration using RegAsm.

My Question is

Does the RegASM can be called from anywere like we call RegSvr32 or it
will be found only in
Visual Studio Tools Path? If the ans is yes, then should i handle this
in code.

I was guessing that RegASm can be called from anywhere once the .NET
has been installed

Please can some one give any hint how to approach this issue?

Regards
JP

Oct 9 '06 #1
2 4352
RegSvr32 is in system folder, so you can call in from anywhere.
RegAsm is not. That mean you should include its folder in PATH
environment variable.
One easy way is running it with Visual Studio .NET 2003 Command Prompt,
found in Start menu. Everything is setup for you.

gopal wrote:
I installed MS DevEnv 2003 with framework 1.1.I developed a small
application which looks out for the assembly vcersion of a .net DLL or
EXE via code. But i have a problme durng the registration using RegAsm.

My Question is

Does the RegASM can be called from anywere like we call RegSvr32 or it
will be found only in
Visual Studio Tools Path? If the ans is yes, then should i handle this
in code.

I was guessing that RegASm can be called from anywhere once the .NET
has been installed

Please can some one give any hint how to approach this issue?

Regards
JP
Oct 9 '06 #2
From start Search for files and folders Find Regasm.exe

Drag and drop it on the command prompt and provide the dll that you want to
register.

--
Radhakrishna Banavalikar
Vasant-Vihar, Thane, INDIA.
"Truong Hong Thi" wrote:
RegSvr32 is in system folder, so you can call in from anywhere.
RegAsm is not. That mean you should include its folder in PATH
environment variable.
One easy way is running it with Visual Studio .NET 2003 Command Prompt,
found in Start menu. Everything is setup for you.

gopal wrote:
I installed MS DevEnv 2003 with framework 1.1.I developed a small
application which looks out for the assembly vcersion of a .net DLL or
EXE via code. But i have a problme durng the registration using RegAsm.

My Question is

Does the RegASM can be called from anywere like we call RegSvr32 or it
will be found only in
Visual Studio Tools Path? If the ans is yes, then should i handle this
in code.

I was guessing that RegASm can be called from anywhere once the .NET
has been installed

Please can some one give any hint how to approach this issue?

Regards
JP

Oct 9 '06 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
3268
by: Kevin Flanagan | last post by:
This can be reproduced with VS.NET as follows. Create a new ATL project with default wizard settings (dll, attributed). To the 'module' attribute, add a specifier 'version = "1.10" ' alongside the name, uuid etc. specifiers. Build the dll. Use tlbimp to create a primary interop assembly for it. Register that assembly using regasm. The...
0
1731
by: Namratha Shah \(Nasha\) | last post by:
Hey Guys, TlbExp.exe and Regasm.exe tools aid us in exporting assembly information to a type library so that non .Net Applications or unmanaged code use this type library information to call .Net assembly. Just like tlbimp which works on the entire COM Component (check out yesterdays article) tlbexp also works on the entire assembly. ...
2
3904
by: Id L | last post by:
hi, i want to use gacutil.exe and regasm.exe but i don't want to install "all" .net framework SDK do you know if i can install only these 2 methods? or maybe i can use them without installing SDK? * need help also if you know how to silently install SDK? thnx for your help IDL
2
4527
by: Sara | last post by:
I have written a class and tried to register it using regasm.exe using regasm myTest.dll /tlb:myTest.tlb tlb file got generated and i got dll registered successfully msg. but when i go and see the reistry i am not able to see the clsid and progid but the class got created. Can anybody help me out in this issue.
2
2886
by: Kenneth Jonsson | last post by:
I have an COM server in an assembly. When it is deployed on a target computer it needs to be registred with RegAsm. I created a custom action in the deploy project, starting RegAsm with the assembly DLL as command argument. It all works as expected. To make RegAsm available I installed it from the framework bin directory to the componentes...
0
2792
by: rbanerji | last post by:
I have a COM object built in C#. Its a an IE deskband. It implements the following method: public static void Register( Type t ) Which gets called when regasm is used and it makes teh appropriate entries into the registry. Works great. Now I am trying to build a installer for this using VS 2005. I did the
1
4465
by: auad | last post by:
hi, I would like to register a dll (regasm) during the execution of my setup using custom actions. I don't know where to place the parameters for regasm in the custom action. I tried using " \myAssembly.dll " but regasm.exe didn't run during the execution of the setup. regasm <myAssembly.dll/codebase
2
5966
by: xamman | last post by:
hi there, i am trying to use a .NET assembly from a Cscript.exe .vbs (i.e. from COM) and could not get my .vbs to use my .net dll (gives a 'file not found error') unless i used the /codebase parameter when registering .net dll with regasm. from what i read,a simple regasm dllname.dll and putting the dll and cscript.exe in the same...
5
5586
by: vovan | last post by:
My VB6 application uses DLL developed in VB2005. It may be changed very often and everytime VB6 application unregisters an old version, replaces with a new one and registers a new version by using RegAsm.exe I'm doing it this way: Shell "C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\RegAsm.exe " & """" & strAppPath & "\WorkorderXML.dll" &...
0
7695
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7922
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
0
8119
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
1
7668
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
6281
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
0
5218
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3653
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
0
3637
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
936
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.