AndyLee100
Technical User
I recently created an application that needed a reference to SQLDMO.
This then created in the Solution Explorer a reference to SQLDMO and also in the working folder a file called Interop.SQLDMO.dll.
Everything was fine until I went to run the program standalone as an application. It gave an error that it could not find the SQLDMO.dll file. To overcome this I copied the Interop.SQLDMO.dll file into the same path as the application and everything is now fine and dandy.
The question is do I need to do this or should I be approaching it another way? Is there an option in the IDE that I have missed or a bit of code that I need to add to the application?
With a VB 6 application, all you needed to do was add the reference and more often than not the dll was sitting in the System32 folder and the application would run.
Any help appreciated
Thanks
Andy Lee
This then created in the Solution Explorer a reference to SQLDMO and also in the working folder a file called Interop.SQLDMO.dll.
Everything was fine until I went to run the program standalone as an application. It gave an error that it could not find the SQLDMO.dll file. To overcome this I copied the Interop.SQLDMO.dll file into the same path as the application and everything is now fine and dandy.
The question is do I need to do this or should I be approaching it another way? Is there an option in the IDE that I have missed or a bit of code that I need to add to the application?
With a VB 6 application, all you needed to do was add the reference and more often than not the dll was sitting in the System32 folder and the application would run.
Any help appreciated
Thanks
Andy Lee