Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / Distributed Applications / October 2007

Tip: Looking for answers? Try searching our database.

Using COM DLL in C#

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Harish Kumar Dixit - 08 Oct 2007 12:24 GMT
Hello friends,

I am writing a c# application which is using a COM DLL. I have to add
the refrence of  COM DLL. But i found 2 DLL in my project directory of
COM DLL. One is inside the release folder and another inside the main
project directory which name is prefixed by the company name , dot,
project name. Which reference i have to add in my c# application. And
i also want to give this c# application to the end user on fresh
machine. what settings i have to do in c# application for this and
which COM DLL i have to give with the c# exe.

Thanks in advance

##harish dixit
JIGNESH - 30 Oct 2007 10:18 GMT
Hi
When you add a reference to a COM DLL  an Interop assembly is created. Both
files should be present in the bin folder of the application.

Also COM DLL should be registered on client machine using REGSVR32.

Instead of doing all this manually, you could use Setup and Deployment
project template to create a setup.exe

Regards
JIGNESH.

> Hello friends,
>
[quoted text clipped - 10 lines]
>
> ##harish dixit

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.