Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Visual Foxpro & ASP .net
Message
 
To
21/01/2005 20:29:18
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00979526
Message ID:
00979549
Views:
24
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform