Open Server's console font not working right - conemu

After installing OS 5.2.8 Ultimate, Everything works, except that the text font is white and the text size is the same.
Image with a problem:

Related

Internet explorer fails to display local image

I've created a bitmap image in C# and want to display this on a webpage on the local machine (so I can print it easily). The problem is, the Internet Explorer 9 does not display the image, it shows the "broken image" icon instead. Firefox has no problems with the image. I'm using Win7, 64 bit.
In order to narrow down the problem, I tried to just drag (from the file explorer) and drop the image file onto an empty browser window. Same thing: Firefox shows it, IE9 doesn't.
It gets even more weird: If I upload the file somewhere (see http://www.diebreuerei.de/Barcode.bmp), the IE9 does display it, it only doesn't if the file is stored locally.
Thanks in advance
Thanks for the answers, guys.
#Shannon: Nope, the console showed no errors.
#Michael: The Bitmap was directly created in C#, I dunno how to encode it in UTF-8.
But I got a solution: I just save my bitmap in PNG format and the IE9 is happy to display it. So I kinda lost interest in BMP :)
See ya,
Hannes

What's different about Screensaver preview in Windows 8?

I'm working on a simple WPF-based screensaver and can't get the thumbnail preview to work.
When you open the display control panel and go to configure the screensaver, the selected screensaver is supposed to display a thumbnail preview within the dialog:
I've found several good examples online of how to do this, including:
Writing a screen saver in WPF
WPF Screensaver (Codeplex)
CC Hearts Screen Saver
Following these examples, I couldn't get anything to work - the preview thumbnail turns black, but nothing else appears. Downloading each of these (and a few others) and running them had the same result - a blank preview thumbnail. I've done this before on Windows 7 and it wasn't hard, so I was a bit frustrated.
Copying the binaries across to a Windows XP machine, I found that each of them showed a preview thumbnail successfully.
So, there's something that's changed between Windows 7 and Windows 8.
What do I need to do differently to enable my WPF screensaver to properly display a thumbnail preview on Windows 8?
I've found the most common problems with moving code from Win 8 to Xp is permission and dependencies. Check that the files are not needing some weird permissions (not sure what permission the preview runs with) and that all dependencies are honoured (also their permissions).
If I remember right, all windows screen savers are just renamed exe files with command line arguments. Maybe try rename it and run it directly?
Check what version of the framework you are using and try to use the client profile if possible
Also Try this small workaround if helps:
In Windows Explorer Go to > Options > Change folder and search
options then click on the View tab and uncheck the box that
says Always show icons, never thumbnails.
I hope it should work.

WPF application shows "Image format is unrecognized "

I have a WPF application which runs fine on Windows 7 OS. But the same app crashes on a particular few Windows XP machines.
It runs fine on few windows XP machine. but on a few XP machine it fails to start.
ERROR - Image format is unrecognized.
I know this question has been asked few times. but my problem is i am still not able to figure out as to how to resolve this.
Should I change the .ico used for the application ..
Unfortunately, simply removing the 256x256 application isn't the greatest solution when you want to support the large icon size for Windows Vista, 7, 8 and forward.
Another way to solve this problem ... is to not compress the 256x256 image in the icon. See this forum thread for more info.
How does one do that? Well, most icon utilities will have an option for this (as this is a common problem). I use IcoFX and below you can see the option (highlighted in red) I needed to clear.
I've had a bit of fun with this problem this morning. It turned out that the error was occurring only on XP machines where the colour settings were set to 16 bit, and when I changed it to 32-bit the problem magically disappeared.
This goes for XP (including Embedded) SP3.
In your WPF application you will have at least two places to set icons:
The application icon. This is used for displaying the application in Explorer, desktop, etc. You set this in the project properties.
The window icon. This is used as icon in the upper-left corner of the window, and perhaps for alt-tabbing and on the taskbar. You set this as the Icon property on the window.
Often, you may use the same icon file in both cases. However, if you have a compressed 256x256 icon as window icon, then this can crash in Windows XP. This is what you are experiencing. On the other hand, this not the case when the application icon has a compressed 256x256 icon.
So another solution (which I implemented in all my projects) is to have two icons: The application icon (which contains all sizes) and a special "window icon" version, which only contains the sizes 16x16 and 32x32 (since those are the only sizes which are used).
If I remember correctly Windows XP does not support icons larger than 48x48 pixels and this could be the reason for the crash. .ico files should definitely run on both systems.
You can create an icon that support multiple sizes, so if you add 48x48 and for example 256x256 in the same file you should be good. Also be sure to use select a good software to produce the icon when making icons that support multiple sized. I've used Greenfish Icon Editor which I think works fine. But there are multitudes of other products for this.
Be sure to read The ICON handbook, section Windows, it contains good info about what icon sizes and bit depths to use.
Other threads on SO supports my belief:
problems with icon image
Which icon sizes should my Windows application's icon include?
Another workaround to (16/32bit resolution problem) is not to define icon in XAML, but load it in code:
this.Icon = new BitmapImage(new Uri("pack://application:,,,/UserInterface;component/Resources/Icons/ReportViewer.ico"));

Problem loading icon in WPF App when Windows is set to larger font size

I'm having a peculiar problem in a WPF-app I've written. It has a single window that loads a single user control after some user input which works perfectly fine for almost all users. Two users reported that the app crashed on launch which sent me investigating.
The culprit I found was that they had set the overall font size in Windows to "Extra large" under Display Properties. When I switched it back to "Normal" they could load the app just fine.
Since I can't post images here is a link to the image that shows where to set the font size if anyone wonders: http://content.screencast.com/users/CarloToribio/folders/Jing/media/f6791854-d6ad-4aae-a3f8-42e4140ad1aa/2010-07-26_1235.png
These users are old and have bad sight so they really need the "Extra large" font size to work with Windows so I need to solve this somehow. The icon that is being loaded is a .ico with several sizes from 16x16 up to 256x256.
Does anyone know what could affect this?
The problem seems to be related to the largest size of the icon (256x256) on Windows XP. I simply resaved my icon without the 256x256 image and the problem disappeared.

The Icon property in the Window is crashing the application in Windows XP SP2

Suppose I have this:
<Window stuff Icon="Resources\myicon.ico">
If I run the program on Windows 7, it's fine. If I run it on Windows XP SP2, it crashes. Removing the Icon property, it works fine on Windows XP, but then it doesn't have my myicon on the Windows 7 taskbar or on the Window.
Also, setting the application icon on the VS project menu doesn't work for W7, but works for XP. In summary:
<Icon> = broken XP, ok W7
No <Icon> = ok XP, ugly W7
VS project icon option = doesn't work for W7, ok XP
For the record, I created icons for 16x16, 22x22, etc up till 256x256 for 32, 24 and 8 bits. I also used IcoFX auto option of creating the .ico image for Windows XP.
Is there a way around this? Or do I have to choose between an ugly Windows 7(and Vista?) App or no Windows XP app?
XP does not support 256x256 icons. Remove the 256 icon for XP.
It has nothing to do with the resolution, but with the format: Windows XP can't handle PNG compressed icons in an ICO file. Normally only the bigger reolutions are compressed, mostly 256x256.
I used http://iconverticons.com/ to create ICO files and they also compress the 128x128 images using PNG.
To solve this, open your ICO file in Visual Studio and delete all versions of the icon in PNG format. Alternatively you can convert the PNG icons to BMP format with icoFx. Just disable compression in the options dialog and save your icon to a new file.
You can download IcoFx latest free version here: http://www.chip.de/downloads/IcoFX-letzte-Freeware-Version_28266149.html

Resources