VB front end, with back end using another language

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • manontheedge
    New Member
    • Oct 2006
    • 175

    VB front end, with back end using another language

    I've got a program in C++, but I want to create a front end user interface for it using Visual Basic. I'm not looking for alternatives, I'm just curious, how would I do that?

    Just as a basic example, lets say I have a Visual Basic form, and there are two text boxes that take strings from the user. Then the user clicks a button.

    ...then, I want to send these two arguments to my C++ code. After the C++ code does some stuff, I want it to return ...a string for example... back to another text box in the Visual Basic GUI.

    I feel like i should know how to do this, but I have no clue. How is this done? I'd appreciate any information or links to sites with information on how to do this.
  • debasisdas
    Recognized Expert Expert
    • Dec 2006
    • 8119

    #2
    It would be better to compile a DLL using C++ and call that from VB code.

    Comment

    • manontheedge
      New Member
      • Oct 2006
      • 175

      #3
      thank you, that's exactly what I was looking for ... I don't know why I wasn't thinking of creating a DLL out of the C++ code ... anyway, that's what I need to do, thank you.

      Comment

      Working...