How do I get RTF to print in Win7-64bit?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Robert Dean

    #1

    How do I get RTF to print in Win7-64bit?

    Hi Everyone,

    I am printing RTF text as the header to a report. The report is built with DrawString calls. The code (thanks to a previous question http://bytes.com/groups/net-vb/355226-need-print-out-rtf-text-into-picturebox-vb-net) works great when I run the app on XP or Win7-32bit. My work has gone to new Win7-64 machines for the developers. On the new machines, I can step through the code with no exceptions, but there is nothing printed for the headers.

    Does anybody know how to get RTF to print using Win7-64bit?

    Thank you in advance.
  • David Gluth
    New Member
    • Oct 2010
    • 46

    #2
    Depending on what component is handling the print for you, some of them are not 64 bit ready (i.e. 32 bit only). To use them you must compile your application as 32 bit only. It will then run on the WOW platform that Win7 supplies.

    You change this option on the Properties\Comp ile screen. Press Advanced Compile Options and review Target CPU:

    Comment

    Working...