Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
OLE error code 0x80070002 when trying createobj()
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Visual FoxPro et .NET
Divers
Thread ID:
00877691
Message ID:
00877701
Vues:
13
>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.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform