Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
.Net control
Message
From
17/08/2004 14:41:41
 
 
To
28/07/2004 09:25:51
Mike Cole
Yellow Lab Technologies
Stanley, Iowa, United States
General information
Forum:
Visual FoxPro
Category:
Visual FoxPro and .NET
Title:
Miscellaneous
Thread ID:
00923742
Message ID:
00933895
Views:
20
I'm having the same problem - I cannot seem to get a .NET dll to work from within VFP 8.0 SP1. The dll, foxprotest.dll, has a class called "test" and this class contains a method called "tryit". My code to call this dll looks like this:

loObject = CREATEOBJECT("foxprotest.test")

Executing this causes an error: "OLE error code 0x80070002: The system cannot find the file specified"

The .NET dll was created by someone else, a very experienced .NET developer. It *has* been registered on my machine using: RegAsm foxprotest.dll RegAsm says it was successfully registered. A peek in the Registry confirms this. I have set the default directory to the one containing the foxprotest.dll

Still, every time I try to call it, I get an error...Any help would be *greatly* appreciated.

-RW-
-RW-
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform