title: Why is the PrintDialog not displaying (in 64 bit)?
body: <p>This code, when built in .Net for Any CPU platform and running on a 64-bit machine, simply returns a DialogResult of Cancel without showing the expected dialog box.</p>
  
  <pre><code>Dim dlg As New System.Windows.Forms.PrintDialog
  
  If dlg.ShowDialog() = Windows.Forms.DialogResult.OK Then
      '... print the document '
  End If
  </code></pre>
  
  <p>However, it works fine when the application is built for the x86 platform, and run on a 64-bit machine. How can you display the dialog with a 64-bit compile?</p>