{"id":11389,"date":"2017-07-04T11:59:00","date_gmt":"2017-07-04T03:59:00","guid":{"rendered":"http:\/\/www.vbtutor.net\/?p=11389"},"modified":"2017-10-06T21:43:56","modified_gmt":"2017-10-06T13:43:56","slug":"asc-character-converter","status":"publish","type":"post","link":"https:\/\/www.vbtutor.net\/index.php\/2017\/07\/04\/asc-character-converter\/","title":{"rendered":"ASC Character Converter"},"content":{"rendered":"<p>We can create a Asc to Chr and Chr to Asc converter in VB. Let&#8217;s examine\u00a0the following Example:<\/p>\n<p>In this example, we create two buttons, label one of them as ASC and the other one as CHR. Insert two textboxes, one for the user to enter an ASC code and the other one to enter the CHR character. When the user enter an ASC code, he or she can check for the corresponding character by clicking the CHR button. Likewise, he or she can check the corresponding ASC code after entering a character.<\/p>\n<p>The Code<\/p>\n<pre>Private Sub CmdASC_Click()\r\nTxtASC.Text = Asc(TxtCHR.Text)\r\nEnd Sub\r\n\r\nPrivate Sub CmdCHR_Click()\r\nTxtCHR.Text = Chr(TxtASC.Text)\r\nEnd Sub\r\n<\/pre>\n<p>Please refer to the following article for more details.<\/p>\n<p><a href=\"http:\/\/www.vbtutor.net\/lesson13.html\">http:\/\/www.vbtutor.net\/lesson13.html<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>We can create a Asc to Chr and Chr to Asc converter in VB. Let&#8217;s examine\u00a0the following Example: In this example, we create two buttons, label one of them as ASC and the other one as CHR. Insert two textboxes, one for the user to enter an ASC code and the other one to enter &hellip; <a href=\"https:\/\/www.vbtutor.net\/index.php\/2017\/07\/04\/asc-character-converter\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">ASC Character Converter<\/span><\/a><\/p>\n","protected":false},"author":23013,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6,1],"tags":[],"class_list":["post-11389","post","type-post","status-publish","format-standard","hentry","category-latestnews","category-uncategorized"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.0 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>ASC Character Converter - Learn Visual Basic Programming \u2013 VB.NET, VBA &amp; Classic VB<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.vbtutor.net\/index.php\/2017\/07\/04\/asc-character-converter\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"ASC Character Converter - Learn Visual Basic Programming \u2013 VB.NET, VBA &amp; Classic VB\" \/>\n<meta property=\"og:description\" content=\"We can create a Asc to Chr and Chr to Asc converter in VB. Let&#8217;s examine\u00a0the following Example: In this example, we create two buttons, label one of them as ASC and the other one as CHR. Insert two textboxes, one for the user to enter an ASC code and the other one to enter &hellip; Continue reading ASC Character Converter\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.vbtutor.net\/index.php\/2017\/07\/04\/asc-character-converter\/\" \/>\n<meta property=\"og:site_name\" content=\"Learn Visual Basic Programming \u2013 VB.NET, VBA &amp; Classic VB\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/Vbtutor\" \/>\n<meta property=\"article:published_time\" content=\"2017-07-04T03:59:00+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2017-10-06T13:43:56+00:00\" \/>\n<meta name=\"author\" content=\"Liew Voon Kiong\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@liewvk\" \/>\n<meta name=\"twitter:site\" content=\"@liewvk\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Liew Voon Kiong\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.vbtutor.net\/index.php\/2017\/07\/04\/asc-character-converter\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.vbtutor.net\/index.php\/2017\/07\/04\/asc-character-converter\/\"},\"author\":{\"name\":\"Liew Voon Kiong\",\"@id\":\"https:\/\/www.vbtutor.net\/#\/schema\/person\/01c0e3de22b7692f291440df0ef6601d\"},\"headline\":\"ASC Character Converter\",\"datePublished\":\"2017-07-04T03:59:00+00:00\",\"dateModified\":\"2017-10-06T13:43:56+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.vbtutor.net\/index.php\/2017\/07\/04\/asc-character-converter\/\"},\"wordCount\":114,\"articleSection\":[\"Latest News\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.vbtutor.net\/index.php\/2017\/07\/04\/asc-character-converter\/\",\"url\":\"https:\/\/www.vbtutor.net\/index.php\/2017\/07\/04\/asc-character-converter\/\",\"name\":\"ASC Character Converter - Learn Visual Basic Programming \u2013 VB.NET, VBA &amp; Classic VB\",\"isPartOf\":{\"@id\":\"https:\/\/www.vbtutor.net\/#website\"},\"datePublished\":\"2017-07-04T03:59:00+00:00\",\"dateModified\":\"2017-10-06T13:43:56+00:00\",\"author\":{\"@id\":\"https:\/\/www.vbtutor.net\/#\/schema\/person\/01c0e3de22b7692f291440df0ef6601d\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.vbtutor.net\/index.php\/2017\/07\/04\/asc-character-converter\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.vbtutor.net\/index.php\/2017\/07\/04\/asc-character-converter\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.vbtutor.net\/index.php\/2017\/07\/04\/asc-character-converter\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.vbtutor.net\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"ASC Character Converter\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.vbtutor.net\/#website\",\"url\":\"https:\/\/www.vbtutor.net\/\",\"name\":\"Learn Visual Basic Programming \u2013 VB.NET, VBA &amp; Classic VB\",\"description\":\"Start learning Visual Basic from beginner to advanced. Includes VB.NET, VBA, and classic VB tutorials for students and professionals.\",\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.vbtutor.net\/#\/schema\/person\/01c0e3de22b7692f291440df0ef6601d\",\"name\":\"Liew Voon Kiong\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.vbtutor.net\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/298e9b7c976f23b8bb0deac1079900704b531945d53dab6cda022294a3dda3d4?s=96&d=identicon&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/298e9b7c976f23b8bb0deac1079900704b531945d53dab6cda022294a3dda3d4?s=96&d=identicon&r=g\",\"caption\":\"Liew Voon Kiong\"},\"url\":\"https:\/\/www.vbtutor.net\/index.php\/author\/ajt7051vbt\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"ASC Character Converter - Learn Visual Basic Programming \u2013 VB.NET, VBA &amp; Classic VB","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.vbtutor.net\/index.php\/2017\/07\/04\/asc-character-converter\/","og_locale":"en_US","og_type":"article","og_title":"ASC Character Converter - Learn Visual Basic Programming \u2013 VB.NET, VBA &amp; Classic VB","og_description":"We can create a Asc to Chr and Chr to Asc converter in VB. Let&#8217;s examine\u00a0the following Example: In this example, we create two buttons, label one of them as ASC and the other one as CHR. Insert two textboxes, one for the user to enter an ASC code and the other one to enter &hellip; Continue reading ASC Character Converter","og_url":"https:\/\/www.vbtutor.net\/index.php\/2017\/07\/04\/asc-character-converter\/","og_site_name":"Learn Visual Basic Programming \u2013 VB.NET, VBA &amp; Classic VB","article_publisher":"https:\/\/www.facebook.com\/Vbtutor","article_published_time":"2017-07-04T03:59:00+00:00","article_modified_time":"2017-10-06T13:43:56+00:00","author":"Liew Voon Kiong","twitter_card":"summary_large_image","twitter_creator":"@liewvk","twitter_site":"@liewvk","twitter_misc":{"Written by":"Liew Voon Kiong","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.vbtutor.net\/index.php\/2017\/07\/04\/asc-character-converter\/#article","isPartOf":{"@id":"https:\/\/www.vbtutor.net\/index.php\/2017\/07\/04\/asc-character-converter\/"},"author":{"name":"Liew Voon Kiong","@id":"https:\/\/www.vbtutor.net\/#\/schema\/person\/01c0e3de22b7692f291440df0ef6601d"},"headline":"ASC Character Converter","datePublished":"2017-07-04T03:59:00+00:00","dateModified":"2017-10-06T13:43:56+00:00","mainEntityOfPage":{"@id":"https:\/\/www.vbtutor.net\/index.php\/2017\/07\/04\/asc-character-converter\/"},"wordCount":114,"articleSection":["Latest News"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/www.vbtutor.net\/index.php\/2017\/07\/04\/asc-character-converter\/","url":"https:\/\/www.vbtutor.net\/index.php\/2017\/07\/04\/asc-character-converter\/","name":"ASC Character Converter - Learn Visual Basic Programming \u2013 VB.NET, VBA &amp; Classic VB","isPartOf":{"@id":"https:\/\/www.vbtutor.net\/#website"},"datePublished":"2017-07-04T03:59:00+00:00","dateModified":"2017-10-06T13:43:56+00:00","author":{"@id":"https:\/\/www.vbtutor.net\/#\/schema\/person\/01c0e3de22b7692f291440df0ef6601d"},"breadcrumb":{"@id":"https:\/\/www.vbtutor.net\/index.php\/2017\/07\/04\/asc-character-converter\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.vbtutor.net\/index.php\/2017\/07\/04\/asc-character-converter\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.vbtutor.net\/index.php\/2017\/07\/04\/asc-character-converter\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.vbtutor.net\/"},{"@type":"ListItem","position":2,"name":"ASC Character Converter"}]},{"@type":"WebSite","@id":"https:\/\/www.vbtutor.net\/#website","url":"https:\/\/www.vbtutor.net\/","name":"Learn Visual Basic Programming \u2013 VB.NET, VBA &amp; Classic VB","description":"Start learning Visual Basic from beginner to advanced. Includes VB.NET, VBA, and classic VB tutorials for students and professionals.","inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/www.vbtutor.net\/#\/schema\/person\/01c0e3de22b7692f291440df0ef6601d","name":"Liew Voon Kiong","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.vbtutor.net\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/298e9b7c976f23b8bb0deac1079900704b531945d53dab6cda022294a3dda3d4?s=96&d=identicon&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/298e9b7c976f23b8bb0deac1079900704b531945d53dab6cda022294a3dda3d4?s=96&d=identicon&r=g","caption":"Liew Voon Kiong"},"url":"https:\/\/www.vbtutor.net\/index.php\/author\/ajt7051vbt\/"}]}},"_links":{"self":[{"href":"https:\/\/www.vbtutor.net\/index.php\/wp-json\/wp\/v2\/posts\/11389","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.vbtutor.net\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.vbtutor.net\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.vbtutor.net\/index.php\/wp-json\/wp\/v2\/users\/23013"}],"replies":[{"embeddable":true,"href":"https:\/\/www.vbtutor.net\/index.php\/wp-json\/wp\/v2\/comments?post=11389"}],"version-history":[{"count":1,"href":"https:\/\/www.vbtutor.net\/index.php\/wp-json\/wp\/v2\/posts\/11389\/revisions"}],"predecessor-version":[{"id":11390,"href":"https:\/\/www.vbtutor.net\/index.php\/wp-json\/wp\/v2\/posts\/11389\/revisions\/11390"}],"wp:attachment":[{"href":"https:\/\/www.vbtutor.net\/index.php\/wp-json\/wp\/v2\/media?parent=11389"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.vbtutor.net\/index.php\/wp-json\/wp\/v2\/categories?post=11389"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.vbtutor.net\/index.php\/wp-json\/wp\/v2\/tags?post=11389"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}