Results 1 to 3 of 3

Thread: Fax code in vb?

  1. #1

    Thread Starter
    Lively Member ac11965's Avatar
    Join Date
    May 2000
    Location
    East London, South Africa
    Posts
    69

    Question

    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

  2. #2
    Evil Genius alex_read's Avatar
    Join Date
    May 2000
    Location
    Espoo, Finland
    Posts
    5,538

    Talking try this ...

    goto http://www.vbcode.com & type in fax in their search box, there are few examples there...


    Alex

    Please rate this post if it was useful for you!
    Please try to search before creating a new post,
    Please format code using [ code ][ /code ], and
    Post sample code, error details & problem details

  3. #3
    Lively Member
    Join Date
    Jul 2000
    Posts
    72
    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
  •  



Click Here to Expand Forum to Full Width