vb and c

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • forvish
    New Member
    • Mar 2007
    • 3

    vb and c

    hi every one !
    can i use visual basic as user interface with my c programs?
    or even C++ programs? please help if there is any other way?
  • vijaydiwakar
    Contributor
    • Feb 2007
    • 579

    #2
    Originally posted by forvish
    hi every one !
    can i use visual basic as user interface with my c programs?
    or even C++ programs? please help if there is any other way?
    i think no

    Comment

    • ChillUmesh
      New Member
      • Feb 2007
      • 20

      #3
      Originally posted by forvish
      hi every one !
      can i use visual basic as user interface with my c programs?
      or even C++ programs? please help if there is any other way?
      U CAN WRITE A dll USING VC++ AND ACESS THOSE USING VB

      IF U HAV ANY MORE DOUTS U R ALWAYS WELCOM

      Comment

      • forvish
        New Member
        • Mar 2007
        • 3

        #4
        Originally posted by ChillUmesh
        U CAN WRITE A dll USING VC++ AND ACESS THOSE USING VB

        IF U HAV ANY MORE DOUTS U R ALWAYS WELCOM


        hey i have learnt basic c++. vc++ is kind of weired. The syntax is also little different. i need to finish my work fast cant learn vc++ now. can i write it in normal c++ and use vb as front end . please help

        Comment

        • ChillUmesh
          New Member
          • Feb 2007
          • 20

          #5
          Originally posted by forvish
          hey i have learnt basic c++. vc++ is kind of weired. The syntax is also little different. i need to finish my work fast cant learn vc++ now. can i write it in normal c++ and use vb as front end . please help
          u create a dll file in C++ only and use in VB
          4 creating dll in C++ u search web

          Comment

          • Killer42
            Recognized Expert Expert
            • Oct 2006
            • 8429

            #6
            Originally posted by forvish
            hey i have learnt basic c++. vc++ is kind of weired. The syntax is also little different. i need to finish my work fast cant learn vc++ now. can i write it in normal c++ and use vb as front end . please help
            As ChillUmesh pointed out, it is possible to create a DLL in C++, and call it from VB. So in this way you could use VB as the user interface, and invoke your C++ functions "behind the scenes". But it's probably not as quick and easy as you might think. I suspect you'll find it simpler to do one of the following:
            • Learn Visual C++
            • Do the job entirely in VB
            • Do it entirely in "basic C++" and find some way (downloaded tools?) to do the user interface from that language.

            If you do need help with creating a DLL so that you can call it from VB, then I'd suggest the C/C++ forum is the place to ask. Actually, they will probably be a good source of info, whatever route you take. We can probably help with the calls, but I doubt you'll need much help to call a DLL.

            Comment

            Working...