Solved

Faxing a VB5 form or frame from a VB5 form

Posted on 1998-08-30
2
212 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

Does Powershell have you tied up in knots?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Reading the Contents of a Directory In Access VBA 5 70
How to compare ms sql hashbytes results within vb6 5 75
TT Auto Dashboard 13 92
Zip Folders Using Chilkat Routines 1 41
When trying to find the cause of a problem in VBA or VB6 it's often valuable to know what procedures were executed prior to the error. You can use the Call Stack for that but it is often inadequate because it may show procedures you aren't intereste…
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…
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…

809 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