Save or export vb 6 form

10 pts.
Tags:
Access Database
Database import/export
PDF
save or export vb 6 form
VB 6
Hi, I have a vb project which displays information from a MS Access database on textboxes and Lables for names and other calculation records. i would like to export the form containing these textboxes and lables filled with data from the MS access database to either pdf, doc or any other file type for saving and printing. or if i can ultimately save the form as a file for future reference. i can already print the form with PrintForm but i also want to be able to save or export the form, and its contents including textboxes and lables. thanks for any help. Dexter

Software/Hardware used:
VB 6 , MS Access

Answer Wiki

Thanks. We'll let you know when a new response is added.

Basically you have to:

-Include a picture box control in your form
-Resize it to the size of your form
-Use the BitBlt function to copy the form image to the pincture box
-Save the contents of the picture box to disk.

<a href=”http://www.codeproject.com/KB/vb-interop/SaveFormImageToFile.aspx”>Here</a> is some example code.

Discuss This Question:  

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following