Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Problems with WinFax9.0 & SDKSend
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00305550
Message ID:
00306390
Vues:
31
>>yes i'm referring to the DDE,
>>
>>the same statements will work for winfax 8 and 9 without hickups.
>>i found the same problems with SDK so went back to DDE and it is at least not relying on 1 version only
>>
>>Albert
>
>Albert -
>
>I'm having a problem with the attachment using DDE. The following command is listed in the help as an example:
>
>retvar=DDEPoke(FaxChan,"sendfax", 'attach("C:\WINFAX\DATA\1605002.FXR")')
>
>I'm having problems substituting the explicit path and filename of the attachment with a variable. How would I do the following:
>
>
>* Note - This doesn't work...but this is what I want to do...
>
>tmpAttachFile = "C:\MyFile.rtf"
>retvar=DDEPoke(FaxChan,"sendfax", 'attach(tmpAttachFile)')
>
>
>Suggestions?
>
>Thanks!

I think I figured this one out... The WinFax help mentioned the need to pay close attention to the nested quotes. I had to insert some explicit CHR(34)'s to give Winfax what it was looking for.

I think this is working now, but I did like the SDK setup better. If anyone has any other suggestions as to how to fix my "broken" SDKSend routine, I'd love to here them! Until then, I'll be incorporating the DDE between FoxPro and Winfax.

One last question...

If the file I'm including as an attachment is an .RTF file, Winfax opens up MS Word to make the conversion so that Winfax can send the file. Any way to prevent the Word window from popping up here? Is there another file type I should be using to prevent this?

Once again, thanks for your suggestions!
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform