PSS ID Number: 158839
Article Last Modified on 8/4/1999
SET CLASSLIB TO isapi
ox = CreateObject("employee")
ox.show
BUILD EXE foxis FROM foxis
ox = CreateObject("foxis.employee")
ox.show
158838 How To Setup the FoxIsapi Sample on Windows NT 4.0
ox= CreateObject("foxis.employee")
ox.show && see if it works as a custom server
?ox.startup() && see if it returns HTML
<A HREF="/scripts/foxisapi.dll/FoxIS.employee.startup">
<I>VFP OLE CUSTOM SERVER DEMO PAGE</I> </A>
<FORM ACTION= "/scripts/foxisapi.dll/foxis.employee.cmd">
<INPUT NAME="Cmd" value = "Reset">
<input type="submit" value="Dos Command">
</FORM>
This code creates a button on the page that tells the server to execute
any MS-DOS command, such as DIR, and it returns a page with the results
of the command. If the command is "Reset" (default), then it makes the
OLE Automation server release the first instance of the server as well
as its own, thus releasing the OLE Automation server completely.
<FORM ACTION = "/scripts/foxisapi.dll/foxis.employee.cmd?FOXCMD">
<INPUT NAME="Cmd"><input type="submit"
value="Fox Expression"> For example try: "today is "+ cdow(date()) or
45 * 3 or SYS(2004)
</FORM>
This code creates a button on the page that tells the server to execute
any FoxPro command and return a page with the results of the command.
Keywords: kbAutomation kbinfo kbinterop kbnetwork kbsetup KB158839
Technology: kbAudDeveloper kbVFP500 kbVFPsearch