Copyright © 2006

  • Thread starter Thread starter Alan T
  • Start date Start date
Or simple put the copyrightsign into the string literal.

string label = "Copyright © 2006";
 
Hi Alan,

In the VS.NET properties window (with the Label selected in the designer), find the Text property and enter the following:

Copyright

Then enter the following key combinations:

ALT+(0 1 6 9)

Then, enter the remainder of the string:

2006

(While ALT is held down press, 0, 1, 6, then 9, subsequently, and then release ALT.)

© :)

If you're curious about other key combinations then Start-->Run-->charmap and you'll see the key combination listed on the bottom of
the screen for the selected character, but only if there is a valid key combination available.
 
Christof Nordiek said:
Or simple put the copyrightsign into the string literal.

string label = "Copyright © 2006";

That means you need to be careful:

a) when transferring the source (including within source control
systems)

b) when posting it on newsgroups

c) when compiling

If you stick to ASCII you're far less likely to run into issues.
 
Hi,

I don't know why I cannot produce this special character, this was what I
did:
Put a label on a form,
select the label
select the text property
hold ALT and then type in 0169, release ALT.
There was nothing.
 
Hi Alan,

I failed to mention that the numbers have to be entered on the number pad with NumLock on.

HTH
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top