Article ID: 182579
Article Last Modified on 7/1/2004
"... a Windows-based, non-HTML application embedded in a browser, providing a way for the functionality of that application to be accessible from within the browser interface. Visual FoxPro Active Document applications are like any other Visual FoxPro applications in that you can run forms, reports, and labels, instantiate classes, run code, and manipulate data, but they have the added advantage of being hostable in an Active Document container, such as Internet Explorer."
SET TALK OFF
SET STATUS BAR OFF
** DO Adtest.mpr
DO FORM Adtest.scx
READ EVENTS
NOTE: This code sets the Visual FoxPro Status Bar off since Internet
Explorer already has a status bar. You do not want to have two status
bars. TALK is set off because when the status bar is off, some FoxPro
commands talk to the active window instead of the status bar. The
command to "DO" a menu program is commented out since this article will
not cover setting up a menu in the Active Document application. Please
refer to the article listed in the REFERENCES section for information on
creating a sample menu program for use with this Active Document
application.
BorderStyle 0-No border
ScrollBars 3-Both
TitleBar 0-Off
WindowState 2-Maximized
Left 0
Top 0
The BackColor and Picture properties can also be set to any valid value.
Thisform.Release
CLEAR EVENTS
1-Don't show the Visual FoxPro main window
Rebuild the application and test it again. This time, when Internet
Explorer is closed, the form from the Active Document application will
not show before closing.
182580 How To Setting Up a Quick Menu for an ActiveDoc App
Additional query words: kbvfp600
Keywords: kbhowto KB182579