Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

Faxing a VB5 form or frame from a VB5 form

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

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

The debugging module of the VB 6 IDE can be accessed by way of the Debug menu item. That menu item can normally be found in the IDE's main menu line as shown in this picture.   There is also a companion Debug Toolbar that looks like the followin…
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…
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…
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…

861 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