Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
ASP.NET (C#) with a VFP8 COM
Message
General information
Forum:
Visual FoxPro
Category:
Visual FoxPro and .NET
Miscellaneous
Thread ID:
00913999
Message ID:
00914048
Views:
13
Here's what I have in C#:
< % @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);  
   }

%>
>I created a simple COM component with Fox 8 that simply logs into a SQL Server backend to test the connection and return true if it succeeds. On the ASP.Net side I'm using C#. I'm getting the following error from .NET:
>
>System.IO.FileNotFoundException: The specified module could not be found
>
>The debugger is pointing to the following line of code:
>
CJTUpdateTester atest = new cjtupdate.CJTUpdateTesterClass();
>
>I've set a reference to the TLB which is residing in the development directory for the fox dll through VS.NET 2002. Should it be in the Windows directory or something? I'm running out of ideas.
>
>TIA
>
>Richard
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform