[RESOLVED] How do you print a form in Visual Basic 2010 Express?-VBForums
Results 1 to 3 of 3

Thread: [RESOLVED] How do you print a form in Visual Basic 2010 Express?

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Nov 2015
    Posts
    22

    Resolved [RESOLVED] How do you print a form in Visual Basic 2010 Express?

    With vb.net you print the current form by coding:

    <formname>.printform

    But there is no such ".printform" option in VB 2010 Express that I can find.

    What is the command?

    Thanks

  2. #2
    PowerPoster techgnome's Avatar
    Join Date
    May 2002
    Posts
    31,267

    Re: How do you print a form in Visual Basic 2010 Express?

    You can't find it because it doesn't exist. Never has as far as I know. If there ever was a PrintForm method, it was something custom. It's not built-in --- there is however a PrintForm component as part of the Visual Basic PowerPack - https://msdn.microsoft.com/en-us/library/bb690938.aspx ... maybe that's what you used previously w/o realizing it.

    -tg
    * I don't respond to private (PM) requests for help. It's not conducive to the general learning of others.*
    * I also don't respond to friend requests. Save a few bits and don't bother. I'll just end up rejecting anyways.*
    * How to get EFFECTIVE help: The Hitchhiker's Guide to Getting Help at VBF - Removing eels from your hovercraft *
    * How to Use Parameters * Create Disconnected ADO Recordset Clones * Set your VB6 ActiveX Compatibility * Get rid of those pesky VB Line Numbers * I swear I saved my data, where'd it run off to??? *

  3. #3

    Thread Starter
    Junior Member
    Join Date
    Nov 2015
    Posts
    22

    Re: How do you print a form in Visual Basic 2010 Express?

    techgnome, your suggestion worked. Thanks.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Featured


Click Here to Expand Forum to Full Width

Survey posted by VBForums.