HighTechTalks DotNet Forums  

Using COM DLL in C#

Dotnet Distributed Applications microsoft.public.dotnet.distributed_apps


Discuss Using COM DLL in C# in the Dotnet Distributed Applications forum.



Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old   
Harish Kumar Dixit
 
Posts: n/a

Default Using COM DLL in C# - 10-08-2007 , 07:24 AM






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


Reply With Quote
  #2  
Old   
JIGNESH
 
Posts: n/a

Default RE: Using COM DLL in C# - 10-30-2007 , 05:18 AM






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.


"Harish Kumar Dixit" wrote:

Quote:
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



Reply With Quote
Reply




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.