how to add DLL to Resource

ok
how can i add a DLL file (my case : Interop.SpeechLib.dll)
to the Resource and use it
in my code i have to imports spvoice
i cant do this if i didnt refrence the Speech Lib
i dont want to have a DLL file just my EXE file .
and if i build a CLASS librery (DLL) so its makes this different
tnx :P


Answer this question

how to add DLL to Resource

  • AaronBrock

    Question is: is it possible to use external dll files from resouce to be in exe file instead deployed with exe file.
  • AndrewVos

    And how to use dll files from Resource When adding dll in Reference it can't be added from Resource.
  • Shaiq Bashir

    What would you use it for You could do the following: Your Project - click settings - select (take a look around between the properties, until you find imported namespaces) - click browse - and finally add the dll! At the bottom of the page import its namespace and thats it! At the page where you found it, it will show the imported namespaces, and then you will see a column if its copyed to the ouput folder, if its yes, everything is okay! You will have the dll copyed and you will have it between the namespaces so you can use it! When I go home, I will write this down exactly, so you know every detail! by Ron

    I hope that this post was helpful!



  • F.Costa

    http://madebits.com/netz/download.php

    also

    I'm trying to remember the name of the utility. I believe it comes with the VS2005 sdk but ms makes one also.



  • Helmut Leitner

    If it is VS 2005, open project, select Project->Add Reference from the menu and choose Browse tab, look for the dll and try adding it.



  • how to add DLL to Resource