Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Run program.fxp in ASP.
Message
 
À
19/08/2004 15:44:05
Information générale
Forum:
Visual FoxPro
Catégorie:
Applications Internet
Divers
Thread ID:
00934622
Message ID:
00934632
Vues:
15
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.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform