?
Solved

how to register COM in .NET

Posted on 2006-11-03
2
Medium Priority
?
242 Views
Last Modified: 2013-11-25
I am
trying to register the dll related to TextToSpeech on other machine with Visual Studio.NET 2003. Regsvr32 doesn't, and regasm
too. How could I register this type of dll?

While in Visual Studio.NET 2002 it is working perfectly.

I even tried by making a setup file of the program in Visual Studio.NET 2002 and tried to install in the computer where VS.NET 2003 was installed. even it doesn't work out.



0
Comment
Question by:reshampun
2 Comments
 
LVL 2

Expert Comment

by:amiableansari
ID: 17865633

hi

if you want to register the COM dlls programatically then here is a very good code available at

http://www.msjogren.net/dotnet/eng/samples/dotnet_dynpinvoke.asp

whats the error that regsvr32 is giving? are you sure that the dlls are COM? if the dlls are .net assemblies then you dont need to register it; just have to copy it.
0
 
LVL 2

Accepted Solution

by:
chrsmrtn earned 375 total points
ID: 17866586
You can simply put a copy of the dll that you want to register into the same bin directory for web apps, or put the dll along side the compiled exe file.
0

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article will inform Clients about common and important expectations from the freelancers (Experts) who are looking at your Gig.
The SignAloud Glove is capable of translating American Sign Language signs into text and audio.
Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…
Suggested Courses
Course of the Month17 days, 10 hours left to enroll

830 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question