Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

What does this mean?

Posted on 2006-11-11
2
Medium Priority
?
259 Views
Last Modified: 2010-04-16
           Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);
            Application.Run(new ReportGeneratorMain());

0
Comment
Question by:mathieu_cupryk
  • 2
2 Comments
 
LVL 29

Accepted Solution

by:
Nightman earned 1000 total points
ID: 17922660
From the MSDN Help:

EnableVisualStyles:
This method enables Windows XP visual styles for the application. Controls will draw with visual styles if the control and the operating system supports it. To have an effect, EnableVisualStyles must be called before creating any controls in the application; typically, EnableVisualStyles is the first line in the Main function. A separate manifest is not required to enable visual styles when calling EnableVisualStyles.

SetCompatibleTextRenderingDefault
Sets the application-wide default for the UseCompatibleTextRendering property defined on certain controls.

UseCompatibleTextRendering
Gets or sets a value that specifies whether text rendering should be compatible with previous releases of Windows Forms.
 
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Article by: Najam
Having new technologies does not mean they will completely replace old components.  Recently I had to create WCF that will be called by VB6 component.  Here I will describe what steps one should follow while doing so, please feel free to post any qu…
This article aims to explain the working of CircularLogArchiver. This tool was designed to solve the buildup of log file in cases where systems do not support circular logging or where circular logging is not enabled
This video shows how to quickly and easily deploy an email signature for all users in Office 365 and prevent it from being added to replies and forwards. (the resulting signature is applied on the server level in Exchange Online) The email signat…
Please read the paragraph below before following the instructions in the video — there are important caveats in the paragraph that I did not mention in the video. If your PaperPort 12 or PaperPort 14 is failing to start, or crashing, or hanging, …
Suggested Courses

971 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question