How to load resorces of a form that is not loaded
- From: "Eduardo" <mm@xxxxxx>
- Date: Mon, 6 Oct 2008 19:39:04 -0300
I want to load the resources of a form without loading the form.
For example: The project has two forms: Form1 and Form2. Form1 is the
startup form.
Form2 has a picturebox with an image loaded in its Picture property.
At design time the data of that image is stored in the Form2.frx file. At
runtime it is stored in the exe file.
The project run, Form1 is loaded (but form2 isn't). I want to be able to
load in Form1 (may be in another picturebox that is in Form1) the image of
Form2.Picture1.Picture without loading Form2.
At least, I want to do that when the program is compiled. At design time I
could manage my situation in another way. If can can do that at run time and
also at design time, the better.
Why I need that? I'll explain it later, or you can read this discussion
here:
http://tinyurl.com/3kccaw
Thanks.
.
- Follow-Ups:
- Re: How to load resorces of a form that is not loaded
- From: Randy Birch
- Re: How to load resorces of a form that is not loaded
- From: Eduardo
- Re: How to load resorces of a form that is not loaded
- From: MikeD
- Re: How to load resorces of a form that is not loaded
- Prev by Date: Re: stop Gettickcount stopping
- Next by Date: Re: How do I create an new instance of a form using name in variable?
- Previous by thread: stop Gettickcount stopping
- Next by thread: Re: How to load resorces of a form that is not loaded
- Index(es):
Relevant Pages
|