Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Problem with assembly registration in VFP IDE
Message
 
To
01/08/2006 15:35:24
General information
Forum:
Visual FoxPro
Category:
Visual FoxPro and .NET
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Miscellaneous
Thread ID:
01142193
Message ID:
01142207
Views:
9
This message has been marked as the solution to the initial question of the thread.
How did you register the component? If you use RegAsm make sure you use the /codebase flag...

More info here:

http://www.west-wind.com/presentations/VfpDotNetInterop/DotNetFromVFP.asp

(towards the bottom)

+++ Rick ---

>Hello
>I am calling a .net assembly from VFP 8 with
>
>o = createobject("mynet.myclass")
>o.xxxxx()....
>
>
>The assembly has been built with .net 2.0.
>The framework 2.0 is installed.
>The assembly has been registered with regasm
>
>The VFP compiled application (exe) runs ok (that is, the object gets created ok)
>
>However, from the development environmnet (VFP command window, or running the prg from VFP) create object fails with
>
>Ole Error code 0x80070002: The system cannot find the file specified
>
>Any ideas?
+++ Rick ---

West Wind Technologies
Maui, Hawaii

west-wind.com/
West Wind Message Board
Rick's Web Log
Markdown Monster
---
Making waves on the Web

Where do you want to surf today?
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform