Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
VFP to .NET migration - form by form?
Message
From
08/01/2007 15:03:19
 
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Environment versions
Visual FoxPro:
VFP 9 SP1
Miscellaneous
Thread ID:
01181837
Message ID:
01183549
Views:
13
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform