Fax Software

Community Forums

This topic contains 4 replies, has 0 voices, and was last updated by  admin 17 years, 8 months ago.

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
  • #2745

    Greg L

    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
    .SetTo “Greg L”
    .SetCompany “Test This”
    .SetNumber “555-1212”
    .SetAreaCode “612”
    .SetCountryCode “1”
    .SetHold 1

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

    .Send 0
    .ShowSendScreen 1

    Do While .IsReadyToPrint = 0
    SleepAPI 1000
    End With
    Set wfxSend = Nothing
    End Sub



    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



    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.



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



    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.