Solved

Faxing a VB5 form or frame from a VB5 form

Posted on 1998-08-30
2
207 Views
Last Modified: 2010-04-30
How would you suggest I fax either a VB5 form or a frame from a VB5 form?
0
Comment
Question by:gcassel
2 Comments
 
LVL 4

Accepted Solution

by:
mcix earned 100 total points
ID: 1431940
The easiest method would be to simply use the Print Method of the Object you want to Print.
0
 

Author Comment

by:gcassel
ID: 1431941
Thanks.  I think this may be what I am looking for however I would first need to change the printer default at run-time to the fax.  I can add the commondialog box to my form so I can change printers.  Do I simply define the printer as the fax in the Print dialog box and then add the following to my form to change to my fax at run-time?  

frmForm.PrinterDefault = True

Private Sub cmdCommand1.Click()
   frmForm.PrintForm
   Printer.EndDoc
End Sub

then to convert back to the printer
   fraFrame.PrinterDefault = False ??

gcassel
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Background What I'm presenting in this article is the result of 2 conditions in my work area: We have a SQL Server production environment but no development or test environment; andWe have an MS Access front end using tables in SQL Server but we a…
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 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…
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…

920 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

15 Experts available now in Live!

Get 1:1 Help Now