How to Create a Dynamic Page in VB and Print the same.
-
Hi There, I have an Application of Laboratory Management. In this i have created multiple pages to take the results of the tests that has been performed for the patient. Supposidly, there are 2 Blood Tests out of 10 , 3 Urine Tests out of 8, 2 Stool Tests out of 10. All these have different Pages and Different Tables to get store. Now what i want is to print only the tests that have been performed having correct format of print. I do not know how many Labels i have to use for the display and then print the same page. This will be decided at runtime. If possible can you plz tell me how to Create a Scrolling Page in VB and Print the same. Regards, Kaushal Arora
-
Hi There, I have an Application of Laboratory Management. In this i have created multiple pages to take the results of the tests that has been performed for the patient. Supposidly, there are 2 Blood Tests out of 10 , 3 Urine Tests out of 8, 2 Stool Tests out of 10. All these have different Pages and Different Tables to get store. Now what i want is to print only the tests that have been performed having correct format of print. I do not know how many Labels i have to use for the display and then print the same page. This will be decided at runtime. If possible can you plz tell me how to Create a Scrolling Page in VB and Print the same. Regards, Kaushal Arora
Kaushal Arora wrote:
Now what i want is to print only the tests that have been performed having correct format of print. I do not know how many Labels i have to use for the display and then print the same page. This will be decided at runtime.
Why not just use a PDF document, fill in the fields propertly from your code, then display that on your form. The exact same document can be printed from your code or from another PDF reader without modification. You'd need a 3rd party library to work with the PDF document, something like PDF.NET[^].
A guide to posting questions on CodeProject[^]
Dave Kreskowiak Microsoft MVP Visual Developer - Visual Basic
2006, 2007, 2008 -
Kaushal Arora wrote:
Now what i want is to print only the tests that have been performed having correct format of print. I do not know how many Labels i have to use for the display and then print the same page. This will be decided at runtime.
Why not just use a PDF document, fill in the fields propertly from your code, then display that on your form. The exact same document can be printed from your code or from another PDF reader without modification. You'd need a 3rd party library to work with the PDF document, something like PDF.NET[^].
A guide to posting questions on CodeProject[^]
Dave Kreskowiak Microsoft MVP Visual Developer - Visual Basic
2006, 2007, 2008I have to Build a Dynamic Page. How can i do this?
-
I have to Build a Dynamic Page. How can i do this?