title: Adding DLL reference to VB.NET project
body: <p>Just to start off, this question does seem very similar to another post <strong><a href="https://stackoverflow.com/questions/5762755/add-the-dll-lame-enc-dll-reference-to-my-project">Add the DLL (lame_enc.dll) reference to my project</a></strong>, but I haven't been able to successfully apply that answer. I am pretty new to VB.NET so it is very possible I'm simply missing something obvious.</p>
  
  <p>I am trying to link a DLL to a VB.NET 2010 project to allow my VB app to play *.ogg files. I followed some other advice here on the forums and downloaded <strong><a href="http://www.fmod.org/fmod-downloads.html" rel="nofollow noreferrer">FMOD's</a></strong> <strong>FMOD Ex Programmers API</strong>. I am trying to now reference that functionality. These appear to be the files I need to somehow reference.</p>
  
  <p><strong>C:\Program Files (x86)\FMOD SoundSystem\FMOD Programmers API Windows\api\fmodex64.dll</strong>.<br>
  <strong>C:\Program Files (x86)\FMOD SoundSystem\FMOD Programmers API Windows\api\libfmodex64_vc.lib</strong>.  </p>
  
  <p>I haven't discovered how to add a *.lib reference (or the equivalent), but selecting the DLL as a reference gives the following error.</p>
  
  <blockquote>
    <p>A reference to 'C:\Program Files (x86)\FMOD SoundSystem\FMOD
    Programmers API Windows\api\fmodex64.dll' could not be added. Please
    make sure that the file is accessible, and that it is a valid assembly
    or COM component.</p>
  </blockquote>
  
  <p>I'm not sure what I could be missing. Any ideas? Thanks!</p>