Results 1 to 6 of 6

Thread: VB and C++ question

  1. #1
    Junior Member
    Join Date
    Aug 2003

    Question VB and C++ question

    Is that possible to use a c++ code in vb?

    because i know that you can have a assembly code in a c++ program...

    but i don't know if you can put a c++ code in vb??
    if you can... what kind of the header you need to make to let the complier know it's a c++ code????

    PLease help me~~!!

    Technology = Power

  2. #2
    Leftie Linux Lover the_JinX's Avatar
    Join Date
    Nov 2001
    Beverwijk Netherlands
    you can make a DLL in c++ (visual c++) and use the DLL in your VB app..

    other than that I dunno.. but I did hear some stuff about .NET incorporating all languages.. or something..
    ASCII stupid question, get a stupid ANSI.
    When in Russia, pet a PETSCII.

    Get your ass over to SLAYRadio the best station for C64 Remixes !

  3. #3
    Senior Member tampabay420's Avatar
    Join Date
    Aug 2002
    yeah, you could build a few classes into a DLL, then make calls to them from VB. If you need to bring over a form into vb you might want to compile an OCX file. (although VB has such a nice GUI tool) anyway... if you have any other questions... i've done quite a bit with DLL(s) before.
    yeah, I\'m gonna need that by friday...

  4. #4
    Ninja Code Monkey
    Join Date
    Nov 2001
    Washington State
    You can use c++ to build a dll or an active x component (exe, dll, control) that can be used by vb.
    "When I get a little money I buy books; and if any is left I buy food and clothes." - Erasmus
    "There is no programming language, no matter how structured, that will prevent programmers from writing bad programs." - L. Flon
    "Mischief my ass, you are an unethical moron." - chsh
    Blog of X

  5. #5
    Senior Member
    Join Date
    Nov 2001
    if your asking is you can compile c++ source code using vb ....no
    Bukhari:V3B48N826 “The Prophet said, ‘Isn’t the witness of a woman equal to half of that of a man?’ The women said, ‘Yes.’ He said, ‘This is because of the deficiency of a woman’s mind.’”

  6. #6
    Join Date
    Jul 2002
    Originally posted here by Tedob1
    if your asking is you can compile c++ source code using vb ....no
    Yeah you could learn a low level language & make your own compiler which runs off of your own style of syntax. But as for the other drag and drop stuff I think OOP styled has to many debuggers for the chageing of the syntax but of course you could also spend a few hours makeing your own scripting language or maybe do it all the so called (hard way) by simply makeing a small attempt at learning these languages in the first place instead of being a lazyass.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts