title: Applying aero effect to vb .net form
body: <p>I have been trying to apply aero effect to vb .net forms and have come across quite a few codes though I couldn't use any to actually apply the aero effect.
  The code that I have been using is:-</p>
  
  <pre><code>&lt;Runtime.InteropServices.StructLayout(Runtime.InteropServices.LayoutKind.Sequential)&gt; Public Structure Side
      Public Left As Integer
      Public Right As Integer
      Public Top As Integer
      Public Bottom As Integer
  
  End Structure
  &lt;Runtime.InteropServices.DllImport("dwmapi.dll")&gt; Public Shared Function DwmExtendFrameIntoClientArea(ByVal hWnd As IntPtr, ByRef pMarinset As Side) As Integer
  
  End Function
  </code></pre>
  
  <p>But it doesn't work and I can't find any way to actually get it working even when I create an object of Side</p>
  
  <pre><code>Dim s As Side = New Side
  s.Left = 0
  s.Right = 0
  s.Top = 0
  s.Bottom = 0
  </code></pre>