Results 1 to 9 of 9

Thread: Pictures and icons - Simple question

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Jul 2000
    Location
    Australia
    Posts
    69

    Talking

    This may seem a simple question...when you add an icon to a form or add a graphic to a picture box...if I compile the program and send it out are these icons and pictures stored in the app, or do you need the graphic/icon file sent with the app, and stored some wkere on their local file system?


    Regards


    Gerard
    Live long and prosper...

  2. #2
    Fanatic Member
    Join Date
    Feb 2000
    Location
    The Netherlands
    Posts
    715
    When you compile the app, the pictures will be stored in the exe.
    Oetje
    [email protected]
    93606776
    Visual Basic 6, Windows 2000

    Never pet a burning dog

  3. #3

    Thread Starter
    Lively Member
    Join Date
    Jul 2000
    Location
    Australia
    Posts
    69
    Great..thank you
    Live long and prosper...

  4. #4
    Fanatic Member
    Join Date
    Feb 2000
    Location
    The Netherlands
    Posts
    715
    If you use loadpicture to load a picture, you do need to send the file with the app.
    Oetje
    [email protected]
    93606776
    Visual Basic 6, Windows 2000

    Never pet a burning dog

  5. #5

    Thread Starter
    Lively Member
    Join Date
    Jul 2000
    Location
    Australia
    Posts
    69
    Is there a way to store avi files within the exe?
    Live long and prosper...

  6. #6
    Monday Morning Lunatic parksie's Avatar
    Join Date
    Mar 2000
    Location
    Mashin' on the motorway
    Posts
    8,169
    If you use a resource file and LoadResData, you should be able to. However, if it's larger than about a megabyte, it's usually better to keep it as a separate file.
    I refuse to tie my hands behind my back and hear somebody say "Bend Over, Boy, Because You Have It Coming To You".
    -- Linus Torvalds

  7. #7

    Thread Starter
    Lively Member
    Join Date
    Jul 2000
    Location
    Australia
    Posts
    69

    Talking

    The main avi file is about 3MB...you think this is to big to stick in a resource file..is there a perfomance hit or something?
    Live long and prosper...

  8. #8
    Monday Morning Lunatic parksie's Avatar
    Join Date
    Mar 2000
    Location
    Mashin' on the motorway
    Posts
    8,169
    Well, VB will have a hard time loading that amount of data. It will either be slow, or not work at all.

    However, you can always try and see what happens.
    I refuse to tie my hands behind my back and hear somebody say "Bend Over, Boy, Because You Have It Coming To You".
    -- Linus Torvalds

  9. #9

    Thread Starter
    Lively Member
    Join Date
    Jul 2000
    Location
    Australia
    Posts
    69

    Wink

    Thanks a lot for your help!!
    Live long and prosper...

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