View Single Post
  #3 (permalink)  
Old 10-29-2008, 7:52 AM
acidflash acidflash is offline
VB.NET Forum Newbie
.NET Framework: .NET 3.0 (VS 2005/2008)
 
Join Date: Oct 2008
Posts: 18
Reputation: 5
acidflash is on a distinguished programming path ahead
Default

Another option is downloading VB.net powerpacks, and using the printform() function in it (very helpful). What it does is, it just prints the entire form with everything on it. What you can do to get the results you want is for example

'Say you wanted to print a word where a label is
Label1.text = "Blah" 'or Blah (where Blah is a saved string somewhere)

'Say you wanted to put the checkbox as checked, you just do this

checkbox1.checked = true
PrintForm()
checkbox1.checked = false

That way your checkbox is checked when you print, and unchecked when the printing is finished. Good luck, I hope that helped. Remember, Visual Basic .NET Powerpacks (3.0 or 2.0)
Reply With Quote