i just wanted to specify a script to run .. therefore i often type in a path from where on i click my way to the file i want to open
i entered "c:\programme\" and then the "..."-button .. i expected the popup would open that folder .. but i got the following error
InvalidOperationException - c:\programme\ ist ein ungültiger Dateiname.
bei System.Windows.Forms.OpenFileDialog.RunFileDialog(OPENFILENAME_I ofn)
bei System.Windows.Forms.FileDialog.RunDialogOld(IntPtr hWndOwner)
bei System.Windows.Forms.FileDialog.RunDialog(IntPtr hWndOwner)
bei System.Windows.Forms.CommonDialog.ShowDialog(IWin32Window owner)
bei System.Windows.Forms.CommonDialog.ShowDialog()
bei Devolutions.RemoteDesktopManager.Business.GuiHelper.OpenFile(String aFilter, String aDefaultFileName, String aInitialDirectory, Boolean aCheckFileExists)
bei Devolutions.RemoteDesktopManager.Forms.FrmConnection.butEnableBeforeConnectionScript_Click(Object sender, EventArgs e)
bei System.Windows.Forms.Control.OnClick(EventArgs e)
bei System.Windows.Forms.Button.OnClick(EventArgs e)
bei System.Windows.Forms.ButtonBase.OnKeyUp(KeyEventArgs kevent)
bei System.Windows.Forms.Control.ProcessKeyEventArgs(Message& m)
bei System.Windows.Forms.Control.ProcessKeyMessage(Message& m)
bei System.Windows.Forms.Control.WmKeyChar(Message& m)
bei System.Windows.Forms.Control.WndProc(Message& m)
bei System.Windows.Forms.ButtonBase.WndProc(Message& m)
bei System.Windows.Forms.Button.WndProc(Message& m)
bei System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
bei System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
bei System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
a "standard"-behaviour of other applications is that if the path exists it opens it .. if it does not exist a default-path is opened ...
could you please fix that?
KR
plague
Hi,
Yes it's an easy fix
David Hervieux
Devolutions inc.
David Hervieux
Hi,
It's weird, I don't get the crash when the directory does not exists, what OS do you use ?
David Hervieux
Devolutions inc.
David Hervieux
hi,
i'm using XP SP3
if you enter e.g. "C:\foobar" you don't get the crash
if you enter e.g. "C:\foobar[/b]" you do get the crash .. and it doesn't matter if the folder "foobar" exists or not
RDM also crashes when entering it e.g. at the VPN-tab in the "Phone book" textfield and click on "..."
so it seems to be a general issue wherever you have a textfield for entering a file and teh "..."-button
KR
plague
Hi,
I'm unable to reproduce it, but can you try this version:
http://remotedesktopmanager.com/download/Devolutions.RemoteDesktopManager.Bin.5.6.3.0.zip
David Hervieux
Devolutions inc.
David Hervieux
this is fixed in 5.6.3.0
Thanks!
plague
Good,
I will try to fix the other one from your video.
David Hervieux
Devolutions inc.
David Hervieux