CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Sep 1999
    Location
    Colombo, Sri Lanka
    Posts
    27

    Dynamically Loading DLLs. Is it possible?

    Hi,

    I was wondering.. is it possible to dynamically load an ActiveX dll programmatically? i.e. Have no reference to it in the project but still be able to load it through code?

    Thanks,

    Rob.


  2. #2
    Join Date
    May 1999
    Posts
    3,332

    Re: Dynamically Loading DLLs. Is it possible?

    the Createobject function allows you to do that.
    Set o = CreateObject("yourProgID")
    e.g.
    Createobject("excel.application")


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