Home All Groups Group Topic Archive Search About

Controls do not show correctly at runtime.

Author
23 May 2006 4:36 PM
ngr
I am using VB2005 Enterprise after migrating from 2003 Enterprise.

In the design environment, the buttons have Xp style rounded buttons and
frames but when I run in the runtime environment the forms and all the
controls revert to the old-style squared shapes.

I would like the project to take on the improved controls as seen in the
design interface.

Can anyone please offer assistance.

Thanks in advance.

Author
23 May 2006 4:52 PM
Fred Hedges
Go to Project settings and make sure Enable Visual Styles is switched on.

Show quoteHide quote
"ngr" <n**@tdrd.karoo.co.uk> wrote in message
news:LcacnW5jq4HYpu7ZSa8jmw@karoo.co.uk...
>I am using VB2005 Enterprise after migrating from 2003 Enterprise.
>
> In the design environment, the buttons have Xp style rounded buttons and
> frames but when I run in the runtime environment the forms and all the
> controls revert to the old-style squared shapes.
>
> I would like the project to take on the improved controls as seen in the
> design interface.
>
> Can anyone please offer assistance.
>
> Thanks in advance.
>
>
>
Author
23 May 2006 5:15 PM
Ken Tucker [MVP]
Hi,

         In the projects properties make sure the application framework is
enabled and the enable visual styles button is checked. 

Ken
----------------

Show quoteHide quote
"ngr" wrote:

> I am using VB2005 Enterprise after migrating from 2003 Enterprise.
>
> In the design environment, the buttons have Xp style rounded buttons and
> frames but when I run in the runtime environment the forms and all the
> controls revert to the old-style squared shapes.
>
> I would like the project to take on the improved controls as seen in the
> design interface.
>
> Can anyone please offer assistance.
>
> Thanks in advance.
>
>
>
>