uwe habermann [email protected] venelina jordanova [email protected] programming vfp code in the...
TRANSCRIPT
GUINEU
GUINEU?
* Use VFP code in Silverlight client projects
* So in browsers at the client side
* Runs on Mac OS X and in the future on other platforms
GUINEU
* Developed by Christof Wollenhaupt
* www.GUINEU.net
* VFP runtime developed in C#
* Adapted version for Silverswitch client applications
* Exclusive in Silverswitch
* 1 DLL
* Execute VFP code in FXP file
GUINEUWhat can be done with it?* Business logic
* Control of the Silverlight user interface
* But:* No VFP user interface
* (Messagebox, Wait Window, …)
* No data access
* But these are not restrictions!
GUINEUIntegration in Silverswitch* Wrapper-project
* VfxGuineuRuntime
* FXP file* Save in folder VFPCode* Build: embedded resource
* PRG file (to edit with VFP)* Open with VFP as default* Build: none
GUINEU
* Declaration
using VfxGuineuRuntime;private readonly VfxGuineu _fox = new VfxGuineu("<Name>.FXP");
GUINEU
* Function call
_fox.Do("<function name>", <parameter 1>, <parameter 2>, …);
* The first parameter is the function name
* Following parameters are passed to the function
GUINEU
* Passing parameters* Also objects!
* Many VFP functions
* Many VFP commands
* Execution of C# methods
* No child objects available
GUINEU
* Examples in VFPizza* Customers GUINEU* Orders GUINEU
* Get value of property
* Set value of property
* Save (in C#?)
C#
* Examples in VFPizza* Customers C#* Orders GUINEU
* Save
* Navigation
* And more…
Uwe Habermann [email protected] V&U Project Tools Beauty Studio Venelina Jordanova [email protected]
Uwe Habermann [email protected] VFX 11.0 Visual Extend Workshop Venelina Jordanova [email protected]