Results 1 to 2 of 2

Thread: Printing a Windows Form Without Title Bars and Borders

  1. #1

    Thread Starter
    New Member
    Join Date
    Jan 2009
    Posts
    2

    Printing a Windows Form Without Title Bars and Borders

    I have a windows application that I have created using Visual Basic 2005. I am a new user and have learned a few things, but quite an amateur! I need to printout a windows form but I do not want the form to have menu bars or borders printed.

    The windows form contains the data that I have updated using a Sequel Server 2005 DataBase. The form needs to be printed by clicking a Print Form Button on the form.

    Is this possible with VB 2005. i noticed a PowerPacks out there, but when I downloaded the tab does not appear on the VB 2005 Express Edition I am using.

    Any help is appreciated.

    jjc9809

  2. #2
    Super Moderator jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    111,221

    Re: Printing a Windows Form Without Title Bars and Borders

    Quote Originally Posted by jjc9809
    i noticed a PowerPacks out there, but when I downloaded the tab does not appear on the VB 2005 Express Edition I am using.
    Try adding the PrintForm component to the Toolbox manually then. I think it should be able to do what you're asking for, although I've never actually used it myself. It will definitely remove the border but I'm not sure about menus. If it won't then post back as there's another way that is marginally more complex.
    Why is my data not saved to my database? | MSDN Data Walkthroughs
    VBForums Database Development FAQ
    My CodeBank Submissions: VB | C#
    My Blog: Data Among Multiple Forms (3 parts)
    Beginner Tutorials: VB | C# | SQL

Posting Permissions

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



Click Here to Expand Forum to Full Width