Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Asp.net
Message
From
13/11/2002 00:46:38
 
General information
Forum:
Visual FoxPro
Category:
Internet applications
Title:
Miscellaneous
Thread ID:
00715843
Message ID:
00721981
Views:
7
I will keep an eye on your new framework (I guess it is ver 2 of Avfp)
Many thanks

Xavier


>In a couple of days, I should have ready a web framework that will do all of this automatically. I'll make it available here on the UT for free.
>If you don't want to wait, you'd have to create a virtual directory in the IIS management console. You would then run the tlbimp over your mtdll out to the \bin directory under the virtual. Here's a good article on the subject: http://www.aspheute.com/english/20000828.asp
>>Hello,
>>
>>I have downloaded the .net framework, I have build a COM object and compiled in a MTDLL but now what must I do ?
>>
>>How do I use the tlbimp ??
>>
>>What is my next step to make my sample run from my asp page?
>>
>>Thanks
>>
>>Xavier
>>
>>>Xavier,
>>>At least to start with, download the free .NET Framework at:
>>>http://msdn.microsoft.com/netframework/downloads/howtoget.asp
>>>Just 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):
>>>
>>>< % ERROR:  @Page Language="C#" ASPCompat="true"  % >
>>>< % ERROR:  @Import Namespace="avfpdemo2_dotnetproxy"  % >
>>>< % ERROR:
>>>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
Previous
Reply
Map
View

Click here to load this message in the networking platform