title: How to add 64bit VLC ActiveX control to c# winform
body: <p>Can anyone explain how to embed the 64bit VLC activeX control in a c# .net winforms app.  For the 32bit version, adding the control from the designer adds the references to AxAxVLC and AXVLC.  For the 64bit, I can only figure out how to add the AXVLC reference manually, which doesn't seem to have winforms control properties and methods like vlc.CreateControl() or vlc.Location.</p>
  
  <p>Here is the code for 32bit embed:</p>
  
  <pre><code> vlc1 = new AxAXVLC.AxVLCPlugin2();
              vlc1.CreateControl();
              ((System.ComponentModel.ISupportInitialize)(vlc1)).BeginInit();
              vlc1.Location = new Point(10, 10);
              vlc1.Name = "vlc1";
              vlc1.OcxState = ((System.Windows.Forms.AxHost.State)   (resources.GetObject("vlc.OcxState")));
              vlc1.Size = new System.Drawing.Size(240, 180);
              vlc1.TabIndex = 0;
              this.Controls.Add(vlc1);
  </code></pre>