Results 1 to 5 of 5

Thread: is it possible to put a avi or a gif file all in one exe file like how c++ do but in

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Jul 1999
    Posts
    219

    Post

    is it possible to put a avi or a gif file all in one exe file like how c++ do but in vb i heard you can how can i ??

  2. #2
    Conquistador
    Join Date
    Dec 1999
    Location
    Australia
    Posts
    4,527

    Post

    i think you can either, just add it, and it stays, or add it into "User Documents"

  3. #3
    Guest

    Post

    No, no, no, children.

    Gifs can just be put in pictureboxes or image controls.
    AVIs and other stuff need to be put in a resource file or loaded from an external file.

  4. #4
    Hyperactive Member
    Join Date
    Jan 2000
    Posts
    355

    Post

    yeah, remember:

    if you put it in a picbox or .res file, it goes in the exe
    if you load it with code, ie.
    pic1.picture = loadpicture(app.path & "\me.bmp")
    then it doesnt go in the exe and you have to distribute the file with your prog. The more stuff you have in your exe, the slower it is, remember
    buzzwords are the language of fools

  5. #5
    Serge's Avatar
    Join Date
    Feb 1999
    Location
    Scottsdale, Arizona, USA
    Posts
    2,744

    Post

    Check out the Code Snippet I've posted fro the similar question.

Posting Permissions

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



Click Here to Expand Forum to Full Width