闲暇、偶然,杂乱、零碎、等等

『特注:此博客以转贴为主,大部分文章来自网络搜索,如果涉及版权,请及时告知,博主会及时撤下内容。』

2009年2月19日星期四

Virtual PC 控制台无法显示问题的解决办法

这个问题发生的原因如下:
大家可以在 %APPDATA%\Microsoft\Virtual PC 下面找到这个文件:Options.xml
这个文件是Virtual PC用来记录各个选项和设置信息的。其中有这么一段:


    <window>
        <console>
            <height type="integer">24</height>
            <left_position type="integer">4294935296</left_position>
            <top_position type="integer">4294935296</top_position>
            <visible type="boolean">true</visible>
            <width type="integer">160</width>
        </console>
        <new_pc>
            <left_position type="integer">481</left_position>
            <top_position type="integer">456</top_position>
        </new_pc>
    </window>




console记录了控制台窗口的大小和位置,应该是下次启动时恢复窗口位置时用的。
height :高度;
left_position和top_position:左上顶点的坐标;
width:宽度。

当你不小心将Virtual PC的窗口拖到屏幕以外的时候,left_position和top_position就会变为负值,比如上面的4294935296。本来大部分软件在得到这些不可能值的时候,都回恢复到一个默认值(比如0,0),但是不知道
为什么Virtual PC偷懒没这么做(微软对免费软件都不怎么用心),就导致了下次启动的时候控制台窗口就到了屏幕的外面。

解决办法:
1.将left_position和top_position改回正常值,例如100,100。
2.删除Options.xml,Virtual PC会重建这个文件。
3.网上的偏方:右键点任务栏里的Virtual PC,然后点移动,然后,注意,用键盘的上下左右按键移动窗口,直到看见为止。

没有评论:

发表评论

愿与大家多交流分享。芸芸众生,相识即缘。。。 ^_^