>I am involved into the project for conversion VFP application to VB.Net.
>
>In VFP the active window is printed by using PrintWindow API based on DibApi32 library.
>
>For Windows XP there is also the PrintWindow API function based on user32 library that looks promising.
>
>I tried both approaches, but without success. Could anybody provide the example that works? Thank you in advance
>
>Yuri Rubinov
Yuri,
Sorry... I must have missed your original post.
Check this out:
http://www.vb-helper.com/howto_net_print_form_image.htmlI have used it 2 or 3 times and it seems to work pretty well.