Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
OLE error code 0x80070002 when trying createobj()
Message
General information
Forum:
Visual FoxPro
Category:
Visual FoxPro and .NET
Miscellaneous
Thread ID:
00877691
Message ID:
00877701
Views:
12
>Created a class in C# and included
>
>	[ClassInterface(ClassInterfaceType.AutoDual)]
>	[ProgId("FiservReportParser.ReportParser")]
>
>as I had read from an article by Rick Strahl on FoxPro Advisor’s website.
>
>Compile and then copy the associated dll’s to the computer where needed and using regasm.exe to register the dll’s (including the /tlb parameter)
>
>Go to VFP 8 and type following:
>
>ox = CREATEOBJECT(“FiservReportParser.ReportParser”)
>
>And get following error:
>
>OLE error code 0x80070002: The system cannot find the file specified.
>
> Any help is appreciated

Found the solution to this. Would have to use the /codebase parameter with regasm.exe and FoxPro was able to locate the ProgId.
- Erik Niese-Petersen

Crazy Dane in USA.
Previous
Reply
Map
View

Click here to load this message in the networking platform