PC Review


Reply
Thread Tools Rate Thread

How to Distribute Interop.ADOX.dll?

 
 
ScottWPNY@hotmail.com
Guest
Posts: n/a
 
      29th Jun 2005
I am including a reference to ADOX in a C# project by doing the
following:

In Solution Explorer, right-click the References node and select Add
Reference.
On the COM tab, select Microsoft ADO Ext. 2.7 for DDL and Security,
click Select to add it to the Selected Components, and then click OK.

This creates a dll in my debug and release directory named
Interop.ADOX.dll.

However if the executable is placed in a different path it requires
this dll.

If I copy the Interop.ADOX.dll to the same path where the executable
resides all is fine.

The question is what must be done during an installation?
Can the file Interop.ADOX.dll just be copied to a directory or is there
some type of registration that must take place?

Thanks in advance for any help,
Scott

 
Reply With Quote
 
 
 
 
Miha Markic [MVP C#]
Guest
Posts: n/a
 
      29th Jun 2005
Hi Scott,

<(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
>I am including a reference to ADOX in a C# project by doing the
> following:
>
> In Solution Explorer, right-click the References node and select Add
> Reference.
> On the COM tab, select Microsoft ADO Ext. 2.7 for DDL and Security,
> click Select to add it to the Selected Components, and then click OK.
>
> This creates a dll in my debug and release directory named
> Interop.ADOX.dll.


Yup.

>
> However if the executable is placed in a different path it requires
> this dll.


Yup.

>
> If I copy the Interop.ADOX.dll to the same path where the executable
> resides all is fine.


Yup.

>
> The question is what must be done during an installation?
> Can the file Interop.ADOX.dll just be copied to a directory or is there
> some type of registration that must take place?


Basically you have two options:
- copy and paste to the same folder (no registration required)
- strong sign it and install it in GAC (registration required)

I would preffer copy & paste approach.

--
Miha Markic [MVP C#] - RightHand .NET consulting & development
www.rthand.com
Blog: http://cs.rthand.com/blogs/blog_with_righthand/
SLODUG - Slovene Developer Users Group www.codezone-si.info


 
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
How to Distribute Interop.ADOX.dll? ScottWPNY@hotmail.com Microsoft C# .NET 3 29th Jun 2005 03:59 PM
ADOX performance problem: first attempt to read value from open ADOX catalog lasts long time lampi Microsoft Access 0 28th Apr 2005 01:21 PM
interop.ADOX and VB.Net distributions John Dann Microsoft ADO .NET 3 15th Nov 2004 04:12 PM
Is there a published COM Interop Wrapper for Interop.MSDASC.dll? Burton G. Wilkins Microsoft ADO .NET 0 10th Nov 2003 01:57 AM
WebBrowser interop - legal to distribute wrapper classes? Wiktor Zychla Microsoft C# .NET 1 10th Jul 2003 09:11 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 02:32 AM.