Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
NET Activex Controls in VFP
Message
De
17/01/2006 23:58:06
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Visual FoxPro et .NET
Titre:
NET Activex Controls in VFP
Versions des environnements
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Network:
Windows XP
Database:
Visual FoxPro
Divers
Thread ID:
01087841
Message ID:
01087841
Vues:
97
Craig Boyd has put an Awesome sample of using DotNet to create an Activex control that can be placed on a VFP form.

http://www.sweetpotatosoftware.com/SPSBlog/PermaLink,guid,3dd24f92-a52c-4bb0-8121-c2e6e2cc4f93.aspx


However I am unable to get this to work. I have run Regasm to register the Activex DLL:

C:\Documents and Settings\bbout>C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Re
gAsm.exe C:\DotNetControl\bin\Release\DotNetControl.dll

Microsoft (R) .NET Framework Assembly Registration Utility 2.0.50727.42
Copyright (C) Microsoft Corporation 1998-2004. All rights reserved.

Types registered successfully


However I still cannot open the sample form in VFP9 - OLE Error.Class not Registered.

Neither can I drop the activex control on a new form:

OleError 0x80070002. System cannot find the file specified.

Which file? I don't know. I have maintained the directory stru exactly as he has done.

Any ideas about this. I am unfamiliar with .NET

TIA

Bernard
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform