Error: "Not enough storage is available to pricess this command" in Windows XP and Delphi 2007
Hi,
I encounter error "Not enough storage is available to pricess this
command" when preview report in Windows XP. I have created a prototype
that shows the problem.
The problem only happen in Windows XP. My screen resolution is
1920x1080. It works fine on Windows 7.
Please follow the steps to replay the error:
1. Create a VCL Form Application
2. Drop TppReport component on Form.
3. Change the TppReport setting:
- Unit Measurement: millimeters
- Page Height: 35mm
- Page Width: 25mm
4. Drop a TButton on Form, and write OnClick event:
ppReport1.PreviewFormSettings.WindowState := wsMaximized;
ppReport1.DeviceType := 'Screen';
ppReport1.Print;
5. Compile the application in Delphi 2007
6. Run the application in Windows XP with screen resolution 1920 x 1080
7. Press Button1 to and the error "Not enough storage is available to
pricess this command" prompt.
--
Best regards,
Chau Chee Yang
I encounter error "Not enough storage is available to pricess this
command" when preview report in Windows XP. I have created a prototype
that shows the problem.
The problem only happen in Windows XP. My screen resolution is
1920x1080. It works fine on Windows 7.
Please follow the steps to replay the error:
1. Create a VCL Form Application
2. Drop TppReport component on Form.
3. Change the TppReport setting:
- Unit Measurement: millimeters
- Page Height: 35mm
- Page Width: 25mm
4. Drop a TButton on Form, and write OnClick event:
ppReport1.PreviewFormSettings.WindowState := wsMaximized;
ppReport1.DeviceType := 'Screen';
ppReport1.Print;
5. Compile the application in Delphi 2007
6. Run the application in Windows XP with screen resolution 1920 x 1080
7. Press Button1 to and the error "Not enough storage is available to
pricess this command" prompt.
--
Best regards,
Chau Chee Yang
This discussion has been closed.
Comments
Which version of ReportBuilder are you using? If you are using RB
14.04, we may have a patch that could solve this problem. Send an email
to support@digital-metaphors.com requesting the patch.
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com