; Print , Windows Desktop Application Or According To You. | SQL Server

Big Entertainment On Demand

Download APK  - Visit Here

Print , Windows Desktop Application Or According To You.


Know More :  ASP.Net  VB.Net  C#.Net  Sliverlight  XML  WPF  WCF Ajax
You can print , complete windows desktop application or as you want to print your design like shop bill print , school fee receipt etc. For print your application or your document design, you need to print control in visual studio toolbox “Print form”. This control is not default control for visual studio( in some edition) , you have to download this control from Microsoft site Or search in Google (Type in Google “Visual Basic Power Packs”) or click here to download “”.You can use this control in VB.Net or C#.net application.After complete installation of “Visual Basic Power Packs”. Open Visual studio , and watch in toolbox, as shown in figure..
ScreenShot048
Now drag and drop printform control on form. You can design your application as you want  after complete your design , you can give print command on button or context menu or menu or as you want. I am using button control for print command. 



Imports System.Threading.Thread
Imports System.IO

Public Class retail_print

    Private Sub ButtonX1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles LabelX1.Click
        PrintForm1.PrintAction = Printing.PrintAction.PrintToPreview
        PrintForm1.Print()
    End Sub
End Class
Now start debugging from debug menu or press f5  button, After debug your application Output as shown in figure ……
ScreenShot049
Thanks.
Know More :  ASP.Net  VB.Net  C#.Net  Sliverlight  XML  WPF  WCF Ajax
Share on Google Plus

About Sujay

Hi ! I am Sujay Sharma. I am working in Indian Railway as Guard. I am sharing my experience about Microsoft SQL Server with ASP.NET ,VB.NET,C#.NET,XML "" Thanks.
    Blogger Comment
    Facebook Comment

0 comments:

Post a Comment