views:

27

answers:

1

I have a VB 20008 Express project which currently uses a DLL. I would rather distribute a single .EXE

I used DLL2lib and converted it to a library, but as I haven't done this before,

  1. How can remove the DLL from my project? The Project menu has an "Add resource" option, but I can't find any way to remove it (it doesn't show up in Project/Properties). Do I simply remove the Imports statements from my code?
  2. How do I statically link to the library?

Thanks in advance.

+3  A: 

For .NET assemblies, use ILMerge

And for removing a reference, simply select it and press delete (or right-click and press remove)

Claus Jørgensen