Anton Setiawan
Anton Setiawan

Reputation: 899

Printing Problem In 64-bit Crystal Reports for VS 2005

I'm aware that this question may have been asked before, but I still haven't found any solution.

We're developing a smart client application with Crystal Reports for Visual Studio 2005. The application has been deployed to 32 bit machines and it runs well. However when we deployed to 64 bit machine, we found that the print button of Crystal Reports viewer didn't work. Note that we have installed CRRedist2005_X64.msi in that pc. We want to keep this source code in Visual Studio 2005.

Do you know any solution for this problem? Your suggestion will be appreciated.

Regards,

Anton

Upvotes: 3

Views: 7906

Answers (2)

Gert Hermans
Gert Hermans

Reputation: 829

Another way to solve this is to set UseEXDialog=True Try this:

 Using frm As New System.Windows.Forms.PrintDialog 
    frm.Document = mPrintDocument 
    frm.UseEXDialog=True  ' TRY THIS 

It show a different type of printdialog, but it works on 64 bit OS

I've found this solution here:

http://go4answers.webhost4life.com/Example/printdialog-not-displaying-64-bit-172427.aspx

Upvotes: 0

Anton Setiawan
Anton Setiawan

Reputation: 899

Finally my colleague solved it by compiling with Visual Studio 2005 installed on 64 bit OS and Crystal Reports for VS 2005 SP1. source: http://forums.sdn.sap.com/thread.jspa?threadID=1939320&tstart=0

Upvotes: 6

Related Questions