Forum Moderators: open

Message Too Old, No Replies

Print with vb

         

andrewsmd

8:07 pm on Dec 17, 2009 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I need to open the print dialog box and print some data (just a basic html table) in vb. I have looked but I can't seem to find a good example anywhere. Does anyone know how to do this? Thanks

marcel

8:40 pm on Dec 17, 2009 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



If you want to open the print dialog from a HTML page you will need to do it with javascript:

<a href="JavaScript:window.print();">Print this page</a>