Run Visual Basic code inside C++?

This is a discussion on Run Visual Basic code inside C++? within the Windows Programming forums, part of the Platform Specific Boards category; In an earlier post of mine I asked if I can run Visual Basic code from inside a c-file. But ...

  1. #1
    torbjoen
    Guest

    Run Visual Basic code inside C++?

    In an earlier post of mine I asked if I can run Visual Basic code from inside a c-file.

    But now I've converted to C++, and was wondering if I could run Visual Basic code from here?

    -Thanks!

  2. #2
    &TH of undefined behavior Fordy's Avatar
    Join Date
    Aug 2001
    Posts
    5,789
    Nope!

  3. #3
    Refugee face_master's Avatar
    Join Date
    Aug 2001
    Posts
    2,052
    I hate VB so if you mention it again i'm going to hunt ... you ... down... [evil grin]

  4. #4
    &TH of undefined behavior Fordy's Avatar
    Join Date
    Aug 2001
    Posts
    5,789
    What's the code? If it isnt anything COM related, then its should be easy to do in C++

    When you get to the realms of Automation and stuff it gets more tedious...

  5. #5
    Me want cookie! Monster's Avatar
    Join Date
    Dec 2001
    Posts
    680
    Originally posted by face_master
    I hate VB so if you mention it again i'm going to hunt ... you ... down... [evil grin]
    [sarcasm] VB VB VB VB VB VB VB VB VB VB VB VB - I love it [/sarcasm]

  6. #6
    torbjoen
    Guest
    I'm supposed to generate an Excel worksheet with several megabytes of data, and then generate some graphs based on these data.

    I checked out http://support.microsoft.com/default.aspx?scid=KB;EN-US;Q141759& , and found an example for it with C++, and got scared!!

    Guess I'm converting to Visual Basic - the code amount then gets down to a fraction of the C++ code..

    Or what do you think?

    torbjoen

  7. #7
    &TH of undefined behavior Fordy's Avatar
    Join Date
    Aug 2001
    Posts
    5,789
    Automation is so much easier in VB....but only because the designers allow the avarage VB user to be hidden from the ugly truths of COM......

    It can be done in C++...but its tedious............

  8. #8
    Shadow12345
    Guest
    VB translates to Very Bad

  9. #9
    Refugee face_master's Avatar
    Join Date
    Aug 2001
    Posts
    2,052
    Originally posted by Shadow12345
    VB translates to Very Bad
    True Dat

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Avoiding Global variables
    By csonx_p in forum Windows Programming
    Replies: 32
    Last Post: 05-19-2008, 12:17 AM
  2. Replies: 10
    Last Post: 11-22-2007, 11:13 PM
  3. loop and compiling inside a code
    By MtJ in forum C Programming
    Replies: 3
    Last Post: 03-05-2006, 11:50 AM
  4. <list>
    By Unregistered in forum C++ Programming
    Replies: 9
    Last Post: 02-24-2002, 03:07 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21