Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Visual Foxpro & ASP .net
Message
 
À
21/01/2005 20:29:18
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00979526
Message ID:
00979549
Vues:
27
Creating a vfp mtdll is one way(This lets you keep your vfp code.). A .NET proxy dll is then created over that using either TLBIMP from the .NET SDK or VS.NET. Here's some sample C# code:
< % @Page Language="C#" ASPCompat="true" %>
< % @Import Namespace="avfpdemo2_dotnetproxy" %>
< %
server x ;
x = new server() ;
try
   {
	Response.Write(x.main());
   }
catch(Exception ex)
   {
       	Response.Write("Caught .NET exception, source: " + ex.Source + " message: " + ex.Message);  
   }

%>
An example using VFP 7 data and this code is at:
http://www.activevfp.com/avfpdemo2/default.aspx

>Hi All,
>
>
>I'm wondering where I can get my hands on a few samples showing how you can use a Visual Foxpro Database 7.0 and above with a web App running ASP .net Is this doable in the first place ?
>
>
>thanks,
>
>Don
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform