Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Faxing a VB5 form or frame from a VB5 form

Posted on 1998-08-30
2
Medium Priority
?
218 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
[X]
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
2 Comments
 
LVL 4

Accepted Solution

by:
mcix earned 200 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

Enroll in October's Free Course of the Month

Do you work with and analyze data? Enroll in October's Course of the Month for 7+ hours of SQL training, allowing you to quickly and efficiently store or retrieve data. It's free for Premium Members, Team Accounts, and Qualified Experts!

Question has a verified solution.

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

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…
Article by: Martin
Here are a few simple, working, games that you can use as-is or as the basis for your own games. Tic-Tac-Toe This is one of the simplest of all games.   The game allows for a choice of who goes first and keeps track of the number of wins for…
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…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…
Suggested Courses

604 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