M
muhammadanzar
Guest
hi
i want each textbox text come in the next line. not to replace and not too far.
when press print, it save data in sql server and than print from printer.
i am thank full to all of you.

my code
Public Class Form4
Private Sub Form4_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
End Sub
Private Sub CheckBox1_CheckedChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles CheckBox1.CheckedChanged
Dim str As String
str = "hkhj\n\hgjhjhjjhhjjkghhg\n"
RichTextBox1.Text = str
End Sub
Private Sub CheckBox2_CheckedChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles CheckBox2.CheckedChanged
' RichTextBox1.Location(20, 20)
RichTextBox1.Text = "\naaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"
End Sub
End Class
thanks
MUHAMMAD ANZAR E-mail : muhammadanzar@hotmail.com Mobile # :0092-3215096959
Continue reading...
i want each textbox text come in the next line. not to replace and not too far.
when press print, it save data in sql server and than print from printer.
i am thank full to all of you.

my code
Public Class Form4
Private Sub Form4_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
End Sub
Private Sub CheckBox1_CheckedChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles CheckBox1.CheckedChanged
Dim str As String
str = "hkhj\n\hgjhjhjjhhjjkghhg\n"
RichTextBox1.Text = str
End Sub
Private Sub CheckBox2_CheckedChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles CheckBox2.CheckedChanged
' RichTextBox1.Location(20, 20)
RichTextBox1.Text = "\naaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"
End Sub
End Class
thanks
MUHAMMAD ANZAR E-mail : muhammadanzar@hotmail.com Mobile # :0092-3215096959
Continue reading...