Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Faxing from VFP
Message
 
À
09/11/1997 14:03:12
Information générale
Forum:
Visual FoxPro
Catégorie:
Produits tierce partie
Titre:
Divers
Thread ID:
00058435
Message ID:
00060093
Vues:
30
I have read a few messages about this faxing stuff...

It seems to me that MAPI is lacking...I would prefer using faxing software that can be an OLE server...my opinion...

Joe

>I'm sorry the report form only works when using report form to ascii.
>You have to send a file when using MAPI (msmapi32.ocx).
>
>There is an alternative, foxword (from bel con). This program can converts a report output to a RTF file. Something like do foxword with , . The output can handle bold, italic etc.
>I'm currently testing the program ($99), almost all reports can be adjusted to be used with foxword. Only the complex reports may require some creative solutions. The current version of foxword can not handle images, this will be corrected soon (according to bel consulting).
>
>The RTF files can then be send using MAPI to fax, interal e-mail and internet mail.
>
>Mark Duitsman.
>>When this is all set-up, how do you actually send the report to the recipients?
>>
>>REPORT FORM TO PRINTER
>>
>>???
>>
>>Joe
>>
>>>I think using the method below will require to register the fax-recipient in exchange before you can fax. If you have your recipient faxnumbers in your database you could try this:
>>>
>>> loAddr = loMapiMsg.recipients.add
>>> loAddr.AddressEntry.Type = 'FAX'
>>> loAddr.Name = 'name'
>>> loAddr.Address = 'FAX:name@0123-456789'
>>> loAddr.AddressEntry.Address = 'name@123-456789'
>>>
>>>>>Thanks for replying.
>>>>>
>>>>>I will specify the fax recipients from VFP and be able to select fax recipients for each report. Could I do this using MAPI?
>>>>>
>>>>>
>>>>
>>>>
>>>>Yes you can .. If the recipient names/addresses are set up in one of the Microsoft Mail "Address Books" then all you have to do is specify the RecipientName property for the fax.
>>>>
>>>>eg
>>>>
>>>>oMapiMessage.RecipIndex=0 && set the first recipient
>>>>oMapiMessage.RecipType=1 && sets the primary recipient property
>>>>oMapiMessage.RecipDisplayName="Fax Recipient 1"
>>>>oMapiMessage.ResolveName && this causes MAPI to search the address books for the "Fax Recipient 1" entry .. if found it fills in the proper address into the RecipAddress property and sets the type (fax .. mail etc)
>>>>
>>>>
>>>>Unforunately, this also means that Microsoft Mail must be setup on the computer .. not just adding the MAPI controls.
>>>>
>>>>The nice thing is that Microsoft Mail handles all the setup info for each recipient .. regardless of type of message .. FAX, internal email or internet email. MAPI is quite easy to use and (so far) seems to be relatively bug free. Of course, my App is still in a Beta Test" mode so I don't have a good grasp on any potential problems. One problem I did run into was MAPI generating a "Invlid Profile" message when I logged in. This was solved by specifying the the "Default Profile" name in the UserName property. (Thanks to Corey Rector for this info)
>>>>
>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>>It all depends on whether you are going to select the locations from within your VFP application...if you are, you probably want to use a fax program that uses DDE or OLE or some method to send the document and locations from the program...if it is suffice to choose the locations in the fax software, just select the fax program print driver as your print device when you print the report...
>>>>>>
>>>>>>re: I know I can fax from VFP I am just looking for different opinions on the best method.
>>>>>>
>>>>>>or did I miss something?
>>>>>>
>>>>>>
>>>>>>>I need to send reports from VFP via fax. What is the best way to accomplish this?
>>>>>>>
>>>>>>>I must fax the report to at least four locations. Can I use normal fax software? Do I need a 3rd party app in my app? Can I use MS Exchange?
>>>>>>>
>>>>>>>I know I can fax from VFP I am just looking for different opinions on the best method.
Joseph C. Kempel
Systems Analyst/Programmer
JNC
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform