Thread: c++ visuel basic help.

  1. #1
    Registered User
    Join Date
    Mar 2005
    Posts
    13

    c++ visuel basic help.

    I just got microsoft visual c++ 2005, and whenever I go to build a projec, I get this in the output for the build: ========== Build: 0 succeeded, 0 failed, 1 up-to-date, 0 skipped ==========
    and then nothing happens. Can sombody help me?

  2. #2
    The superhaterodyne twomers's Avatar
    Join Date
    Dec 2005
    Location
    Ireland
    Posts
    2,273
    EDIT - Whoops, misread that.

  3. #3
    carry on JaWiB's Avatar
    Join Date
    Feb 2003
    Location
    Seattle, WA
    Posts
    1,972
    It means you've already built the project and it doesn't need to be compiled/linked again (hence, "up-to-date")
    "Think not but that I know these things; or think
    I know them not: not therefore am I short
    Of knowing what I ought."
    -John Milton, Paradise Regained (1671)

    "Work hard and it might happen."
    -XSquared

  4. #4
    Registered User
    Join Date
    Mar 2005
    Posts
    13
    ok, so then how do I run the program?

  5. #5
    The superhaterodyne twomers's Avatar
    Join Date
    Dec 2005
    Location
    Ireland
    Posts
    2,273
    Find the execute thing (I think it's got an image of a !), in the debug menu, I think control f5 does it ... for me, but I'm not the same version.

  6. #6
    Registered User
    Join Date
    Mar 2005
    Posts
    13
    when I do that, it says I can't find the exe file

  7. #7
    User
    Join Date
    Jan 2006
    Location
    Canada
    Posts
    499
    Well, do you have any source code? You need source code to make a program.
    Once you have source code, you compile it, like you just did, or just hit "build and run" from the tools (or is it build?) menu.

  8. #8
    Registered User
    Join Date
    Mar 2005
    Posts
    13
    of course I have sourse code. and I can't seem to find the build and run command in either menu.

  9. #9
    carry on JaWiB's Avatar
    Join Date
    Feb 2003
    Location
    Seattle, WA
    Posts
    1,972
    Try Debug->Start or Debug->Start Without Debugging
    "Think not but that I know these things; or think
    I know them not: not therefore am I short
    Of knowing what I ought."
    -John Milton, Paradise Regained (1671)

    "Work hard and it might happen."
    -XSquared

  10. #10
    Registered User
    Join Date
    Mar 2005
    Posts
    13
    tried that, dosen't work. also, would it matter if I am running in an evaluation copy of vista?
    Last edited by gijake; 08-17-2006 at 05:10 PM.

  11. #11
    carry on JaWiB's Avatar
    Join Date
    Feb 2003
    Location
    Seattle, WA
    Posts
    1,972
    "Doesn't work" tells me nothing. What happens when you try to run it?
    "Think not but that I know these things; or think
    I know them not: not therefore am I short
    Of knowing what I ought."
    -John Milton, Paradise Regained (1671)

    "Work hard and it might happen."
    -XSquared

  12. #12
    Registered User
    Join Date
    Mar 2005
    Posts
    13
    i get the error message that says it can't find the exe file.

  13. #13
    User
    Join Date
    Jan 2006
    Location
    Canada
    Posts
    499
    Quote Originally Posted by gijake
    tried that, dosen't work. also, would it matter if I am running in an evaluation copy of vista?
    It shouldn't. Go into your project's directory. There should be a build folder. Go in there, and see if there's a *.exe file somewhere.

  14. #14
    Registered User
    Join Date
    Mar 2005
    Posts
    13
    there is no bulid folder in the project folder. this is getting really frustraiting.

  15. #15
    carry on JaWiB's Avatar
    Join Date
    Feb 2003
    Location
    Seattle, WA
    Posts
    1,972
    Well, there should be a folder named "debug" (or possibly "release") that contains the exe. Have you tried starting from scratch, with a Win32 console program that you know should compile and run? (or is that what you did in the first place?)

    Edit: You should also try Build->Rebuild Solution if you haven't already
    "Think not but that I know these things; or think
    I know them not: not therefore am I short
    Of knowing what I ought."
    -John Milton, Paradise Regained (1671)

    "Work hard and it might happen."
    -XSquared

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. [ANN] New script engine (Basic sintax)
    By MKTMK in forum C++ Programming
    Replies: 1
    Last Post: 11-01-2005, 10:28 AM
  2. what are your thoughts on visual basic?
    By orion- in forum A Brief History of Cprogramming.com
    Replies: 16
    Last Post: 09-22-2005, 04:28 AM
  3. visual basic vs C or C++
    By FOOTOO in forum Windows Programming
    Replies: 5
    Last Post: 02-06-2005, 08:41 PM
  4. Basic Calc
    By Universe in forum C++ Programming
    Replies: 12
    Last Post: 07-17-2002, 10:07 PM