printing a form

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • hamster
    New Member
    • Mar 2007
    • 12

    printing a form

    Hi
    Does any1 know how I can print a form.
    My program developes a report with lables and textboxes and i'd like to have it printed.
    I know how to print a ritchtextbox though, It's kinda lots of work to copy it into one.
    And I would like to know how I can make an installation file rather thatn jus giving the .exe
    please assist guys.. or girls
    thanx
  • dip_developer
    Recognized Expert Contributor
    • Aug 2006
    • 648

    #2
    Originally posted by hamster
    Hi
    Does any1 know how I can print a form.
    My program developes a report with lables and textboxes and i'd like to have it printed.
    I know how to print a ritchtextbox though, It's kinda lots of work to copy it into one.
    And I would like to know how I can make an installation file rather thatn jus giving the .exe
    please assist guys.. or girls
    thanx
    1.you can use Javascript's window.print() function to print your form.....
    2.For your 2 nd query.....if you want to make Set-up file to install your application then best add a Setup and Deployment project by rigt clicking your Solution-----> Add New Item

    go through the steps
    .....add your projects output file(.exe) and database file(if needed) to the set up project....you can create Shortcut and icon file for shortcut also.....

    check this link
    Creating Set-up project for my .NET Windows Application

    Comment

    • hamster
      New Member
      • Mar 2007
      • 12

      #3
      Originally posted by dip_developer
      1.you can use Javascript's window.print() function to print your form.....
      2.For your 2 nd query.....if you want to make Set-up file to install your application then best add a Setup and Deployment project by rigt clicking your Solution-----> Add New Item

      go through the steps
      .....add your projects output file(.exe) and database file(if needed) to the set up project....you can create Shortcut and icon file for shortcut also.....

      check this link
      Creating Set-up project for my .NET Windows Application
      Hi thanks for your help.. I'll try it jus now.. Im sorry I didnt mention Im using C#.net i hope it works....
      Cheers!

      Comment

      Working...