469,272 Members | 1,432 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,272 developers. It's quick & easy.

Big Imagelist Out Of Memory

Hi,
I have a WinXPSP2, P4 3.2GHZ, 1GIG RAM on my dev machine using VS2005
VB.NET. I did the following procedure:

1. Added 82 icons (128x128 in size & 32bit Depth) in an imagelist
control
2. Save the project
3. Complied the project (successful)
4. Closed the project
5. Opened the project
6. VS2005 having a hard time loading the "Designer" view of the form
with the imagelist control
7. All of sudden VS2005 displays a lot of "Warnings" error, the 1st one
being "Out of Memory".

Why does this happen?

Thanks,
Henry :)

Jun 25 '06 #1
6 2769
Henry,

I don't know the answer, but the simplest way to try it to do the same again
with an empty project.

That is what I would do, it is not much work and than you know that it was
sure the reason of your error.

Cor

<he***********@gmail.com> schreef in bericht
news:11*********************@b68g2000cwa.googlegro ups.com...
Hi,
I have a WinXPSP2, P4 3.2GHZ, 1GIG RAM on my dev machine using VS2005
VB.NET. I did the following procedure:

1. Added 82 icons (128x128 in size & 32bit Depth) in an imagelist
control
2. Save the project
3. Complied the project (successful)
4. Closed the project
5. Opened the project
6. VS2005 having a hard time loading the "Designer" view of the form
with the imagelist control
7. All of sudden VS2005 displays a lot of "Warnings" error, the 1st one
being "Out of Memory".

Why does this happen?

Thanks,
Henry :)

Jun 25 '06 #2
On 25 Jun 2006 04:45:32 -0700, he***********@gmail.com wrote:
Hi,
I have a WinXPSP2, P4 3.2GHZ, 1GIG RAM on my dev machine using VS2005
VB.NET. I did the following procedure:

1. Added 82 icons (128x128 in size & 32bit Depth) in an imagelist
control
2. Save the project
3. Complied the project (successful)
4. Closed the project
5. Opened the project
6. VS2005 having a hard time loading the "Designer" view of the form
with the imagelist control
7. All of sudden VS2005 displays a lot of "Warnings" error, the 1st one
being "Out of Memory".

Why does this happen?

Thanks,
Henry :)


The ImageList Control was buggy in VS2003 and apparently still is in
VS2005. There was a particular known bug in a beta version of VS2005
regarding the implimentation of 32 bit icons in the ImageList under
Visual Styles. Supposedly fixed in the VS2005 release, but there are
apparently still issues as your problem has been reported by others. I
have had problems, here, with that control, but find that using the
ImageList Class rather than the component seems to work OK.

Gene
Jun 25 '06 #3
Hi Cor,
Yup, that's what exactly what I did, new project, first save, close,
open was okay, then 2nd and 3rd save, close, open resulted to out of
memory. I have yet to see something in MSDN or KBS on this matter.
Thanks though!!

Regards,
Henry :)
Cor Ligthert [MVP] wrote:
Henry,

I don't know the answer, but the simplest way to try it to do the same again
with an empty project.

That is what I would do, it is not much work and than you know that it was
sure the reason of your error.

Cor

<he***********@gmail.com> schreef in bericht
news:11*********************@b68g2000cwa.googlegro ups.com...
Hi,
I have a WinXPSP2, P4 3.2GHZ, 1GIG RAM on my dev machine using VS2005
VB.NET. I did the following procedure:

1. Added 82 icons (128x128 in size & 32bit Depth) in an imagelist
control
2. Save the project
3. Complied the project (successful)
4. Closed the project
5. Opened the project
6. VS2005 having a hard time loading the "Designer" view of the form
with the imagelist control
7. All of sudden VS2005 displays a lot of "Warnings" error, the 1st one
being "Out of Memory".

Why does this happen?

Thanks,
Henry :)


Jun 26 '06 #4
Hi Gene,
My goal is to embed all icons in the application, so that
distributing the app wont result to multiple icons in a folder.

Can I achieve this by using/programming with the Imagelist Class,
rather than using the component?

Thanks,
Henry :)

gene kelley wrote:
On 25 Jun 2006 04:45:32 -0700, he***********@gmail.com wrote:
Hi,
I have a WinXPSP2, P4 3.2GHZ, 1GIG RAM on my dev machine using VS2005
VB.NET. I did the following procedure:

1. Added 82 icons (128x128 in size & 32bit Depth) in an imagelist
control
2. Save the project
3. Complied the project (successful)
4. Closed the project
5. Opened the project
6. VS2005 having a hard time loading the "Designer" view of the form
with the imagelist control
7. All of sudden VS2005 displays a lot of "Warnings" error, the 1st one
being "Out of Memory".

Why does this happen?

Thanks,
Henry :)


The ImageList Control was buggy in VS2003 and apparently still is in
VS2005. There was a particular known bug in a beta version of VS2005
regarding the implimentation of 32 bit icons in the ImageList under
Visual Styles. Supposedly fixed in the VS2005 release, but there are
apparently still issues as your problem has been reported by others. I
have had problems, here, with that control, but find that using the
ImageList Class rather than the component seems to work OK.

Gene


Jun 26 '06 #5
On 25 Jun 2006 20:16:45 -0700, he***********@gmail.com wrote:
Hi Gene,
My goal is to embed all icons in the application, so that
distributing the app wont result to multiple icons in a folder.

Can I achieve this by using/programming with the Imagelist Class,
rather than using the component?

Icons etc can always be embedded as a resource.
Are you actually in need of ImageList funtionality, or was that just a
means of storage?

The last app I worked on used a ImageList Class for a TreeView
control. The ImageList icons are loaded from resources. Other icons in
the app are loaded directly as a resource. There was also a folder
with 60 icons. Depending on the results of a XML feed, one of those
60 icons is loaded directly into the app. I have had to problems with
distibuting and using a Folder for icons.

Gene
Thanks,
Henry :)

gene kelley wrote:
On 25 Jun 2006 04:45:32 -0700, he***********@gmail.com wrote:
>Hi,
> I have a WinXPSP2, P4 3.2GHZ, 1GIG RAM on my dev machine using VS2005
>VB.NET. I did the following procedure:
>
>1. Added 82 icons (128x128 in size & 32bit Depth) in an imagelist
>control
>2. Save the project
>3. Complied the project (successful)
>4. Closed the project
>5. Opened the project
>6. VS2005 having a hard time loading the "Designer" view of the form
>with the imagelist control
>7. All of sudden VS2005 displays a lot of "Warnings" error, the 1st one
>being "Out of Memory".
>
>Why does this happen?
>
>Thanks,
>Henry :)


The ImageList Control was buggy in VS2003 and apparently still is in
VS2005. There was a particular known bug in a beta version of VS2005
regarding the implimentation of 32 bit icons in the ImageList under
Visual Styles. Supposedly fixed in the VS2005 release, but there are
apparently still issues as your problem has been reported by others. I
have had problems, here, with that control, but find that using the
ImageList Class rather than the component seems to work OK.

Gene

Jun 26 '06 #6
Hi Gene,
Yup, actually just as storage so just to have one application file
with everything embeded in it :)
Thanks,
Henry :)

gene kelley wrote:
On 25 Jun 2006 20:16:45 -0700, he***********@gmail.com wrote:
Hi Gene,
My goal is to embed all icons in the application, so that
distributing the app wont result to multiple icons in a folder.

Can I achieve this by using/programming with the Imagelist Class,
rather than using the component?


Icons etc can always be embedded as a resource.
Are you actually in need of ImageList funtionality, or was that just a
means of storage?

The last app I worked on used a ImageList Class for a TreeView
control. The ImageList icons are loaded from resources. Other icons in
the app are loaded directly as a resource. There was also a folder
with 60 icons. Depending on the results of a XML feed, one of those
60 icons is loaded directly into the app. I have had to problems with
distibuting and using a Folder for icons.

Gene
Thanks,
Henry :)

gene kelley wrote:
On 25 Jun 2006 04:45:32 -0700, he***********@gmail.com wrote:

>Hi,
> I have a WinXPSP2, P4 3.2GHZ, 1GIG RAM on my dev machine using VS2005
>VB.NET. I did the following procedure:
>
>1. Added 82 icons (128x128 in size & 32bit Depth) in an imagelist
>control
>2. Save the project
>3. Complied the project (successful)
>4. Closed the project
>5. Opened the project
>6. VS2005 having a hard time loading the "Designer" view of the form
>with the imagelist control
>7. All of sudden VS2005 displays a lot of "Warnings" error, the 1st one
>being "Out of Memory".
>
>Why does this happen?
>
>Thanks,
>Henry :)

The ImageList Control was buggy in VS2003 and apparently still is in
VS2005. There was a particular known bug in a beta version of VS2005
regarding the implimentation of 32 bit icons in the ImageList under
Visual Styles. Supposedly fixed in the VS2005 release, but there are
apparently still issues as your problem has been reported by others. I
have had problems, here, with that control, but find that using the
ImageList Class rather than the component seems to work OK.

Gene


Jun 26 '06 #7

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

1 post views Thread by qushui_chen | last post: by
reply views Thread by Dave Harris | last post: by
reply views Thread by Bruno Zarokian | last post: by
2 posts views Thread by copyco | last post: by
6 posts views Thread by Stephen Costanzo | last post: by
2 posts views Thread by Michael Maes | last post: by
2 posts views Thread by =?Utf-8?B?S2VuTg==?= | last post: by
reply views Thread by suresh191 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.