• Industries
  • Products
  • Buy
  • Services & Support
  • Communities
  • Discussion Groups

    Visual Basic Customization

    Reply
    Active Member
    Posts: 8
    Registered: ‎01-29-2013
    Accepted Solution

    How to insert a Unicode character into a string?

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

    Please use plain text.
    *Expert Elite*
    Posts: 6,416
    Registered: ‎06-29-2007

    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
    -------------------------------------------------------------------------
    Please use plain text.
    Active Member
    Posts: 8
    Registered: ‎01-29-2013

    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.

    Please use plain text.