Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
VFP to .NET migration - form by form?
Message
De
08/01/2007 15:03:19
 
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Versions des environnements
Visual FoxPro:
VFP 9 SP1
Divers
Thread ID:
01181837
Message ID:
01183549
Vues:
15
Hi:

There is two options:

1. Make the form´s class public and use
SetCLRClassLibrary("the path/to your/assembly.dll",.T.)
oForm = CLRCreateObject("yournamespace::YourClassName").
oForm.Show()


2. Make the form look like a Control (no ControlBox and not caption) and put it in a VFP Form using netbasecontrol (in netbasecontrols.vcx). Remember to se cControlClass to "yournamespace::YourClassName".
Allways is needed to call:
SetCLRClassLibrary("the path/to your/assembly.dll",.T.)

I hope this help you

Martin
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform