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. C / C++ / MFC
  4. How to use VB functions in VC program

How to use VB functions in VC program

Scheduled Pinned Locked Moved C / C++ / MFC
c++hardwaretutorialquestion
6 Posts 3 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 am working with several hardware, some of them support VC++ and others support VB. Is there any way I could write a VC++ program and be able to call VB function in that as well? Thanks Ehsan Behboudi

    A 1 Reply Last reply
    0
    • M mr2003

      Hi I am working with several hardware, some of them support VC++ and others support VB. Is there any way I could write a VC++ program and be able to call VB function in that as well? Thanks Ehsan Behboudi

      A Offline
      A Offline
      AlexO
      wrote on last edited by
      #2

      If VB function is part of COM object yes, otherwise no.

      M 1 Reply Last reply
      0
      • A AlexO

        If VB function is part of COM object yes, otherwise no.

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

        How can I check that out? I don't know much about COM object The VB code is to control motion control/data aquisition hardware. Ehsan Behboudi

        S 1 Reply Last reply
        0
        • M mr2003

          How can I check that out? I don't know much about COM object The VB code is to control motion control/data aquisition hardware. Ehsan Behboudi

          S Offline
          S Offline
          Shaffiq
          wrote on last edited by
          #4

          hi, You Can Use VB Functions In VC++ Program From VB Activex Dll. First Create VB Activex Dll as VB-GlobalMultiUse Then Call VB Activex Dll From VC++ Leo12

          M 1 Reply Last reply
          0
          • S Shaffiq

            hi, You Can Use VB Functions In VC++ Program From VB Activex Dll. First Create VB Activex Dll as VB-GlobalMultiUse Then Call VB Activex Dll From VC++ Leo12

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

            how can I make a VB activeX DLL in .NET? Ehsan Behboudi

            S 1 Reply Last reply
            0
            • M mr2003

              how can I make a VB activeX DLL in .NET? Ehsan Behboudi

              S Offline
              S Offline
              Shaffiq
              wrote on last edited by
              #6

              Dear Friend, You Can Go Through This Page It Will Help How To Create an Activex Dll In Vb and How To call From VC++ http://www.experts-exchange.com/Programming/Programming\_Languages/Visual\_Basic/Q\_11233681.html

              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