Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Visual FoxPro help gives Visual Basic example
Message
From
16/11/2001 04:30:46
 
 
To
15/11/2001 20:56:09
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00582473
Message ID:
00582597
Views:
32
Hi!

Michel, this help article is not what you thought.
You're talking about early/late binding at client side, when you use VFP code to bind to events of some COM object.
That article describes opposite - from the COM object side: describes that VFP supports both approaches (early and late binding), and gives an example of how you can use *VFP* COM object inside of teh VB client - using both early and late binding.

This is from my MSDN:
>>>>
Visual FoxPro COM servers support both early (vtable) binding and the existing late binding (IDispatch) interface (together known as dual-interface support). Binding describes how clients access properties and methods of a server. Early binding provides performance benefits for Automation controllers that support early binding such as Visual Basic and the Microsoft Transaction Server. While Visual FoxPro servers support both interfaces, the one used is determined by the client.
>>>>

To read more about late binding in VFP, take a look to the help on EventHandler( ) function.

So seems that article correct, though it is good idea to send feedback to MS to improve this article so users will be not confused about what is described there.

HTH.

>>>When I go in the Visual FoxPro help and access "binding / early vs late", I am given a Visual Basic example. Where is the Visual FoxPro example? Am I missing something?
>>
>>Same here. As I understand it, the help is talking about VFP COM Servers and since VFP does not have early binding, VB code is just an appropriate example because it does support early and late binding.
>
>I still think that part of the help was not completed. It should deal with VFP or at least explain more in regards to it.
Vlad Grynchyshyn, Project Manager, MCP
vgryn@yahoo.com
ICQ #10709245
The professional level of programmer could be determined by level of stupidity of his/her bugs

It is not appropriate to say that question is "foolish". There could be only foolish answers. Everybody passed period of time when knows nothing about something.
Previous
Reply
Map
View

Click here to load this message in the networking platform