Visual Basic Customization

Visual Basic Customization

Reply
Active Member
kike55
Posts: 8
Registered: ‎01-29-2013
Message 1 of 3 (610 Views)
Accepted Solution

How to insert a Unicode character into a string?

610 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?

*Expert Elite*
Alfred.NESWADBA
Posts: 8,983
Registered: ‎06-29-2007
Message 2 of 3 (598 Views)

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
kike55
Posts: 8
Registered: ‎01-29-2013
Message 3 of 3 (594 Views)

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.

Announcements
Are you familiar with the Autodesk Expert Elites? The Expert Elite program is made up of customers that help other customers by sharing knowledge and exemplifying an engaging style of collaboration. To learn more, please visit our Expert Elite website.
Need installation help?

Start with some of our most frequented solutions or visit the Installation and Licensing Forum to get help installing your software.