|
-
Jul 19th, 2000, 04:19 AM
#1
Thread Starter
Lively Member
Can someone please help me with some code for faxing say a word document or even a ms access report from within vb using ms fax or any other faxiin software.
thanks
Adri
-
Jul 19th, 2000, 08:04 AM
#2
try this ...
goto http://www.vbcode.com & type in fax in their search box, there are few examples there...
Alex
-
Jul 19th, 2000, 08:38 AM
#3
Lively Member
run code to print. Make the fax modem a output object, on the system itself, and send to the printer object here is some code
Code:
' dlgprint is the common dialog control
dlgPrint.Flags = cdlPDReturnDC + cdlPDNoPageNums
On Error Resume Next
dlgPrint.CancelError = True
' shows the printer selection window, here you should ' find the fax/modem listed
dlgPrint.ShowPrinter
' if the user selects cancel on the printer selection ' window need to get it
If Err <> 32755 Then
rtfPrint.SelPrint dlgPrint.hDC
Printer.EndDoc
Else
MsgBox ("No Print out made")
End If
VB 6 Professional Edition
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|