Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
COM Components
Message
 
To
20/02/2003 09:14:57
General information
Forum:
ASP.NET
Category:
Other
Title:
Miscellaneous
Thread ID:
00755475
Message ID:
00755515
Views:
9
You can easily call VFP COM components from VB.NET or C#. Her's a live example using ASP.NET: http://www.activevfp.com/avfpdemo2/default.aspx . Here's an example in C# (could just as easily be VB.NET):
<% @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);  
   }
%>
>Hi
>
>I'm used to creating COM components in VFP.
>
>What is the situation with COM in VB.Net? Is it still possible/relevant?
>
>Sorry for the short question.
>
>Thanks
>Kev
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform