8 Replies - 32080 Views - Last Post: 27 July 2010 - 08:34 AM Rate Topic: -----

#1 kamsuk  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 3
  • Joined: 03-May 08

Superscript Text in Names of Lables and Buttons

Posted 08 December 2008 - 07:24 AM

Friends,

I am novice to Visual Basic Programme.

I am using Visual Basic 2005 to develop a proframme and I have TextBoxes, Lables and Buttons in that.

I want to name these controls. I wish to superscript the Text. i.e., to denote Sq.mm - as mm with power 2. But if we type or cut & paste from Ms Word, the typed name is changing as mm2. The power i.e. 2 can not to typed with superscript text.

Can any one suggest method for denoting the name with superscript text.

thanks in advance.

Senthil

Is This A Good Question/Topic? 0
  • +

#5 kasbaba  Icon User is offline

  • D.I.C Head

Reputation: 28
  • View blog
  • Posts: 134
  • Joined: 03-November 08

Re: Superscript Text in Names of Lables and Buttons

Posted 08 December 2008 - 11:10 AM

Hi,

I have a suggestion for ya !

Goto Start->Programs->Accessories->System tools->Character Map
Now select this Character from the Characters listed.
Click Select
Click Copy

Then try to change the text of any control by pasting this Character. Is should work.

I wrote the following code and it did display the Superscript '' on the button.
Button1.Text = "mm "


Hope this helps..

kasbaba
Was This Post Helpful? 1

#6 kamsuk  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 3
  • Joined: 03-May 08

Re: Superscript Text in Names of Lables and Buttons

Posted 09 December 2008 - 01:57 AM

Thanks Friend!

Let me try this method and come back.
Was This Post Helpful? 0
  • +
  • -

#7 kamsuk  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 3
  • Joined: 03-May 08

Re: Superscript Text in Names of Lables and Buttons

Posted 10 December 2008 - 06:26 AM

Dear Kasbaba,

It is working fine. I have searched for this all over the net. Out of so many help offered
this one only working.


Thanks a lot for your help.
Was This Post Helpful? 0
  • +
  • -

#8 kasbaba  Icon User is offline

  • D.I.C Head

Reputation: 28
  • View blog
  • Posts: 134
  • Joined: 03-November 08

Re: Superscript Text in Names of Lables and Buttons

Posted 10 December 2008 - 02:33 PM

View Postkamsuk, on 10 Dec, 2008 - 05:26 AM, said:

Dear Kasbaba,

It is working fine. I have searched for this all over the net. Out of so many help offered
this one only working.


Thanks a lot for your help.


Glad that I could help ya ! :)

thanks
Was This Post Helpful? 0
  • +
  • -

#9 VB Crash  Icon User is offline

  • D.I.C Head

Reputation: 9
  • View blog
  • Posts: 130
  • Joined: 28-November 08

Re: Superscript Text in Names of Lables and Buttons

Posted 11 December 2008 - 03:33 AM

Move this in vb.net
Was This Post Helpful? 0
  • +
  • -

#10 born2c0de  Icon User is offline

  • printf("I'm a %XR",195936478);
  • member icon

Reputation: 187
  • View blog
  • Posts: 4,673
  • Joined: 26-November 04

Re: Superscript Text in Names of Lables and Buttons

Posted 11 December 2008 - 07:20 AM

Moved.
Was This Post Helpful? 1

#11 Guest_Uma Narayanan*


Reputation:

Re: Superscript Text in Names of Lables and Buttons

Posted 26 July 2010 - 10:52 PM

Hi, I am in the same situation to use this. can you help me out here? I do not get this Character Map in my machine. Is there anything I need to install or configure to get this option?
Ur response wld help me to make use of your solution for superscript.

Many thanks in advance.

Uma Narayanan
Was This Post Helpful? 0

#12 CharlieMay  Icon User is offline

  • This space intentionally left blank
  • member icon

Reputation: 1726
  • View blog
  • Posts: 5,704
  • Joined: 25-September 09

Re: Superscript Text in Names of Lables and Buttons

Posted 27 July 2010 - 08:34 AM

The charmap.exe should be located in your System32 folder

It is typically located on the start menu under accessories|system tools

Try clicking Start|Run and pasting the following
%windir%\system32\charmap.exe

This post has been edited by CharlieMay: 27 July 2010 - 08:36 AM

Was This Post Helpful? 0
  • +
  • -

Page 1 of 1