Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
?
Solved

Printing Access with VB5

Posted on 1998-07-26
4
Medium Priority
?
292 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

Get your problem seen by more experts

Be seen. Boost your question’s priority for more expert views and faster solutions

Question has a verified solution.

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

Introduction While answering a recent question about filtering a custom class collection, I realized that this could be accomplished with very little code by using the ScriptControl (SC) library.  This article will introduce you to the SC library a…
Most everyone who has done any programming in VB6 knows that you can do something in code like Debug.Print MyVar and that when the program runs from the IDE, the value of MyVar will be displayed in the Immediate Window. Less well known is Debug.Asse…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
Suggested Courses
Course of the Month13 days, 10 hours left to enroll

581 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