Visual Basic Customization

Visual Basic Customization

Reply
Active Member
8 Posts
0 Kudos
Registered: ‎01-29-2013
Post 1 of 3
Accepted Solution

How to insert a Unicode character into a string?

789 Views, 2 Replies
02-06-2013 01:06 PM

Hi!

 I need to insert a registered brand character (®) into a string for a product model using code ("Model Name ®"). How do you handle Unicode in VB .NET?

Hi,

 

imho you don't need any special things to do, just copy the character to your VB.NET code (from word or from any software that shows the symbol you want) and use it then.

For a text-object in AutoCAD that means then that it has to use a style that is set to a TTF.

 

- alfred -

*Expert Elite*
9,836 Posts
1,219 Kudos
Registered: ‎06-29-2007
Post 2 of 3

Re: How to insert a Unicode character into a string?

02-07-2013 12:38 AM in reply to: kike55

Hi,

 

imho you don't need any special things to do, just copy the character to your VB.NET code (from word or from any software that shows the symbol you want) and use it then.

For a text-object in AutoCAD that means then that it has to use a style that is set to a TTF.

 

- alfred -

-------------------------------------------------------------------------
Alfred NESWADBA
Ingenieur Studio HOLLAUS ... www.hollaus.at
-------------------------------------------------------------------------
Active Member
8 Posts
0 Kudos
Registered: ‎01-29-2013
Post 3 of 3

Re: How to insert a Unicode character into a string?

02-07-2013 04:41 AM in reply to: Alfred.NESWADBA

That simple,Ah?

Thanks Alfred. That worked like a charm.

Post to the Community

Have questions about Autodesk products? Ask the community.

New Post
Announcements
Are you interested in helping shape the future of the Autodesk Community? To participate in this brief usability study, please click here. Your time and input is greatly appreciated!