Fax Software

Community Forums

  • This topic is empty.
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #2745
    Greg L
    Member

    To all,

    The following code seems to work in an XL 2002 VBA project. I can’t get it to work in my XL COM-Addin yet, which adds recipients thru the phonebbok API…

    BTW, it was my old code with longer sleep calls…

    Greg L

    Option Explicit

    Public Declare Sub SleepAPI Lib “kernel32” Alias “Sleep” (ByVal MSTime As Long)

    Sub Main()
    Dim wfxSend As wfxctl32.CSDKSend
    Set wfxSend = New wfxctl32.CSDKSend
    With wfxSend
    .SetClientID (“Client Name”)
    .SetPrintFromApp 1
    .LeaveRunning
    .SetTo “Greg L”
    .SetCompany “Test This”
    .SetNumber “555-1212”
    .SetAreaCode “612”
    .SetCountryCode “1”
    .SetHold 1
    .AddRecipient

    .SetSubject “Test Me”
    .SetCoverFile “E:WinfaxCoverCommo GJL 16.cvp”

    .Send 0
    .ShowSendScreen 1

    DoEvents
    Do While .IsReadyToPrint = 0
    DoEvents
    Loop
    ActiveWorkbook.PrintOut
    .Done
    SleepAPI 1000
    End With
    Set wfxSend = Nothing
    End Sub

    #4714
    Anonymous
    Member

    Yes it does work, but if you remove the area and country codes to perform a dial as entered you get funny chars displayed at the start of the phone number and if you set showsendscreen to 0 it all falls apart and does nothing, just like the DDE commands.

    Definite bug in Winfax

    #4715
    Anonymous
    Member

    as for the funny characters, you need to edit your registry. Go to HKEY_LOCAL_MACHINESOFTWAREDelrinaCommSuite7.0Locations and then edit the Location0, Location1 , Location2 etc..etc.. keys. Remove the umlaut (the y with the two dots on top) character from each of the keys that you find.

    #4716
    Anonymous
    Member

    Also lots of problems reported with XP and 10.02 with SDK.

    #4717
    Administrator
    Keymaster

    printfromapp does not work with 10.02 under XP. This causes mail-merge to fail and anything else that uses printfromapp.

Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.