printdialog.showdialog(); not showing the print dialog in windows 7 with 64 bit
<p>I have custom control with print toolbar item.when print the control the
dialog is not coming in windows 7 with 64 bit os in other system os  working
fine. problem only in windows 7 with  64 bit.</p>

<p>my problem printdialog is not coming in windows 7 os with 64 bit.</p>

<p>i have checked and anlyaed -->PrintDialog.ShowDialog() returns immeaditely
cancel instaed of showing the dialog thats the problem.</p>

<p>i have found the solution for the problem by searched following links:</p>

<p><a href="http://social.msdn.microsoft.com/Forums/en/netfx64bit/thread/8760fb6c-ae63-444e-9606-cd3295ce6b5d" rel="nofollow">http://social.msdn.microsoft.com/Forums/en/netfx64bit/thread/8760fb6c-ae63-444e-9606-cd3295ce6b5d</a></p>

<p><a href="http://msdn.microsoft.com/en-us/library/system.windows.forms.printdialog.useexdialog.aspx" rel="nofollow">http://msdn.microsoft.com/en-us/library/system.windows.forms.printdialog.useexdialog.aspx</a></p>

<p>by setting true  to UseExDialog property of printdialog the dialog comes and
working fine.but this dialog style is like windows XP not windows7 style.so
this is not excat solution.</p>

<p>UseExDialog property sets to true means working fine.but the print dialog
style looks like windows XP print not like windows 7.  i need some other
solution for showing print dialog in windows 7 os with 64 bit.</p>

<p>please provide complete solution for this problem</p>

<p>Thanks</p>

<p>Siva</p>
