Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
COM Components
Message
 
À
20/02/2003 09:14:57
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Titre:
Divers
Thread ID:
00755475
Message ID:
00755515
Vues:
16
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform