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. Visual Basic
  4. How to make VB ActiveX DLL?

How to make VB ActiveX DLL?

Scheduled Pinned Locked Moved Visual Basic
questionc++comtutorial
4 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.
  • M Offline
    M Offline
    mr2003
    wrote on last edited by
    #1

    Hi I would like to use a certain VB functions in Vc++. It was recommended to me to make an ActiveX DLL in VB, and call VB ActiveX DLL in VC. How can I make a VB ActiveX DLL? Ehsan Behboudi

    H 1 Reply Last reply
    0
    • M mr2003

      Hi I would like to use a certain VB functions in Vc++. It was recommended to me to make an ActiveX DLL in VB, and call VB ActiveX DLL in VC. How can I make a VB ActiveX DLL? Ehsan Behboudi

      H Offline
      H Offline
      Hesham Amin
      wrote on last edited by
      #2

      start a new project .. choose ActiveX DLL in the project add Class modules with functions , propertties you need.. then build the project. is this all waht you need ?

      M 1 Reply Last reply
      0
      • H Hesham Amin

        start a new project .. choose ActiveX DLL in the project add Class modules with functions , propertties you need.. then build the project. is this all waht you need ?

        M Offline
        M Offline
        mr2003
        wrote on last edited by
        #3

        So, I should make an ActiveX Dll project and add all the functions/constants to it, then build it? how can I use the functions in my VC++ program. should I just type the functions down in the VB, how can I add them? Ehsan Behboudi

        H 1 Reply Last reply
        0
        • M mr2003

          So, I should make an ActiveX Dll project and add all the functions/constants to it, then build it? how can I use the functions in my VC++ program. should I just type the functions down in the VB, how can I add them? Ehsan Behboudi

          H Offline
          H Offline
          Hesham Amin
          wrote on last edited by
          #4

          Hi,, using it in VC++ is a long story :) in brief look MSDN for CoCreateInstance you can add functions , properties to the VB6 project : choose Tools menu then Add Procedure

          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