C# Windows Form Application Errors In Program.cs:?
-
I'm trying to make a windows form application and before I even start I get these 3 errors in Program.cs: Application.EnableVisualStyles(); Application.SetCompatibleTextRendering… Application.Run(new Form1()); 1st line error: "EnableVisualStyles" 2nd line error: "SetCompatibleTextRenderingDefault" 3rd line error: "Run" How can I fix these?
-
Answer:
is there a using System.Windows.Forms line at the top of your Program.cs? Did you include the System.Windows.Forms as a reference in your project?
Donavon at Yahoo! Answers Visit the source
Related Q & A:
- How To Fill Green Card Application Form?Best solution by green-card.com
- If I have a form, such as an application, how can I fill it out using my computer?Best solution by answers.yahoo.com
- How to fill out a job application form?Best solution by Yahoo! Answers
- Is there some kind of API for MSN protocol (for using in C# asp.net application?Best solution by Stack Overflow
- Where to find School application form?Best solution by sampleforms.org
Just Added Q & A:
- How many active mobile subscribers are there in China?Best solution by Quora
- How to find the right vacation?Best solution by bookit.com
- How To Make Your Own Primer?Best solution by thekrazycouponlady.com
- How do you get the domain & range?Best solution by ChaCha
- How do you open pop up blockers?Best solution by Yahoo! Answers
For every problem there is a solution! Proved by Solucija.
-
Got an issue and looking for advice?
-
Ask Solucija to search every corner of the Web for help.
-
Get workable solutions and helpful tips in a moment.
Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.