Q: How to reference components in vb.net I am referencing some  components in my Vb.net project. I am trying put it in such a way that the program always looks for the .dll files in the current application location. 
If the application is in C:\Program Files then the reference path for the .dll files should be C:Program\name.dll
Is this possible? I am trying to to make the application portable so that I need not install the required .dll files in every other computer.

A: When you add a file reference (Add References dialog - select Browse), the file paths are relative.
Regardless of that, the assembly loader will look at the application directory for the referenced DLLs (or the bin folder for web applications).
You need to ensure that you are not referencing assemblies in the GAC (or, if you are, you need to distribute them with your application).
