![]() |
![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
| Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks. |
| |||||||
![]() |
| |
| | #1 (permalink) |
| | Not enough storage space to process the command - Resizing Picture box As part of a program I'm writing, I have a picture box, loaded up with an image. The picture box is set to automatically size the image in it to fit the bounds of the picture box. The picture box sits inside another container. To pan the image, I'm adjusting the left/right properties of the image. To zoom the image, I'm adjusting the height and width. The problem comes, when I zoom past a certain point (haven't figured out exactly what point yet), I get the error "Not enough storage space to process the command". I'm fine with having limited zoom capability, but I obviously need to set some kind of maximum height/width on the picture box so that I don't generate this error. Anyone know what the magic number would be? Or how to determine it (hopefully not the brute force approach)? Dale |
My System Specs![]() |
| | #2 (permalink) |
| | Re: Not enough storage space to process the command - Resizing Picture box Dale, Can you inform us how much memory is installed on your computer what type of OS include bit version etc. Cor |
My System Specs![]() |
| | #3 (permalink) |
| | Re: Not enough storage space to process the command - Resizing Picture box "Cor Ligthert[MVP]" <Notmyfirstname@xxxxxx> wrote in message Quote: > Dale, > > Can you inform us how much memory is installed on your computer what type > of OS include bit version etc. > > Cor term), my system has 3GB of physical RAM running Windows Vista 32bit (Business Edition). Currently the page file is set to 6GB. Tons of free hard drive space Dale |
My System Specs![]() |
| | #4 (permalink) |
| | Re: Not enough storage space to process the command - Resizing Picture box So you have 2Gb usable memory, and the image you are using is????? That is the max of a 32Bit system to use direct. Cor "Dale Atkin" <labrador1@xxxxxx> wrote in message news:%237bWmV1zJHA.5964@xxxxxx Quote: > > "Cor Ligthert[MVP]" <Notmyfirstname@xxxxxx> wrote in message Quote: >> Dale, >> >> Can you inform us how much memory is installed on your computer what type >> of OS include bit version etc. >> >> Cor > While its not going to be just my computer this is running on (in the long > term), my system has 3GB of physical RAM running Windows Vista 32bit > (Business Edition). Currently the page file is set to 6GB. Tons of free > hard drive space > > Dale > |
My System Specs![]() |
| | #5 (permalink) |
| | Re: Not enough storage space to process the command - Resizing Picture box The image is (roughly) a 4MB JPEG. (I don't think RAM is the issue here) Dale "Cor Ligthert[MVP]" <Notmyfirstname@xxxxxx> wrote in message news:ObOoBg6zJHA.436@xxxxxx Quote: > So you have 2Gb usable memory, and the image you are using is????? > > That is the max of a 32Bit system to use direct. > > Cor > > "Dale Atkin" <labrador1@xxxxxx> wrote in message > news:%237bWmV1zJHA.5964@xxxxxx Quote: >> >> "Cor Ligthert[MVP]" <Notmyfirstname@xxxxxx> wrote in message Quote: >>> Dale, >>> >>> Can you inform us how much memory is installed on your computer what >>> type of OS include bit version etc. >>> >>> Cor >> While its not going to be just my computer this is running on (in the >> long term), my system has 3GB of physical RAM running Windows Vista 32bit >> (Business Edition). Currently the page file is set to 6GB. Tons of free >> hard drive space >> >> Dale >> |
My System Specs![]() |
| | #6 (permalink) |
| | Re: Not enough storage space to process the command - Resizing Picture box Dan, You write: "The picture box sits inside another container". For you this is probably clear, for others this is complete dust, I don't know if somebody can help you, but I think that you should make this part cleaner. I 've searched Google and I see a lot of unresolved forums questions about this. Cor "Dale Atkin" <labrador1@xxxxxx> wrote in message news:%23tpUO2B0JHA.1432@xxxxxx Quote: > The image is (roughly) a 4MB JPEG. (I don't think RAM is the issue here) > > Dale > > "Cor Ligthert[MVP]" <Notmyfirstname@xxxxxx> wrote in message > news:ObOoBg6zJHA.436@xxxxxx Quote: >> So you have 2Gb usable memory, and the image you are using is????? >> >> That is the max of a 32Bit system to use direct. >> >> Cor >> >> "Dale Atkin" <labrador1@xxxxxx> wrote in message >> news:%237bWmV1zJHA.5964@xxxxxx Quote: >>> >>> "Cor Ligthert[MVP]" <Notmyfirstname@xxxxxx> wrote in message >>>> Dale, >>>> >>>> Can you inform us how much memory is installed on your computer what >>>> type of OS include bit version etc. >>>> >>>> Cor >>> >>> While its not going to be just my computer this is running on (in the >>> long term), my system has 3GB of physical RAM running Windows Vista >>> 32bit (Business Edition). Currently the page file is set to 6GB. Tons of >>> free hard drive space >>> >>> Dale >>> |
My System Specs![]() |
| | #7 (permalink) |
| | Re: Not enough storage space to process the command - Resizing Picture box "Cor Ligthert[MVP]" <Notmyfirstname@xxxxxx Quote: > Dale, > > You write: "The picture box sits inside another container". > > For you this is probably clear, for others this is complete dust, I don't > know if somebody can help you, but I think that you should make this part > cleaner. isn't the current paradigm (I'm coming from VB6...) As an example, a "TabControl" is a container, as is a picture box. Basically anything that has its own coordinate system is a container. In this particular case, I'm using the 'split container' control, and then I have a picture box control on the 'split container'. I move around the picture box within the coordinate space of the split container to show different piece of the picture at various zoom levels. I don't think this is particularly relevant to the problem at hand, which is why I didn't go in to detail on it. Dale |
My System Specs![]() |
| | #8 (permalink) |
| | Re: Not enough storage space to process the command - Resizing Picture box Dale, I thought that you had your images in a kind of extra class and that you wrote that the picturebox was sitting on that. However, I don't think we can see it. In your case I would put two labels on my screen where I displayed the width and the height all the time. I never saw your problem in the newsgroups. Cor "Dale Atkin" <labrador1@xxxxxx> wrote in message news:Ox%233ccb0JHA.5924@xxxxxx Quote: > > "Cor Ligthert[MVP]" <Notmyfirstname@xxxxxx Quote: >> Dale, >> >> You write: "The picture box sits inside another container". >> >> For you this is probably clear, for others this is complete dust, I don't >> know if somebody can help you, but I think that you should make this part >> cleaner. > A container, being a control that 'contains' other controls. Maybe that > isn't the current paradigm (I'm coming from VB6...) > > As an example, a "TabControl" is a container, as is a picture box. > Basically anything that has its own coordinate system is a container. In > this particular case, I'm using the 'split container' control, and then I > have a picture box control on the 'split container'. > > I move around the picture box within the coordinate space of the split > container to show different piece of the picture at various zoom levels. > > I don't think this is particularly relevant to the problem at hand, which > is why I didn't go in to detail on it. > > Dale |
My System Specs![]() |
![]() |
| Thread Tools | |
| |
Similar Threads | ||||
| Thread | Forum | |||
| Vista and XP Sharing: Not enough server storage is available to process this command | Vista networking & sharing | |||
| Not enough storage is available to process this command | VB Script | |||
| "Not enough server storage is available to process this command" error | Vista General | |||
| Not enough storage is available to process command | Vista installation & setup | |||
| Not Enough server storage is available to process this command | Vista General | |||