I am using Windows XP os. When i try to add image (which has size of 22.8 MB) in form's background it shows error like
我正在使用Windows XP操作系统。当我尝试在窗体的背景中添加图像(大小为22.8 MB)时,它显示错误
'token endelement in state error would result in an invalid xml document'
'状态错误中的令牌功能会导致无效的xml文档'
before running the form...but in Windows 7 it works fine... can anyone help me to solve this problem in Win XP...
在运行表单之前...但在Windows 7中它运行正常...任何人都可以帮我解决Win XP中的这个问题...
1 个解决方案
#1
0
You might have to increase the virtual memory on the XP Machine...
您可能需要增加XP机器上的虚拟内存...
- Click Start, and then click Control Panel.
- Click Performance and Maintenance, and then click System.
- On the Advanced tab, under Performance, click Settings.
- On the Advanced tab, under Virtual memory, click Change.
- Under Drive [Volume Label], click the drive that contains the paging file that you want to change.
- Under Paging file size for selected drive, click to Custom size check box. You can enter the amount of memory you would like to reserve for Virtual memory by entering the initial and maximum size.
- Click Set When you are prompted to restart the computer, click Yes. Special Note: You should choose the same amount for the initial size and maximum size. This will Stop your CPU from constantly changing the paging file.
单击“开始”,然后单击“控制面板”。
单击“性能和维护”,然后单击“系统”。
在“高级”选项卡的“性能”下,单击“设置”。
在“高级”选项卡的“虚拟内存”下,单击“更改”。
在“驱动器[卷标”]下,单击包含要更改的页面文件的驱动器。
在所选驱动器的分页文件大小下,单击“自定义大小”复选框。您可以通过输入初始大小和最大大小来输入要为虚拟内存保留的内存量。
单击“设置”提示您重新启动计算机时,单击“是”。特别注意:您应该为初始尺寸和最大尺寸选择相同的数量。这将阻止CPU不断更改页面文件。
If this doesn't work, use the applications resources to add your image into the project...
如果这不起作用,请使用应用程序资源将图像添加到项目中...
Thanks!
#1
0
You might have to increase the virtual memory on the XP Machine...
您可能需要增加XP机器上的虚拟内存...
- Click Start, and then click Control Panel.
- Click Performance and Maintenance, and then click System.
- On the Advanced tab, under Performance, click Settings.
- On the Advanced tab, under Virtual memory, click Change.
- Under Drive [Volume Label], click the drive that contains the paging file that you want to change.
- Under Paging file size for selected drive, click to Custom size check box. You can enter the amount of memory you would like to reserve for Virtual memory by entering the initial and maximum size.
- Click Set When you are prompted to restart the computer, click Yes. Special Note: You should choose the same amount for the initial size and maximum size. This will Stop your CPU from constantly changing the paging file.
单击“开始”,然后单击“控制面板”。
单击“性能和维护”,然后单击“系统”。
在“高级”选项卡的“性能”下,单击“设置”。
在“高级”选项卡的“虚拟内存”下,单击“更改”。
在“驱动器[卷标”]下,单击包含要更改的页面文件的驱动器。
在所选驱动器的分页文件大小下,单击“自定义大小”复选框。您可以通过输入初始大小和最大大小来输入要为虚拟内存保留的内存量。
单击“设置”提示您重新启动计算机时,单击“是”。特别注意:您应该为初始尺寸和最大尺寸选择相同的数量。这将阻止CPU不断更改页面文件。
If this doesn't work, use the applications resources to add your image into the project...
如果这不起作用,请使用应用程序资源将图像添加到项目中...
Thanks!