Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Event Notification from WinFax Pro in VFP App
Message
From
24/09/1999 16:42:19
Rich Lieblich
Infosys Technologies, Inc.
Fanwood, New Jersey, United States
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Title:
Event Notification from WinFax Pro in VFP App
Miscellaneous
Thread ID:
00268782
Message ID:
00268782
Views:
74
I have designed a VFP6 app (under NT4) that allows my end users to automatically fax reports to clients. It uses Symantec's WinFax Pro V8.03 as its fax engine. In production for about a year and a half, this app was originally a VFP3 design under Win 3.1 and used DDE to pass fax requests to the WFP fax engine. The WinFax SDK included with V8.0 introduced communication via OLE automation so that a fax send could be intiated via code similar to

SendObj=CreateObject("WinFax.SDKSend")
<< set up fax recipient name, phone number, cover page, etc.>>
SendObj.Send(1)

An inherent problem in my design has always been EVENT NOTIFICATION... and hence the PACING of "Send Fax" request. When I issue a Send request, I have NO way of knowing the status of the fax programatically..... UNTIL NOW. Microsoft has recently issued a utility called VFPCOM that gives Visual FoxPro the same capability that the Visual Basic's DIM...WITH EVENTS feature provides. According to a post elsewhere, this .DLL "....allows you to bind VFP code to COM events..."

My REAL problem is that the concepts of COM, ActiveX Automation Servers and the Event Notification capability (outlined in the WFP SDK) are over my head. All I want to do is this:

1. send a fax request to WFP.
2. wait for notification that the fax completed.
3. loop until all faxes have been sent.

Can anyone help me with understanding VFPCOM.DLL and WFP's Event Notification... and at least get started on the right track?? Thanks!
Next
Reply
Map
View

Click here to load this message in the networking platform