in

Archived Data Techniques Forums

FaxManJr 1.71 Demo works but not ActiveX control in VB program

Last post 11-08-2007 9:45 AM by support. 1 replies.
Page 1 of 1 (2 items)
Sort Posts: Previous Next
  • 11-08-2007 5:19 AM

    • JohnCS
    • Not Ranked
    • Joined on 11-08-2007
    • Posts 1

    FaxManJr 1.71 Demo works but not ActiveX control in VB program

    I have just inherited a VB6 application which uses the FAxManJr ActiveX control to send faxes. I cannot get it to work although the sample VB6 program does. The VB application also uses CDO to create e-mails, ADO to access an SQL/Server database and OLE to Word to create the document (which is printed using the Amyuni Rapid Pdf Printer driver and the pdf file converted using the ImportFiles method). The problem occurs on Windows/XP SP2 and Windows 2003 Server.

    I have checked the way in which the Class, Port, FaxFiles and FaxNumber properties are set and this matches the sample. I have checked that the same dlls are loaded using the SysInternals Process Explorer and these match.

    The problem is that when the SendFax method is called the events received go EVENT_STATUS, EVENT_STATUS, EVENT_TIMEOUT... and then EVENT_TIMEOUT repeats. The program has been written using the WaitForEvent method. In the sample app it works as expected when using event handling procedures or the WaitForEvent method.

    This is the first time I have used the FaxManJr ActiveX control.

     ANY CLUES PLEASE AS TO WHAT TO DO AS I HAVE RUN OUT OF OPTIONS.

  • 11-08-2007 9:45 AM In reply to

    Re: FaxManJr 1.71 Demo works but not ActiveX control in VB program

    Hi,

     In your app capture the data output by the Message events and then email that to us at support@data-tech.com. That will show us whats happening with the modem.

     

    Also as a note we recommend using the Event driven model instead of WaitForEvents as it has a possibility that events can be lost in some cases.

    Sean
    Data Techniques Online Support
Page 1 of 1 (2 items)
Copyright 2009 Data Techniques, Inc. All Rights Reserved.