Add Application.EnableVisualStyles() to your sub main(). Not sure if the
toolbar, TabControl etc... bugs have been fixed so you may also need to add
Application.DoEvents()

Signature
Mick Doherty
http://dotnetrix.co.uk/nothing.html
> My XP desktop theme is set to "Windows XP (Modified)" and the "Appearance"
> is
[quoted text clipped - 8 lines]
>
> Paul
Paul - 23 Sep 2004 22:45 GMT
I tried your suggestion but the running application still does not display
like it does in the ide.
> Add Application.EnableVisualStyles() to your sub main(). Not sure if the
> toolbar, TabControl etc... bugs have been fixed so you may also need to add
[quoted text clipped - 17 lines]
> Checked by AVG anti-virus system (http://www.grisoft.com).
> Version: 6.0.742 / Virus Database: 495 - Release Date: 19/08/2004
> My XP desktop theme is set to "Windows XP (Modified)" and the "Appearance" is
> set as:
[quoted text clipped - 8 lines]
> Paul
>
Beware EnableVisualStyles()! I've just spent two days tracking down a
nasty Interop.SEHException bug raised after closing a modal dialog.
Removing the call to EnableVisualStyles() cured the bug.
.Net 1.1 SP 1 Win2003 Server.
YMMD.