Could you please elaborate a little bit more? I am getting objects by moniker in one of my programs, and am using a native function for this - actually code that I got from this mailing list:
[DllImport("Ole32.dll", EntryPoint="MkParseDisplayName", CharSet=CharSet.Auto)] static extern uint MkParseDisplayName( UCOMIBindCtx bc, // bind context object string szUserName, // display name out uint chEaten, // number of characters out UCOMIMoniker mk // IMoniker interface ); If this is not what you are using, please tell me more specific what you try to achieve. Regards Thomas Tomiczek THONA Consulting Ltd. (Microsoft MVP C#/.NET) -----Original Message----- From: Rolls, Robert [mailto:[EMAIL PROTECTED]] Sent: Montag, 6. Mai 2002 08:54 To: [EMAIL PROTECTED] Subject: [DOTNET] Anybody Monikers? Is anybody coming up with a similar principle in .Net! I'd love to get an object by name presently I've got a class that has a GetThing method takes a name and maps the name to an entry in an XML file which contains the assembly and class to create. Anything nicer going around? Regards, Robert Rolls **********************************************************************" This correspondence is for the named person's use only. It may contain confidential or legally privileged information or both. " No confidentiality or privilege is waived or lost by any " mistransmission. If you receive this correspondence in error, please immediately delete it from your system and notify the sender. You must not disclose, copy or rely on any part of this correspondence if you are not the intended recipient. Any views expressed in this message are those of the individual sender, except where the sender expressly, and with authority, states them to be the views of Vodafone. This email has been checked for viruses. ************************************************************************ ********************** You can read messages from the DOTNET archive, unsubscribe from DOTNET, or subscribe to other DevelopMentor lists at http://discuss.develop.com. You can read messages from the DOTNET archive, unsubscribe from DOTNET, or subscribe to other DevelopMentor lists at http://discuss.develop.com.