How to copy a form without losing ImageList



I want to move the location of a form from one directory to another. I copy
both the .frm and the .frx files. When I open the copied form all the
images in the imagelist are lost and appear as black squares. In fact this
has happened before in other contexts.

Why does this happen? and what should I do to prevent it. Given there are
around 40 images, it's really boring to have to load them all in again.

Dave


.



Relevant Pages

  • Re: Duplicate forms
    ... (frm and frx files) ... replace all occurrences of the original form name with your new form name ... FormXYZ then replace all occurrences of FormABC with FormXYZ). ...
    (microsoft.public.vb.general.discussion)
  • Re: Source of EXE Size
    ... What is the total size of all FRX files? ... there is no benefit from putting the images in a DLL. ... where they can be retrieved by the exe file on startup? ...
    (microsoft.public.vb.general.discussion)
  • Re: UserForm created in Outlook 2000 wont import to 2002
    ... The .frm and .frx files created when you exported the userform, ... >> Sue Mosher, Outlook MVP ...
    (microsoft.public.outlook.program_vba)
  • Re: Source of EXE Size
    ... > that, sort by type in detail view, and select all FRX files. ... there is no benefit from putting the images in a DLL. ... >> DLL, where they can be retrieved by the exe file on startup? ...
    (microsoft.public.vb.general.discussion)
  • Re: Is frx VB5 format ?
    ... I am trying to open some project by VB6 but failed to load form. ... This project has frx files and on the top of frm source write VERSION 5#. ... VB6 should open vb5 files without even asking to upgrade I ...
    (microsoft.public.vb.general.discussion)