Wrox Programmer Forums
|
VB.NET 2002/2003 Basics For coders who are new to Visual Basic, working in .NET versions 2002 or 2003 (1.0 and 1.1).
Welcome to the p2p.wrox.com Forums.

You are currently viewing the VB.NET 2002/2003 Basics section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old July 17th, 2008, 05:16 AM
Authorized User
 
Join Date: Dec 2006
Posts: 35
Thanks: 0
Thanked 0 Times in 0 Posts
Default Printing Web Form

I got the code below in one of your forums:
Private Sub Button3_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Button3.Load
        Button3.Attributes.Add("onclick", "javascript:window.print();")
End Sub

This code prints the form and the inputted information.

But how can you push the information only onto a word doc. or pdf. without printing the form design.






Similar Threads
Thread Thread Starter Forum Replies Last Post
Printing Web Form Dwizz VB.NET 2002/2003 Basics 5 May 13th, 2005 05:04 AM
printing from a web page badgolfer ASP.NET 1.0 and 1.1 Basics 4 January 28th, 2005 12:07 PM
Web-Based Printing toekneel Crystal Reports 2 November 14th, 2004 10:48 PM
Printing Web Pages gaghazoul VBScript 0 February 5th, 2004 02:26 PM
Batch printing for web form Grahame2003 C# 0 January 28th, 2004 05:54 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.