ImLearningDotNet
Member
This is a component offered for download at
http://msdn2.microsoft.com/en-us/vbasic/aa701261.aspx
which, allows an easy way to print a form.
Once the component is dragged onto my form, I know how to print a form by using this code:
If the form has not been printed yet then I want a certain action to occur but, I dont know how to show this in a decision statement.
I was experimenting with some code and I came up with this:
but this doesnt solve my problem. If anybody knows how to do this it would really help!
http://msdn2.microsoft.com/en-us/vbasic/aa701261.aspx
which, allows an easy way to print a form.
Once the component is dragged onto my form, I know how to print a form by using this code:
VB.NET:
PrintForm1.Print()
If the form has not been printed yet then I want a certain action to occur but, I dont know how to show this in a decision statement.
I was experimenting with some code and I came up with this:
VB.NET:
If PrintForm1.Form.Created = False Then
'Perform a certain task
End If
but this doesnt solve my problem. If anybody knows how to do this it would really help!