Posts

Showing posts from July, 2020

Determine what version of Java is installed on Windows machines on your network

Image
You can use XIA Configuration Server to determine what version of Java is installed on Windows machines on your network. The version of Java can be seen in control panel: This information can be queried easily using XIA Configuration Server , simply Go to Browse Reports and select Windows Machine Reports > Software Reports > Software Installation Summary Report Enter Oracle Corporation as the Publisher Enter %Java% as the Name Click the Execute button

Icons corrupt, lose resolution, or quality in Winforms (Windows Forms) ListViews and TreeViews when using the ImageList control.

Image
WinForms is still alive and well, perhaps not too well given the number of issues that crop up in these rather old controls. Whilst most user interface work is now carried out on a web platform you may still have applications written in Windows Forms for the .NET Framework. One issue we've recently encountered was with the ListView and TreeView controls displaying icons in a substandard fashion either corrupting the icons or generally lowering the quality. Whilst this can be seen in the ListView or TreeView controls the issue is actually with the ImageList control which can lower the quality of images when serializing them. Zooming in to a corrupted image and the exact same image that hasn't been corrupted by the image list the difference is clear. The workaround to the issue is to store the images in a resource file You can then load the images into the image list from the resource file dynamically when the form is loaded so that the ImageList never has to serialize them. You