此代碼當內置於任何CPU平臺的.Net並在64位機器上運行時,只需返回Cancel的DialogResult而不顯示預期的對話框。爲什麼PrintDialog不顯示(64位)?
Dim dlg As New System.Windows.Forms.PrintDialog
If dlg.ShowDialog() = Windows.Forms.DialogResult.OK Then
'... print the document '
End If
但是,當應用程序是爲x86平臺而構建的,並且在64位機器上運行時,它工作正常。你如何顯示64位編譯的對話框?
感謝您的回答。四歲,仍然幫助某人。 +1 – 2014-01-21 12:23:46