- This topic is empty.
-
AuthorPosts
-
February 7, 2002 at 3:21 pm #2745
Greg L
MemberTo 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 1DoEvents
Do While .IsReadyToPrint = 0
DoEvents
Loop
ActiveWorkbook.PrintOut
.Done
SleepAPI 1000
End With
Set wfxSend = Nothing
End SubFebruary 8, 2002 at 5:14 pm #4714Anonymous
MemberYes 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
February 9, 2002 at 4:52 am #4715Anonymous
Memberas 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.
February 22, 2002 at 3:06 pm #4716Anonymous
MemberAlso lots of problems reported with XP and 10.02 with SDK.
February 24, 2002 at 6:02 pm #4717Administrator
Keymasterprintfromapp does not work with 10.02 under XP. This causes mail-merge to fail and anything else that uses printfromapp.
-
AuthorPosts
- You must be logged in to reply to this topic.