@bobnoordam

Month: February 2020

Autosizing screen stops on VmWare Workstation for your linux guest

Sympton:Your display no longer autosizes for your Linux guest, running under VmWare workstation. Cause: This seems to be caused by a race condition where the open-vm-tools try to activate before the graphic environment is available. Resolution: Edit the configuration file for open-vm-tools, by running nano sudo /etc/systemd/system/multi-user.target.wants/open-vm-tools.service And add the following lines in the UNIT […]

Passing data to an SqlDataSource on a user control from code

This code snippet demonstrates how to programmaticaly set a parameter on a user control, and bind that paramter to an SqlDataSource that has been configured at design time. The key to this functioning is a method in the usercontrol that sets a private field on the user control, and triggerin the DataBind() event on the […]

Reduce an image with transparant background to the minimum required canvas

This static method reduces an image with a transparant background to the minimal canvas needed. This code is part of my graphics processing library (PDrawing) and is hereby donated to the public domain. This process is best performed in a pre-process or background processing way, since it may take several seconds to process a large […]

ASPxImageSlider – Resize slider for different devices

This code sample shows how to resize the ASPxImageSlider control for different devices and screen resizing. (thing rotating your tablet). The slider exposes a client side ID (ClientInstanceName = “imageSlider”) which can be hooked into with a little javascript. While this solves the basic problem, of having the slider react to different screen sizes, you […]

GPO – Switch of the option to store password for rdp sessions

Storing the password for RDP sessions is a bane for any administrator that manages remote users, Here is how to disable the option to store the rdp password thgrough a group policy object. – User Configuration + Administrative Templates + Windows Components + Remote Desktop Services Select Remote desktop connection client Enable the policy named: […]

GPO – Allow or disallow UDP for Remote Desktop sessions

Recent versions of the rdp protocol (since v8) are capable of using TCP and/or UDP for connections. USP can be an improvement on low quality networks, but it can also greatly hamper other UDP based services on busy networks. I have also see it cause problems in connecting and disconnecting when using confused routers or […]

Next Page » « Previous Page