Solved

Printing Access with VB5

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

6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

Join & Write a Comment

I’ve seen a number of people looking for examples of how to access web services from VB6.  I’ve been using a test harness I built in VB6 (using many resources I found online) that I use for small projects to work out how to communicate with web serv…
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…
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…
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…

708 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now