all groups > dotnet windows forms > january 2006 >
You're in the

dotnet windows forms

group:

XP Visual Styles in 2005


XP Visual Styles in 2005 MasterBlaster
1/31/2006 1:05:29 PM
dotnet windows forms: I'm trying to set the application to use XP visual styles, but in the
properties page I tried to set it and I get the following:

Startup object must be a form when 'Enable application framework' is
checked. I have a sub main starting up the application and in there it
determines which portal the user is eligible to use. So how do I get around
this issue with having a form being my startup?

RE: XP Visual Styles in 2005 v-hqwu NO[at]SPAM online.microsoft.com
2/1/2006 12:00:00 AM
Hi

Thank you for contacting Microsoft.

Could you please tell me the detail steps to reproduce this issue? Thanks a
lot!


Thanks & Regards,

Frederick Wu
Microsoft Online Partner Support

Get Secure! - www.microsoft.com/security

When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.

=====================================================
Business-Critical Phone Support (BCPS) provides you with technical phone
support at no charge during critical LAN outages or "business down"
situations. This benefit is available 24 hours a day, 7 days a week to all
Microsoft technology partners in the United States and Canada.

This and other support options are available here:

BCPS:
https://partner.microsoft.com/US/technicalsupport/supportoverview/40010469

Others: https://partner.microsoft.com/US/technicalsupport/supportoverview/

If you are outside the United States, please visit our International
Support page:
http://support.microsoft.com/default.aspx?scid=%2finternational.aspx.
=====================================================

This posting is provided "AS IS" with no warranties, and confers no rights.

Re: XP Visual Styles in 2005 Herfried K. Wagner [MVP]
2/1/2006 12:49:19 PM
"MasterBlaster" <MasterBlaster@newsgroup.nospam> schrieb:
[quoted text, click to view]

Call 'Application.EnableVisualStyles' in your custom 'Sub Main'.

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://classicvb.org/petition/>
AddThis Social Bookmark Button