Display error of FolderBrowserDialog on Windows Server 2008
-
Hi All, I have a problem with the FolderBrowserControl. When I use the FolderBrowserDialog in my application on a Windows Server 2008 system a strange behaviour can be recognized. If I open the dialog the first time it is displayed the way it should. When I open it a second time, the tree control looks different. The plus signs aren't displayed any longer. Instead only blank squares are displayed (Sorry for not attaching a picture. But I don't have a server where I could put it...) This behaviour can't be reproduced on Windows XP, it only occurs on Windows Server 2008 systems. The control is created in a separate class and is opend from a grid. //as special folder the desctop is used public MyControl(Environment.SpecialFolder folder, bool createFolder) { m_IsModified = false; m_FolderBrowser = new WinForms.FolderBrowserDialog(); m_FolderBrowser.ShowNewFolderButton = createFolder; } //this method is executed from the grid public WinForms.DialogResult ShowDialog(WinForms.IWin32Window window) { WinForms.DialogResult ret = m_FolderBrowser.ShowDialog(window); m_IsModified = (ret == WinForms.DialogResult.OK); return ret; } public void Dispose() { m_FolderBrowser.Dispose(); m_FolderBrowser = null; } I really don't have any idea why this problem occurs and how to solve it. I hope you can help me. Thanks. Best Regards, Viola
-
Hi All, I have a problem with the FolderBrowserControl. When I use the FolderBrowserDialog in my application on a Windows Server 2008 system a strange behaviour can be recognized. If I open the dialog the first time it is displayed the way it should. When I open it a second time, the tree control looks different. The plus signs aren't displayed any longer. Instead only blank squares are displayed (Sorry for not attaching a picture. But I don't have a server where I could put it...) This behaviour can't be reproduced on Windows XP, it only occurs on Windows Server 2008 systems. The control is created in a separate class and is opend from a grid. //as special folder the desctop is used public MyControl(Environment.SpecialFolder folder, bool createFolder) { m_IsModified = false; m_FolderBrowser = new WinForms.FolderBrowserDialog(); m_FolderBrowser.ShowNewFolderButton = createFolder; } //this method is executed from the grid public WinForms.DialogResult ShowDialog(WinForms.IWin32Window window) { WinForms.DialogResult ret = m_FolderBrowser.ShowDialog(window); m_IsModified = (ret == WinForms.DialogResult.OK); return ret; } public void Dispose() { m_FolderBrowser.Dispose(); m_FolderBrowser = null; } I really don't have any idea why this problem occurs and how to solve it. I hope you can help me. Thanks. Best Regards, Viola
-
The symptoms you mentioned usually occur in applications when it is too tight on memory, typically caused by memory leaks. Check if the control has any known issues and if it is supported on all platforms.