Icon Import Error

avatar

I was trying to find D-Link icons and I wasn't able to find one quickly so I found a generic wifi router icon which was 98kb and when trying to add it as a selectable icon in RDM I received the below error:

ArgumentNullException - Value cannot be null.
Parameter name: encoder
at System.Drawing.Image.Save(Stream stream, ImageCodecInfo encoder, EncoderParameters encoderParams)
at System.Drawing.Image.Save(Stream stream, ImageFormat format)
at Devolutions.RemoteDesktopManager.Forms.FrmSelectCustomImage.GetImageBytes(Image bitmap)
at Devolutions.RemoteDesktopManager.Forms.FrmSelectCustomImage.AddImage(String fileName)
at Devolutions.RemoteDesktopManager.Forms.FrmSelectCustomImage.butSelectNewImageFromDisk_Click(Object sender, EventArgs e)
at System.Windows.Forms.Control.OnClick(EventArgs e)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.Label.WndProc(Message& m)
at System.Windows.Forms.LinkLabel.WndProc(Message& msg)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

Please advise if external icons are not permited at this point.

I also noticed that the icons changed as well while the session is open when moved to a different location. I created two new sessions (Embedded) and while they were both open I created a group and moved them both into the new group via drag and drop. The icons changed when the move completed. So I moved them back to their orginal location and the icons changed to "open session or play" icon.
edited by fvigo1128 on 12/16/2012
edited by fvigo1128 on 12/16/2012

All Comments (5)

avatar

Hi,
Have you tried the version 8.0.10? I've made a fix that could be the source of this problem.

David Hervieux

avatar

Hi,
I have verified and the ico are not supported. I will verified if I can add this

David Hervieux

avatar

I have tried 8.0.10.0 as that was the version I am running which produced the error.

avatar

Hi,
I have updated the zip file with a new beta release. It the same version number but a new build. I've made a fix for this:

http://remotedesktopmanager.com/download/Devolutions.RemoteDesktopManager.Bin.8.0.10.0.zip

David Hervieux

avatar

David,

That worked as I am now able to use icon files and have it available for future new or existing sessions, thanks!

Felix.