Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here


winfax DDE in VFP - usage of variables

winfax DDE in VFP - usage of variables

winfax DDE in VFP - usage of variables

I have the following segment of code intended to send out faxes from a query list, however when I replace actual data with variables, winfax doesn't seem to recognize the data. Is there something simple that I may be missing with the replacement variables? For example, in the first 'retvar' assignment, I want to replace the text string with a variable name from a table, and so on with the other fields required by winfax...

* Set up WinFax
    ****retvar=DDEPoke(FaxChan,"sendfax",'recipient("6819032","11:11:11","10/10/01", ;
    ****"Chris","cm","test stmt","test","0000","Fax")')
    retvar=DDEPoke(FaxChan,"sendfax",'recipient("6819032","01:00:00","10/10/15", ;
    "Christest","cm","test stmt","test","0000","Fax")')
    ** retvar=DDEPoke(FaxChan,"Sendfax",'resolution("HIGH")') && or "LOW"
    retvar=DDEPoke(FaxChan,"sendfax",'showsendscreen("1")') && show send screen

RE: winfax DDE in VFP - usage of variables

This is just a follow-up to the original post :

In trying to use 'CreateObject' i.e. CreateObject("winfax.SDKSend") I am still getting the following
message : "Class definition ... is not found"
I already have winfax running when I do this yet still
receive the error message.

Does anyone know the correct syntax for the createobject statement?

** This creates the object for WinFax
private oWFSend
oWFSend.ShowSendScreen (0)
** oWFSend.SetCompany()
oWFSend.Send (1)

Thank you for your help.


Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close