Are you trying to display a Windows form in a web browser? If so, the easiest way is using ASP.NET and web controls - but this is different from VFP although you can coordinate the data sources.
If you are running VFP 7 then there is an example in Solutions at your command prompt type
DO (HOME(2) + 'solution\solution')
Then to run the "Create Active Documents for the web" sample
After starting Solution.app, click New Features for Visual FoxPro.
Click Create Active Documents for the web and then click the Run Sample button.
...what you are trying to create I believe is an Active Document. There is a lot of info in the Visual Foxpro helpfile about creating VFP Active Documents.
If you mean that you want to run a Visual Foxpro form in a web browser, then Slighthaze has given you a good start (although, personally, I have always had difficulties with the ActiveDocument class).
But I wonder if that is what you want. Perhaps you mean you want to create a web form that can interact with VFP. If so, that's an entirely different question.
Perhaps you can post more details of what you want to achieve.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.