﻿<?xml version="1.0" encoding="UTF-8"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>StrataFrame Forum » StrataFrame Application Framework - V1 » WinForms (How do I?)  » BrowseDialog Error</title><generator>InstantForum 2017-1 Final</generator><description>StrataFrame Forum</description><link>http://forum.strataframe.net/</link><webMaster>StrataFrame Forum</webMaster><lastBuildDate>Sun, 05 Apr 2026 15:01:01 GMT</lastBuildDate><ttl>20</ttl><item><title>RE: BrowseDialog Error</title><link>http://forum.strataframe.net/FindPost10653.aspx</link><description>SWEET!&lt;/P&gt;&lt;P&gt;What version of DevExpress is used in the wrapper in 1.6.1?</description><pubDate>Tue, 31 Jul 2007 14:32:17 GMT</pubDate><dc:creator>StarkMike</dc:creator></item><item><title>BrowseDialog Error</title><link>http://forum.strataframe.net/FindPost6508.aspx</link><description>I'm testing my application on a windows 2003 machine. Everything seems to be working okay except for my browse dialog. I receive the following error when I click the Browse.&lt;/P&gt;&lt;P&gt;Any Ideas?&lt;/P&gt;&lt;P&gt;Thanks,&lt;BR&gt;Tim&lt;/P&gt;&lt;P&gt;InvalidOperationException&lt;BR&gt;&amp;nbsp;Visual Styles-related operation resulted in an error because no visual style is currently active.&lt;/P&gt;&lt;P&gt;Source&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; : System.Windows.Forms&lt;/P&gt;&lt;P&gt;Stack Trace: &lt;BR&gt;&amp;nbsp;&amp;nbsp; at System.Windows.Forms.VisualStyles.VisualStyleRenderer.IsCombinationDefined(String className, Int32 part)&lt;BR&gt;&amp;nbsp;&amp;nbsp; at System.Windows.Forms.VisualStyles.VisualStyleRenderer..ctor(String className, Int32 part, Int32 state)&lt;BR&gt;&amp;nbsp;&amp;nbsp; at System.Windows.Forms.ScrollBarRenderer.InitializeRenderer(VisualStyleElement element, Int32 state)&lt;BR&gt;&amp;nbsp;&amp;nbsp; at System.Windows.Forms.ScrollBarRenderer.GetSizeBoxSize(Graphics g, ScrollBarState state)&lt;BR&gt;&amp;nbsp;&amp;nbsp; at MicroFour.StrataFrame.UI.Windows.Forms.BrowseDialogWindow.PositionControls(Control&amp;amp; ParentControl)&lt;BR&gt;&amp;nbsp;&amp;nbsp; at MicroFour.StrataFrame.UI.Windows.Forms.BrowseDialogWindow.AddSearchFields()&lt;BR&gt;&amp;nbsp;&amp;nbsp; at MicroFour.StrataFrame.UI.Windows.Forms.BrowseDialogWindow..ctor(BrowseDialog BrowseDialogSettings, Boolean PopulateOnShow)&lt;BR&gt;&amp;nbsp;&amp;nbsp; at MicroFour.StrataFrame.UI.Windows.Forms.BrowseDialog.ShowDialog(Boolean PopulateOnShow)&lt;BR&gt;&amp;nbsp;&amp;nbsp; at MicroFour.StrataFrame.UI.Windows.Forms.BrowseDialog.ShowDialog()&lt;BR&gt;&amp;nbsp;&amp;nbsp; at MicroFour.StrataFrame.UI.Windows.Forms.MaintenanceFormToolStrip.cmdBrowse_Click(Object sender, EventArgs e)&lt;BR&gt;&amp;nbsp;&amp;nbsp; at System.Windows.Forms.ToolStripItem.RaiseEvent(Object key, EventArgs e)&lt;BR&gt;&amp;nbsp;&amp;nbsp; at System.Windows.Forms.ToolStripButton.OnClick(EventArgs e)&lt;BR&gt;&amp;nbsp;&amp;nbsp; at System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e)&lt;BR&gt;&amp;nbsp;&amp;nbsp; at System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e)&lt;BR&gt;&amp;nbsp;&amp;nbsp; at System.Windows.Forms.ToolStripItem.FireEventInteractive(EventArgs e, ToolStripItemEventType met)&lt;BR&gt;&amp;nbsp;&amp;nbsp; at System.Windows.Forms.ToolStripItem.FireEvent(EventArgs e, ToolStripItemEventType met)&lt;BR&gt;&amp;nbsp;&amp;nbsp; at System.Windows.Forms.ToolStrip.OnMouseUp(MouseEventArgs mea)&lt;BR&gt;&amp;nbsp;&amp;nbsp; at System.Windows.Forms.Control.WmMouseUp(Message&amp;amp; m, MouseButtons button, Int32 clicks)&lt;BR&gt;&amp;nbsp;&amp;nbsp; at System.Windows.Forms.Control.WndProc(Message&amp;amp; m)&lt;BR&gt;&amp;nbsp;&amp;nbsp; at System.Windows.Forms.ScrollableControl.WndProc(Message&amp;amp; m)&lt;BR&gt;&amp;nbsp;&amp;nbsp; at System.Windows.Forms.ToolStrip.WndProc(Message&amp;amp; m)&lt;BR&gt;&amp;nbsp;&amp;nbsp; at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message&amp;amp; m)&lt;BR&gt;&amp;nbsp;&amp;nbsp; at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message&amp;amp; m)&lt;BR&gt;&amp;nbsp;&amp;nbsp; at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)&lt;BR&gt;</description><pubDate>Tue, 31 Jul 2007 14:32:17 GMT</pubDate><dc:creator>Tim Dol</dc:creator></item><item><title>RE: BrowseDialog Error</title><link>http://forum.strataframe.net/FindPost10652.aspx</link><description>Yes.</description><pubDate>Tue, 31 Jul 2007 14:30:15 GMT</pubDate><dc:creator>Trent L. Taylor</dc:creator></item><item><title>RE: BrowseDialog Error</title><link>http://forum.strataframe.net/FindPost10651.aspx</link><description>Has this issue been resolved in 1.6.1?</description><pubDate>Tue, 31 Jul 2007 14:29:37 GMT</pubDate><dc:creator>StarkMike</dc:creator></item><item><title>RE: BrowseDialog Error</title><link>http://forum.strataframe.net/FindPost9686.aspx</link><description>Ok, Thanks.</description><pubDate>Wed, 20 Jun 2007 14:46:14 GMT</pubDate><dc:creator>rmoore</dc:creator></item><item><title>RE: BrowseDialog Error</title><link>http://forum.strataframe.net/FindPost9673.aspx</link><description>Not yet.&amp;nbsp; There is a .NET issue with the DateTimePicker and rendering when Themes are not available under certain instantiation criteria, so we are still investigating and trying to come up with a viable solution (without writing our own DateTimePicker control) :).</description><pubDate>Wed, 20 Jun 2007 09:24:53 GMT</pubDate><dc:creator>Trent L. Taylor</dc:creator></item><item><title>RE: BrowseDialog Error</title><link>http://forum.strataframe.net/FindPost9655.aspx</link><description>Just wondering if there is any news on this issue as I just ran into this error myself?&lt;br&gt;
Thanks</description><pubDate>Tue, 19 Jun 2007 10:08:32 GMT</pubDate><dc:creator>rmoore</dc:creator></item><item><title>RE: BrowseDialog Error</title><link>http://forum.strataframe.net/FindPost9436.aspx</link><description>Thanks for the infor...it does look like the DateTimePicker is relying on the Visual Styles for rendering....hmmmm, I will have to work on this :crazy:</description><pubDate>Fri, 08 Jun 2007 10:55:25 GMT</pubDate><dc:creator>Trent L. Taylor</dc:creator></item><item><title>RE: BrowseDialog Error</title><link>http://forum.strataframe.net/FindPost9434.aspx</link><description>You can reproduce the problem in Windows XP by setting the Windows theme to 'Windows Classic". Attached is an example of how the error&amp;nbsp;manifests itself&amp;nbsp;when the application is using ES as the data source (My app is called BathcTracker). I looked up Event Type: clr20r3 in the Microsoft knowledge base and it returned article 911816 "Unhanded exceptions cause ASP.Net-based application to unexpectedly quit in the .NET Framework 2.0". You may want to look at the article to see if their resolution is something that should be&amp;nbsp;incorporated in ES to better handle unexpected exceptions. &lt;/P&gt;&lt;P&gt;-Larry</description><pubDate>Fri, 08 Jun 2007 10:14:13 GMT</pubDate><dc:creator>Larry Caylor</dc:creator></item><item><title>RE: BrowseDialog Error</title><link>http://forum.strataframe.net/FindPost9428.aspx</link><description>We will setup a Windows 2000 Pro virtual machine and test this to see if there is something that we can do about this.&amp;nbsp; We just use a standard DateTimePicker, so this is a bit odd...however, we have seen this type of thing before when the Visual Renderers are used within certain environments and the DateTimePicker may be doing something out of context.&amp;nbsp;&amp;nbsp; We will investigate further.&amp;nbsp; Thanks. :)</description><pubDate>Thu, 07 Jun 2007 22:28:00 GMT</pubDate><dc:creator>Trent L. Taylor</dc:creator></item><item><title>RE: BrowseDialog Error</title><link>http://forum.strataframe.net/FindPost9426.aspx</link><description>I just tripped into this issue when I tried to deploy my application to a PC running Windows 2000 Pro. The application aborts with a Visual Styles error when the user selects a browse dialog that contains a DateTimePicker control. (When running with the ES server the program aborts with an unhandled exception) However if create an new SF application with a single form that contains a standard MS DateTimePicker or a SF DateTimePicker and run the application, the controls render properly and I can click on the drop down. It would appear that is something about the way the control is being used in the browse dialog that is causing the program to fail. This is an issue for me since I have a lot of Windows 2000 Pro systems.&lt;/P&gt;&lt;P&gt;-Larry</description><pubDate>Thu, 07 Jun 2007 19:56:45 GMT</pubDate><dc:creator>Larry Caylor</dc:creator></item><item><title>RE: BrowseDialog Error</title><link>http://forum.strataframe.net/FindPost6529.aspx</link><description>Yes that worked Trent.:)&lt;/P&gt;&lt;P&gt;Thanks</description><pubDate>Fri, 02 Feb 2007 12:51:12 GMT</pubDate><dc:creator>Tim Dol</dc:creator></item><item><title>RE: BrowseDialog Error</title><link>http://forum.strataframe.net/FindPost6517.aspx</link><description>Tim,&lt;/P&gt;&lt;P&gt;I did a google search and this is an issue with the DateTimePicker control it looks like.&amp;nbsp; The problem is that there is no visual style active on the machine (Themes is just the first step).&amp;nbsp; The DateTimePicker requires the use of the Visualizer classes in order to render the Combo arrows.&lt;/P&gt;&lt;P&gt;On that same server, try setting the Appearance to the same Theme as Windows XP Blue and see if the error persists.</description><pubDate>Fri, 02 Feb 2007 09:53:18 GMT</pubDate><dc:creator>Trent L. Taylor</dc:creator></item><item><title>RE: BrowseDialog Error</title><link>http://forum.strataframe.net/FindPost6513.aspx</link><description>Trent, I may have pinpointed the problem for you.&amp;nbsp; One of the search fields on&amp;nbsp;my browse dialog was a date field. When I removed this field from the search fields list the error went away.&amp;nbsp;When I added it back, the error returned,&amp;nbsp;so it must be specific&amp;nbsp;to the date field.&amp;nbsp; The date field works fine on XP.&lt;/P&gt;&lt;P&gt;Hopefully it's something simple.</description><pubDate>Thu, 01 Feb 2007 19:50:46 GMT</pubDate><dc:creator>Tim Dol</dc:creator></item><item><title>RE: BrowseDialog Error</title><link>http://forum.strataframe.net/FindPost6512.aspx</link><description>Didn't make any difference. Still get the error.&lt;/P&gt;&lt;P&gt;Tim</description><pubDate>Thu, 01 Feb 2007 18:39:24 GMT</pubDate><dc:creator>Tim Dol</dc:creator></item><item><title>RE: BrowseDialog Error</title><link>http://forum.strataframe.net/FindPost6510.aspx</link><description>It looks&amp;nbsp;like a visualizer error.&amp;nbsp; Since you are running on a server, themes are turned off by default, and certain controls try to user the Visualizers to render portions of the controls.&amp;nbsp; Off of the top of my head I cannot think of what the BrowseDialog is doing here, but try this:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Click Start -&amp;gt; Run&lt;/LI&gt;&lt;LI&gt;Type Services.msc and press Enter&lt;/LI&gt;&lt;LI&gt;Navigate to the Themes service&lt;/LI&gt;&lt;LI&gt;Double-Click on the Themes service to open the properties&lt;/LI&gt;&lt;LI&gt;Change the Startup Type from Disabled to Automatic&lt;/LI&gt;&lt;LI&gt;Click Apply - &amp;gt; click OK&lt;/LI&gt;&lt;LI&gt;Start the Themes service&lt;/LI&gt;&lt;LI&gt;Try running the browse dialog again&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;Let me know if this fixes (or doesn't fix) your problem.</description><pubDate>Thu, 01 Feb 2007 17:32:58 GMT</pubDate><dc:creator>Trent L. Taylor</dc:creator></item></channel></rss>