Xavier,
At least to start with, download the free .NET Framework at:
http://msdn.microsoft.com/netframework/downloads/howtoget.aspJust with this, you can call VFP mtdlls from .NET - you simply run the included tlbimp
command on your VFP mtdll like:
tlbimp avfpdemo2.dll /out:avfpdemo2_dotnetproxy.dll
Now you can call your VFP mtdll from ASP.NET(.aspx), for example, with the following C# (entered using
NotePad or the VFP editor):
<% @Page Language="C#" ASPCompat="true" %>
<% @Import Namespace="avfpdemo2_dotnetproxy" %>
<%
server x ; //server is the VFP class
x = new server() ;
try
{
Response.Write(x.demo()); //demo is the VFP method
}
catch(Exception ex)
{
Response.Write("Caught .NET exception, source: " + ex.Source + " message: " + ex.Message);
}
%>
>Hello,
>
>I looking for info and sample code etc... on how to use VFP in a .NET environement.
>Also what is the best complementry language (ASP.NET, VB.NET, C# ,...) I should learn to deploy my VFP apps on a .NET environement.
>
>Or should I simply drop VFP and move onto VS.NET
>
>I am still confused !
>
>Xavier