i ve a problem in doin my project. wen i give some data in the sales bill form i ve created, tat should appear in ms word bill format i ve designed
how to connect my vb form with word and to take a print of it,
I don't personally use Crystal so I can't help you with that one. I tend to output to an office application, rtf or pdf. As for printing a form, do you just want to print out the image or present the data in a printable form. If it is the latter then obviously you would need to know what form you are presenting it in (word, excel, pdf etc), then you could either use the application in question or the api to print the document.
Dim Adapter As New OleDbDataAdapter
Dim Command As New OleDbCommand
Dim xFrom As String = dtpFrom.Value.ToString.Substring(0, dtpFrom.Value.ToString.IndexOf(" "))
Dim xTo As String = dtpTo.Value.ToString.Substring(0, dtpTo.Value.ToString.IndexOf(" "))
sqlQuery = MainQuery ...