Compile as a vfp mtdll. Your VFP class must be defined as OLEPUBLIC. You should also use the VFP Session base class. Then call the vfp mtdll from asp as follows:
< %
Session.Timeout = 1440
Response.Expires=0
Set oServer = Server.CreateObject("AVFPdemo2.server")
Response.Write(oServer.Main())
% >
AVFPdemo2 is the mtdll, server is the olepublic class, and Main is the method you're calling.
Check out
http://www.activevfp.com if you need more examples.
BTW, this mtdll can be called from ASP.NET in a similar way...
>Hi all !!
>
>How i run a program.fxp (made in structure way) within of a page ASP ?
>
>Thanks.
>
>Lázaro Santos.