title: Vlc In Windows Forms (C++/Cli)
body: <p>I am using <a href="http://sourceforge.net/projects/libvlcnet/files/libvlcnet/libvlcnet-0.3.1.0/" rel="nofollow">LibVlc.Net</a> to embed Vlc in winforms using C++/Cli.<Br>
  Dragged a 'VlcPlayerControl' Component from ToolBox to winforms UI  <Br>
  Followed <a href="http://vlcvbnet.proboards.com/thread/1/wrapper-vlc-vb-net?page=1&amp;scrollTo=9" rel="nofollow">this</a> tutorial. <Br> There are no Build errors,
  but i see a run time error when i click on Play button</p>
  
  <blockquote>
    <p>An unhandled exception of type 'System.IO.FileNotFoundException'
    occurred in dz.mediaplayer.vlc.dll</p>
    
    <p>Additional information: Package file not found.</p>
  </blockquote>
  
  <p>here's my code for button_click event. Error occurs at line 2 in code below</p>
  
  <pre><code>vlcPlayerControl1-&gt;Initialize();
  DZ::MediaPlayer::Io::MediaInput^ Mi = gcnew DZ::MediaPlayer::Io::MediaInput(DZ::MediaPlayer::Io::MediaInputType::File, "D://video.mp4");
  vlcPlayerControl1-&gt;Play(Mi);
  </code></pre>
  
  <p>File path is correct, i have video.mp4 in D drive<Br>
  What Could be the issue?<Br><Br>
  Thanks</p>