Solved

Printing Access with VB5

Posted on 1998-07-26
4
254 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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

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 process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

820 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