Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

Changing Font of a textBox

Posted on 2006-06-27
2
297 Views
Last Modified: 2013-12-03
VB.NET 2003 Code: NewText.Font = New System.Drawing.Font("Microsoft Sans Serif", 20)

How can I do the equivilant of this code in C++ .NET 2005?

Thanks
0
Comment
Question by:nigelboyle
2 Comments
 
LVL 48

Assisted Solution

by:AlexFM
AlexFM earned 50 total points
ID: 16999027
NewText>Font = gcnew System::Drawing::Font(L"Microsoft Sans Serif", 20);
0
 
LVL 8

Accepted Solution

by:
bramsquad earned 75 total points
ID: 17006533
slight, slight change

 NewText->Font = gcnew System::Drawing::Font(L"Microsoft Sans Serif", 20);

forgot the  '-' before the greater than symbol

~b
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Unregister/remove a font in Windows 7 5 127
download font website 4 79
Installed fonts not showing up 4 93
C Language combined operators 28 114
The following diagram presents a diamond class hierarchy: As depicted, diamond inheritance denotes when two classes (e.g., CDerived1 and CDerived2), separately extending a common base class (e.g., CBase), are sub classed simultaneously by a fourt…
In Easy String Encryption Using CryptoAPI in C++ (http://www.experts-exchange.com/viewArticle.jsp?aid=1193) I described how to encrypt text and recommended that the encrypted text be stored as a series of hexadecimal digits -- because cyphertext may…
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …

840 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