By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
432,086 Members | 1,875 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 432,086 IT Pros & Developers. It's quick & easy.

How to Distribute Interop.ADOX.dll?

P: n/a
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

Nov 17 '05 #1
Share this Question
Share on Google+
3 Replies


P: n/a
>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?


No registration needed, just copy it to the app directory.

Mattias

--
Mattias Sjögren [MVP] mattias @ mvps.org
http://www.msjogren.net/dotnet/ | http://www.dotnetinterop.com
Please reply only to the newsgroup.
Nov 17 '05 #2

P: n/a
No need to register your interop you need to just copy it

"Sc*******@hotmail.com" wrote:
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

Nov 17 '05 #3

P: n/a
The Interop DLL is only the .NET wrapper around the COM object itself, so
you'll also have to make sure the COM object is on the target computer and
registered properly in order for the interop DLL to work properly...

<Sc*******@hotmail.com> wrote in message
news:11*********************@o13g2000cwo.googlegro ups.com...
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

Nov 17 '05 #4

This discussion thread is closed

Replies have been disabled for this discussion.