|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Big Imagelist Out Of MemoryI 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 :) 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 <henrycorte***@gmail.com> schreef in bericht Show quoteHide quote news:1151235932.522899.22630@b68g2000cwa.googlegroups.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 :) > 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: Show quoteHide quote > 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 > > <henrycorte***@gmail.com> schreef in bericht > news:1151235932.522899.22630@b68g2000cwa.googlegroups.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 :) > > On 25 Jun 2006 04:45:32 -0700, henrycorte***@gmail.com wrote:
Show quoteHide quote >Hi, The ImageList Control was buggy in VS2003 and apparently still is in> 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 :) 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 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: Show quoteHide quote > On 25 Jun 2006 04:45:32 -0700, henrycorte***@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 On 25 Jun 2006 20:16:45 -0700, henrycorte***@gmail.com wrote:
>Hi Gene, Icons etc can always be embedded as a resource. > 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? > 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 Show quoteHide quote >Thanks, >Henry :) > >gene kelley wrote: >> On 25 Jun 2006 04:45:32 -0700, henrycorte***@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 Hi Gene,
Yup, actually just as storage so just to have one application file with everything embeded in it :) Thanks, Henry :) gene kelley wrote: Show quoteHide quote > On 25 Jun 2006 20:16:45 -0700, henrycorte***@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, henrycorte***@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 |
|||||||||||||||||||||||