CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3
  1. #1
    Join Date
    Jun 2001
    Location
    Michigan
    Posts
    2,222

    obtain GUID from DLL

    How can I obtain the GUID (class identifier) from a dll using visual basic code?

    Here is how I instantiate the dll class:

    Dim comSched As Object
    Set comSched = CreateObject("NOVAR2BCM.Novar")

    I have a visual c++ COM object (Novar2BCM.dll) which contains the NOVAR2BCM.Novar class.

    Thanks for any help.

  2. #2
    Join Date
    Sep 2004
    Posts
    135

    CLSIDFromProgID

    If you know the prog id, you can use CLSIDFromProgID API.

  3. #3
    Join Date
    Dec 2001
    Posts
    6,332

    Re: CLSIDFromProgID

    Quote Originally Posted by avinash_sahay
    If you know the prog id, you can use CLSIDFromProgID API.
    This won't always work. See this thread for more:
    http://www.codeguru.com/forum/showthread.php?t=312694
    Please remember to rate the posts and threads that you find useful.
    How can something be both new and improved at the same time?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured