need help with description

Discussion in 'Programming & Scripting' started by TylerBrough123, Aug 9, 2012.

  1. TylerBrough123 Enthusiast

    Message Count:
    163
    Likes Received:
    13
    okay this is probs simple but i want to put a description for a program like this

    [IMG]
    let me know thanks :D
  2. ActionScript XG R4PiDzZ

    Message Count:
    2,433
    Likes Received:
    730




    I'm guessing you're using VS .Net.

    Click on your project name in Solution Explorer, and then press Alt+Enter. Click Assembly Information on the right, then edit the properties in the dialog.

    [IMG]

    Ignore my assembly name, it's a project for college.
  3. TylerBrough123 Enthusiast

    Message Count:
    163
    Likes Received:
    13
    no its in visual c++ 2008
    • Diet Moderator

    GoldBl4d3 Diet Moderator

    Message Count:
    3,006
    Likes Received:
    745



    When he said VS .net. It means Visual Studios. VB, C#, and C++ are all part of it. So it is that. With your project open. On the main menu bar, go to Project->Properties. Thats where it all is. Then follow the rest of what ActionScript said.
  4. amd42 Experienced Member

    Message Count:
    573
    Likes Received:
    342
    Nope, Visual C++ projects have a completely different Properties window which doesn't have any options for editing version information.

    TylerBrough123, there are two different ways of doing this for a C++ project:
    • If you have at least the Professional version of Visual Studio, then right-click on your project name, go to Add -> New Item, and then look around for "Resource File (.rc)." Open the file you just created, right-click in the side pane, and select "Add Resource." Select "Version" and then click "New." It will present you with an editor where you can fill in the version information for your project.
    • If you have the Express edition of Visual C++, then add a new Resource file to your project in the same way as above, but instead of opening the resource editor on it (which isn't available in the Express edition), right-click it and select View Code. Paste this into it and fill in your information:
      Code:
      VS_VERSION_INFO VERSIONINFO
      FILEVERSION 1,0,0,0
      PRODUCTVERSION 1,0,0,0
      FILEFLAGSMASK 0x3fL
      #ifdef _DEBUG
      FILEFLAGS 0x1L
      #else
      FILEFLAGS 0x0L
      #endif
      FILEOS 0x40004L
      FILETYPE 0x2L
      FILESUBTYPE 0x0L
      BEGIN
          BLOCK "StringFileInfo"
          BEGIN
              BLOCK "040904b0"
              BEGIN
                  VALUE "CompanyName", "TODO: <Company name>"
                  VALUE "FileDescription", "TODO: <File description>"
                  VALUE "FileVersion", "1.0.0.0"
                  VALUE "InternalName", "TODO: <Filename>"
                  VALUE "LegalCopyright", "Copyright (C) 2012"
                  VALUE "OriginalFilename", "TODO: <Filename>"
                  VALUE "ProductName", "TODO: <Product name>"
                  VALUE "ProductVersion", "1.0.0.0"
              END
          END
          BLOCK "VarFileInfo"
          BEGIN
              VALUE "Translation", 0x409, 1200
          END
      END
    Rebuild your program and that should hopefully do the trick.
    TylerBrough123 likes this.
  5. TylerBrough123 Enthusiast

    Message Count:
    163
    Likes Received:
    13
    Show Spoiler


    do i give you $1,000,000 now or when i have it :D thanks for this really appreciate it thanks again man :D
    • Diet Moderator

    GoldBl4d3 Diet Moderator

    Message Count:
    3,006
    Likes Received:
    745



    Haha, oh, i figured it was standard of Visual Studios. But nice.