General information
Category:
COM/DCOM and OLE Automation
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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only