havinablast
Member
- Joined
- Dec 10, 2009
- Messages
- 14
- Programming Experience
- Beginner
Hi all,
Very new to programming and to VB.
I'm working on a program that fills a DataGridView with details pulled from a MS Access Database.
At this point, I have the coding that will allow me to print the DataGridView and will also allow me to show a Print Preview screen. Actually, everything is working well...
My ONLY hopes (at this moment) is that I can somehow change the attributes of the Print Preview form itself.
Presently, the actual Print Preview pops up and is very tiny. The user can, of course, stretch the form to enlarge it, but I would like for the form to appear at the same size as the rest of the forms in the project. Also, I'd like to be able to add my Icon to the forms title bar, customize the title bar wording (from Print preview to My Program - Data Search) and change the default background color of the form (to match my other forms).
Is this possible? If so, where do I access the coding to change it? And, is there any special coding to know in order to achieve this?
Any and all help is greatly appreciated.
PS - the coding I'm using for printing the DataGridView is setup as a Public Class AND then called on button click (i.e. my printdialog is not in the class, but in the form).
Thank you
Very new to programming and to VB.
I'm working on a program that fills a DataGridView with details pulled from a MS Access Database.
At this point, I have the coding that will allow me to print the DataGridView and will also allow me to show a Print Preview screen. Actually, everything is working well...
My ONLY hopes (at this moment) is that I can somehow change the attributes of the Print Preview form itself.
Presently, the actual Print Preview pops up and is very tiny. The user can, of course, stretch the form to enlarge it, but I would like for the form to appear at the same size as the rest of the forms in the project. Also, I'd like to be able to add my Icon to the forms title bar, customize the title bar wording (from Print preview to My Program - Data Search) and change the default background color of the form (to match my other forms).
Is this possible? If so, where do I access the coding to change it? And, is there any special coding to know in order to achieve this?
Any and all help is greatly appreciated.
PS - the coding I'm using for printing the DataGridView is setup as a Public Class AND then called on button click (i.e. my printdialog is not in the class, but in the form).
Thank you