Solved

Printing Access with VB5

Posted on 1998-07-26
4
243 Views
Last Modified: 2011-09-20
Hi,
 I just took a VB course (beginners) we did not do annything for printing.

Q. I want to be able to print what I have on my VB5 form using a button and menu.
Further...
 I would like to print the 8 text boxes on my form using the windows default CommonDialog (Printer) and have it display the windows default print window.

Thanks,
Ken McPherson
0
Comment
Question by:kmcpherson
  • 2
4 Comments
 
LVL 3

Expert Comment

by:SPECIALIST
ID: 1466722
Can you be more specific. What do you want to print?  Did you say Access Database table,report or do you want to print the vb5 form?
0
 

Author Comment

by:kmcpherson
ID: 1466723
Edited text of question
0
 
LVL 8

Accepted Solution

by:
MikeP090797 earned 50 total points
ID: 1466724
You can print the form using PrintForm call. To select which printer to use, use the CommonDialog control (.ShowPrinter)
0
 

Author Comment

by:kmcpherson
ID: 1466725
Thank-you
0

Featured Post

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Access 2016 VB code 9 116
MsgBox 2 57
Access Object Property from VBA Module in Excel 2010 2 31
I need help using System.Web.HttpUtility.HtmlEncode in my VB.Net application 3 79
Introduction I needed to skip over some file processing within a For...Next loop in some old production code and wished that VB (classic) had a statement that would drop down to the end of the current iteration, bypassing the statements that were c…
This article describes some techniques which will make your VBA or Visual Basic Classic code easier to understand and maintain, whether by you, your replacement, or another Experts-Exchange expert.
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

822 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question