Results 1 to 3 of 3

Thread: Is it possible to add controls to the print dialog

  1. #1

    Thread Starter
    PowerPoster Nitesh's Avatar
    Join Date
    Mar 2007
    Location
    Death Valley
    Posts
    2,556

    Is it possible to add controls to the print dialog

    Hi Guys,

    I want to add a textbox to a printdialog control. basically when a user prints, they must enter their name into a textbox on the Printdialog Control. I will then log the name to a database.

    Please advise.

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

    Re: Is it possible to add controls to the print dialog

    Not possible, or at least not without looking into an unmanaged solution that would be messy and brittle. Better to display your TextBox on another dialogue and show the PrintDialog from that.
    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

  3. #3

    Thread Starter
    PowerPoster Nitesh's Avatar
    Join Date
    Mar 2007
    Location
    Death Valley
    Posts
    2,556

    Re: Is it possible to add controls to the print dialog

    Thanks. Will go with your suggestion

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