Open a VFP form from C#

G

Guest

Hello, we are developing a project in which we needed to integrate code
developed in Foxpro with code developed in.Net.
Currently we can open .Net forms from VFP, but we do not have been able to
open a VFP form from.Net. Is it possible? how?
 
C

Cindy Winegarden

Hi Eli,

In Visual FoxPro, forms can be created as "forms" or as classes. (Forms are
opened with Do Form MyForm and form Classes are opened with CreateObject().
I haven't tried this but you may have some luck if the form is a class
object.

Sounds like an interesting topic to play with this weekend!
 
G

Guest

Hi Cindy, thank you.
Unfortunately forms was created as forms, not as classes. (They are opened
with Do Form MyForm)
--
Best regards
Eli

Cindy Winegarden said:
Hi Eli,

In Visual FoxPro, forms can be created as "forms" or as classes. (Forms are
opened with Do Form MyForm and form Classes are opened with CreateObject().
I haven't tried this but you may have some luck if the form is a class
object.

Sounds like an interesting topic to play with this weekend!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top