Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Run program.fxp in ASP.
Message
 
To
19/08/2004 15:44:05
General information
Forum:
Visual FoxPro
Category:
Internet applications
Miscellaneous
Thread ID:
00934622
Message ID:
00934632
Views:
17
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.
Previous
Reply
Map
View

Click here to load this message in the networking platform