Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Printing

Status
Not open for further replies.

Stegmite

Programmer
Aug 18, 2004
36
US
This may sound like a stupid question, but what's the syntax to print the current page?
 
print the vb form with the textboxes, buttons, etc ???
 
Yes. The customer wants a button, even though every browser gives you about 5 options.
 
even though every browser gives you about 5 options
Are you talking about a web application (I see that you used the term "browser")?
 
You can force a page to the printer from a web browser. You can bring up the print dialog box, however. You can do this with javascript. There's probably some posts or even a FAQ in the javascript forum for this.
 
RiverGuy is correct in that you will have to use javascript to print the page (after all it is the client that is printing the page and not the server). See for more info.

Also, you should use the ASP.NET forum (forum855) for ASP.NET related questions.

----------------------------------------------------------------------

Need help finding an answer?

Try the search facilty ( or read FAQ222-2244 on how to get better results.
 
sorry for the misplaced post, thanks for the link
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top