Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Regasm and createobject
Message
 
To
11/07/2006 14:56:46
General information
Forum:
Visual FoxPro
Category:
Visual FoxPro and .NET
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Miscellaneous
Thread ID:
01135487
Message ID:
01135568
Views:
8
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?
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform