Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
FTP Clients
Message
From
07/01/2000 08:17:17
 
 
To
06/01/2000 23:22:22
General information
Forum:
Visual FoxPro
Category:
Internet applications
Title:
Miscellaneous
Thread ID:
00314176
Message ID:
00314417
Views:
38
>>Mabry does care about VFP and understands it. You can capture the events with the VFPCOM.DLL.
>
>Yeah, I was surprised to see refrences in the FAQ and a sample for it. I'm going to continue using the OLEContainer method though.
>
>This has the ultimate goofiest event method ever though, this is how I think it works (correct me if I'm wrong).

I don't have the code here at home to check, but it sounds right from what I remember.

>
>Every method has a Done event. Bag that: Every method uses the same Done() event, then in that event, you check the LastMethod property to determine what is done, so the Done event looks like:
>
>
lparame lastmethod, errorno
>
>do case
>	case lastmethod = 1
>		*Do many lines of code, or call another method, ect.
>	case lastmethod = 2
>		*Do many lines of code, or call another method, ect.
>	case lastmethod = 3
>		*Do many lines of code, or call another method, ect.
>	case lastmethod = 4
>		*Do many lines of code, or call another method, ect.
>	case lastmethod = 5
>		*Do many lines of code, or call another method, ect.
>endcase
>
>Is that a standard anywhere? I've never seen anything like it, it could be very easy to max out the call stack that way if you call other methods from this event.

No, not standard. But the control works. I've got some automated processes that put and get files all the time.
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform