Thread: I don't know how to really ask this but in short I am trying to make a Slide Show....

  1. #16
    Registered /usr
    Join Date
    Aug 2001
    Location
    Newport, South Wales, UK
    Posts
    1,273
    Ah, that looks like managed C++ (.NET), which I don't know anything about, sorry.

    My suggestions were based around C/simple C++ programming. Rest assured that there's probably a really easy way to load bitmaps into your PictureBox, but I don't know it.

    Someone else should be able to help you now that they know exactly what flavour programming you're using, though.

  2. #17
    Registered User
    Join Date
    Jun 2005
    Posts
    131
    Quote Originally Posted by SMurf
    Ah, that looks like managed C++ (.NET), which I don't know anything about, sorry.
    Sorry for not mentioning that and thanks again for your help....

  3. #18
    Skunkmeister Stoned_Coder's Avatar
    Join Date
    Aug 2001
    Posts
    2,572
    for gods sake use gdi+ especially if you are using managed c++. GDI+ has an image class for handling jpegs and bitmaps and several other formats. All you need is some window creation code, a simple timer,and GDI+. Shouldnt take longer than an hour or two at most.
    Free the weed!! Class B to class C is not good enough!!
    And the FAQ is here :- http://faq.cprogramming.com/cgi-bin/smartfaq.cgi

  4. #19
    train spotter
    Join Date
    Aug 2001
    Location
    near a computer
    Posts
    3,868
    Your making this harder than it needs to be.
    Look at the resource editor. Will allow you to construct a dialog so no need to create on the fly.

    Can be modal so simple to call with DoModal() or dialog based app.

    MFC would set up the background processing and you would just have to add the code to change the image (shown above).

    A timer msg can be used to trigger the change in images. or if the user pushes a button.



    for a folder off the working folder use..

    ".\\Images\\ImageNumberOne.bmp"
    "Man alone suffers so excruciatingly in the world that he was compelled to invent laughter."
    Friedrich Nietzsche

    "I spent a lot of my money on booze, birds and fast cars......the rest I squandered."
    George Best

    "If you are going through hell....keep going."
    Winston Churchill

  5. #20
    the hat of redundancy hat nvoigt's Avatar
    Join Date
    Aug 2001
    Location
    Hannover, Germany
    Posts
    3,130
    First you should decide what Programming Language to use. Right now you are using Managed C++. You can not compile this to an executable that will run as a standalone from a CD. You will always need the .NET Framework installed on the target PC. On the plus side, it's way easier to develop in .NET.

    Do you want a .NET ( managed C++ in this case ) application, or do you need a standalone version in C++ that can run on any machine from CD ?

    In Managed C++ you can use a derivate of the Image class to load images. Perhaps Bitmap will work. You can then assign the Bitmap object to your picturebox's Image/Picture property.
    hth
    -nv

    She was so Blonde, she spent 20 minutes looking at the orange juice can because it said "Concentrate."

    When in doubt, read the FAQ.
    Then ask a smart question.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Make a dialog show up
    By guitarist809 in forum Windows Programming
    Replies: 4
    Last Post: 05-04-2008, 01:08 AM
  2. unable to recieve UDP packet
    By caroundw5h in forum Networking/Device Communication
    Replies: 15
    Last Post: 09-19-2007, 11:11 AM
  3. trying to make a KenGen ( for a game tool )
    By lonewolfy in forum C# Programming
    Replies: 4
    Last Post: 03-28-2007, 08:23 AM
  4. how to make a windows application
    By crvenkapa in forum C++ Programming
    Replies: 3
    Last Post: 03-26-2007, 09:59 AM
  5. 'functions' in make?
    By mart_man00 in forum C Programming
    Replies: 1
    Last Post: 06-21-2003, 02:16 PM