none
PrintDialog1.ShowDialog() fails on 64 bit machine

Answers

All replies

  • PrintDialog.UseEXDialog or drag the dialog from the ToolBox.

     

    • Marked as answer by VallarasuS Thursday, February 24, 2011 6:47 AM
    Tuesday, February 22, 2011 8:17 AM
  • Thanks John,

    I read this solutions does not works in every cases, Do you agree with this?

    UseEXDialog is not working

    Thanks


    Regards Vallarasu S. BreakingDotNet.blogspot.com
    Wednesday, February 23, 2011 9:36 AM
  • I don't know anything about Crystal Reports.  Your code indicates that you were using the PrintDialog directly from you own program.

    Edit:  If you don't want to use the ExDialog, target x86.

    Wednesday, February 23, 2011 9:50 AM
  • Hi Vllarasu,

    Base  on my test, it can work when sets the UseEXDialog to "true";

    private void button2_Click(object sender, EventArgs e)
        {  
          PrintDialog printDialog = new PrintDialog();
          printDialog.UseEXDialog = true;
          printDialog.ShowDialog();
        }
    So you can have a try to this.
    Vin Jin [MSFT]
    MSDN Community Support | Feedback to us
    Get or Request Code Sample from Microsoft
    Please remember to mark the replies as answers if they help and unmark them if they provide no help.

    Thursday, February 24, 2011 6:18 AM