Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Form Printing
Message
From
05/08/2003 00:52:07
 
 
To
31/07/2003 01:51:48
General information
Forum:
Visual Basic
Category:
Other
Title:
Miscellaneous
Thread ID:
00815270
Message ID:
00816722
Views:
20
well its Tricky but quite possible.
You need to use PrintForm method of the form, this will not include min/max/close buttons.
You need to hide the controls which you dont want to print.
a simple sample would be
Private Sub Command1_Click()
'hide unwanted controls
Text2.Visible = False
mylabel.visible=false
Form1.PrintForm
Text2.Visible = True
mylabel.visible=true
End Sub
Another way is to use a different form on click of button; containing the information u want and then print it.
Best Luck..
Nilesh
Previous
Reply
Map
View

Click here to load this message in the networking platform