PC Review


Reply
Thread Tools Rate Thread

COM References

 
 
SQL
Guest
Posts: n/a
 
      17th May 2004
Hi,

If I create a reference to a COM object in my .net project. When I copy the
app to a client workstation, where do I place this dll? And do I have to
register it?

Thanks,


 
Reply With Quote
 
 
 
 
Armin Zingler
Guest
Posts: n/a
 
      17th May 2004
"SQL" <(E-Mail Removed)> schrieb
>
> If I create a reference to a COM object in my .net project. When I
> copy the app to a client workstation, where do I place this dll?


Usually in the application directory.

> And
> do I have to register it?


No, because it is not a COM DLL, but the COM DLL that is wrapped by the .Net
assembly must be installed and registered there.


--
Armin

How to quote and why:
http://www.plig.net/nnq/nquote.html
http://www.netmeister.org/news/learn2quote.html

 
Reply With Quote
 
SQL
Guest
Posts: n/a
 
      17th May 2004
So I register the Interop.nameofobject.dll? Do I still use regsver32?

"Armin Zingler" <(E-Mail Removed)> wrote in message
news:40a8ffbb$0$13057$(E-Mail Removed)...
> "SQL" <(E-Mail Removed)> schrieb
> >
> > If I create a reference to a COM object in my .net project. When I
> > copy the app to a client workstation, where do I place this dll?

>
> Usually in the application directory.
>
> > And
> > do I have to register it?

>
> No, because it is not a COM DLL, but the COM DLL that is wrapped by the

..Net
> assembly must be installed and registered there.
>
>
> --
> Armin
>
> How to quote and why:
> http://www.plig.net/nnq/nquote.html
> http://www.netmeister.org/news/learn2quote.html
>



 
Reply With Quote
 
Herfried K. Wagner [MVP]
Guest
Posts: n/a
 
      17th May 2004
* "SQL" <(E-Mail Removed)> scripsit:
> So I register the Interop.nameofobject.dll? Do I still use regsver32?


You need to run "regasm" on the target machine.

--
Herfried K. Wagner [MVP]
<URL:http://dotnet.mvps.org/>
 
Reply With Quote
 
Armin Zingler
Guest
Posts: n/a
 
      17th May 2004
"SQL" <(E-Mail Removed)> schrieb
> > > If I create a reference to a COM object in my .net project. When
> > > I copy the app to a client workstation, where do I place this
> > > dll?

> >
> > Usually in the application directory.
> >
> > > And
> > > do I have to register it?

> >
> > No, because it is not a COM DLL, but the COM DLL that is wrapped by
> > the Net assembly must be installed and registered there.

>
> So I register the Interop.nameofobject.dll? Do I still use
> regsver32?


As I wrote: NO, because it is not a COM DLL.


--
Armin

How to quote and why:
http://www.plig.net/nnq/nquote.html
http://www.netmeister.org/news/learn2quote.html

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Help with converting a block of cells with Absolute and mixed references to relative references Vulcan Microsoft Excel Worksheet Functions 3 13th Dec 2007 11:43 PM
How to rename references from range names to cell references =?Utf-8?B?QWJiYXM=?= Microsoft Excel Misc 1 24th May 2006 06:18 PM
references adding themselves based on references from other projects referenced Brian Henry Microsoft VB .NET 1 22nd Jul 2005 06:35 PM
Question about References in Code Is it possible to conditional compiling on references? Roger Microsoft Access 1 21st Jan 2005 06:32 PM
References - Losing references to basic functions such as left() Chris Strug Microsoft Access Form Coding 0 6th Aug 2003 04:11 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 09:29 PM.