Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Rhinorhino on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Form on WebBrowser

Status
Not open for further replies.

pui

Instructor
Joined
Aug 9, 2001
Messages
1
Location
TH
How can I displays my form on web Browser?
 
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.

Slighthaze = NULL
 
Pui,

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.

Mike


Mike Lewis
Edinburgh, Scotland
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top