Application.EnableVisualStyles() not working
<p>I cann't make my application to apply Windows visual styles.
Application.EnableVisualStyles() in program.cs not changing RenderWithVisualStyle property to true.</p>

<pre><code> [STAThread]
        public static void Main(string[] startArgument)
        {
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);

            .....

        }
</code></pre>

<p>Interestingly if I'm debugging with "Enable visual studio hosting process", Application.EnableVisualStyles() works as expected, RenderWithVisualStyle goes to true and styles are applied. But no styles without hosting process either Debug or Release mode.
Changing target framework v.2 to v.3.5 makes nothing. </p>

<p>Any ideas please, I'm stuck with this issue and googling for 3 days with no success.</p>

<p>Many thanks</p>
