Hi, I was asked to run a WinForms application from a FoxPro project. Can you direct me in how to go about doing this. I have started reading about wwDotNetBridges, but so far i have only seen info on linking up FoxPro with class libraries. Is there a way to actually execute and open winforms from FoxPro?
No not really.
While you can get WinForms components to launch by launching them on a separate thread and then doing Application.Run(), that usually causes all sorts of other problems eventually with forms not getting and giving up focus correctly etc.
My suggestion if this is something you want to do is to create a separate application (an exe) have have some mechanism for the application to communicate with your FoxPro app - via file messaging, named pipes or something similar essentially implementing a notification system. But I would avoid trying to run a WinForms application within the same EXE as your FoxPro app.
+++ Rick ---