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
Printable View
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
goto http://www.vbcode.com & type in fax in their search box, there are few examples there...
Alex
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