VBA
Discuss AutoCAD ActiveX and VBA (Visual Basic for Applications) questions here.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How to insert a Unicode character into a string?

2 REPLIES 2
SOLVED
Reply
Message 1 of 3
kike55
2765 Views, 2 Replies

How to insert a Unicode character into a string?

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?

2 REPLIES 2
Message 2 of 3
Alfred.NESWADBA
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 ... blog.hollaus.at ... CDay 2024
------------------------------------------------------------------------------------
(not an Autodesk consultant)
Message 3 of 3
kike55
in reply to: Alfred.NESWADBA

That simple,Ah?

Thanks Alfred. That worked like a charm.

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report

”Boost