Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Accessing event parameters in a prg
Message
From
06/04/2009 21:45:51
 
 
To
05/04/2009 11:57:56
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01393307
Message ID:
01393564
Views:
49
I don't have a form so there are no visual cues like lightening bolts.

I thought I'd trying using the @ sign to pass the parameters back by reference and I get this error message:

Message 1426:
OLE error code 0x80020006: Unknown name.

for this line of code:

loFtp.FTPReply("Connect", @lnReplyCode, @lcReplyText)

Any other ideas how to return the ReplyCode and ReplyText from the FTPReply event in the wodFTPdlx software?

The rest of the code I'm using to call this event and write ReplyCode and ReplyText to a file is:

* 090404 smr: Call FTPReply to send to WOD
lnReplyCode = 0
lcReplyText = ""
loFtp.FTPReply("Connect", @lnReplyCode, @lcReplyText)
DisplayError(-1, "FTPReply after 'Connect': "+STR(lnReplyCode)+" / "+lcReplyText)
* 090404 End of FTPReply debug code.

Thanks.
Susan
Previous
Reply
Map
View

Click here to load this message in the networking platform