Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. COM
  4. Can i use a dll in an activeX component?

Can i use a dll in an activeX component?

Scheduled Pinned Locked Moved COM
csharpvisual-studiocomhelp
3 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • J Offline
    J Offline
    just3ala2
    wrote on last edited by
    #1

    Dear all, i'm developing an activex component to use in a web application. my task requires using a dll to do some work... When i try to add it to the references of the project i get the message of "can't add a reference to the specified file" I'm using Visual Studio 6 and vb6 as a language Any help or hints would be appreciated Thanks in advance :D

    Best Regards 3ala2 :)

    N 1 Reply Last reply
    0
    • J just3ala2

      Dear all, i'm developing an activex component to use in a web application. my task requires using a dll to do some work... When i try to add it to the references of the project i get the message of "can't add a reference to the specified file" I'm using Visual Studio 6 and vb6 as a language Any help or hints would be appreciated Thanks in advance :D

      Best Regards 3ala2 :)

      N Offline
      N Offline
      Nathan Holt at EMOM
      wrote on last edited by
      #2

      just3ala2 wrote:

      Dear all, i'm developing an activex component to use in a web application. my task requires using a dll to do some work... When i try to add it to the references of the project i get the message of "can't add a reference to the specified file" I'm using Visual Studio 6 and vb6 as a language

      It sounds like you are trying to add a reference to a dll that isn't a COM dll. VB6 does provide a way to access them, but it involves creating a module file and writing code to import all the functions that you need to call in the dll. Nathan

      J 1 Reply Last reply
      0
      • N Nathan Holt at EMOM

        just3ala2 wrote:

        Dear all, i'm developing an activex component to use in a web application. my task requires using a dll to do some work... When i try to add it to the references of the project i get the message of "can't add a reference to the specified file" I'm using Visual Studio 6 and vb6 as a language

        It sounds like you are trying to add a reference to a dll that isn't a COM dll. VB6 does provide a way to access them, but it involves creating a module file and writing code to import all the functions that you need to call in the dll. Nathan

        J Offline
        J Offline
        just3ala2
        wrote on last edited by
        #3

        I c :) Thanx nathan, i found another dll that does the same job and can be added as a reference ;)

        Best Regards 3ala2 :)

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups