Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Regasm and createobject
Message
 
À
11/07/2006 14:56:46
Information générale
Forum:
Visual FoxPro
Catégorie:
Visual FoxPro et .NET
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Divers
Thread ID:
01135487
Message ID:
01135568
Vues:
9
Is this a .NET assembly you have created? The ProgId by default is:

FullNamespace.ClassName

Or you can override the name for the ProgID with an Attribute explicitly which is what I would recommend.

When you run regasm make sure that either your assembly is signed (in which case it should go intot he GAC) or you run regasm with the /CodeBase switch.

There's more info on this topic towards the bottom of this article:
http://www.west-wind.com/presentations/VfpDotNetInterop/DotNetFromVFP.asp

+++ Rick ---

>I am trying to use a DLL that i registered using the "regasm" command. I have registered several files under regsvr32. The problem is i cannot figure out what name to use in CREATEOBJECT(). Obviously i haven't done this a lot but i can't seem to identify what name to use to create an object of of this dll. Any help is appreciated.
+++ 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?
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform