{"id":2381,"date":"2013-02-13T12:17:33","date_gmt":"2013-02-13T04:17:33","guid":{"rendered":"http:\/\/www.vbtutor.net\/index.php\/"},"modified":"2018-06-24T17:59:27","modified_gmt":"2018-06-24T09:59:27","slug":"visual-basic-2012-lesson-12-functions-part-1","status":"publish","type":"page","link":"https:\/\/www.vbtutor.net\/index.php\/visual-basic-2012-lesson-12-functions-part-1\/","title":{"rendered":"Visual Basic 2012 Lesson 12- Functions"},"content":{"rendered":"<h4 style=\"text-align: center;\"><strong><a href=\"http:\/\/www.vbtutor.net\/index.php\/visual-basic-2012-lesson-11-looping\/\">[Lesson 11]<\/a> <\/strong>&lt;&lt; <strong> <a href=\"http:\/\/www.vbtutor.net\/index.php\/visual-basic-2012-tutorial\/\">[CONTENTS]<\/a> &gt;&gt;<a href=\"http:\/\/www.vbtutor.net\/index.php\/visual-basic-2012-lesson-13-function-part-ii\/\"> [Lesson 13]<\/a> <\/strong><\/h4>\n<p>A function is a procedure that returns a value which is passed on to the main procedure to finish the execution. There are two types of functions in Visual Basic 2012, the built-in functions (or internal functions) and the functions created by the programmers.The syntax of a function is<\/p>\n<pre style=\"font-size: 110%; width: 70%;\">FunctionName (arguments)\r\n<\/pre>\n<p>The arguments are values that are passed on to the function.<\/p>\n<p>&lt;<script async src=\"\/\/pagead2.googlesyndication.com\/pagead\/js\/adsbygoogle.js\"><\/script><br \/>\n<ins class=\"adsbygoogle\" style=\"display: block; text-align: center;\" data-ad-layout=\"in-article\" data-ad-format=\"fluid\" data-ad-client=\"ca-pub-3033628290023372\" data-ad-slot=\"1777484012\"><\/ins><br \/>\n<script>\n     (adsbygoogle = window.adsbygoogle || []).push({});\n<\/script><br \/>\nIn this lesson, we are going to learn two very basic but useful internal functions of Visual Basic 2012 , i.e. the MsgBox( ) and InputBox ( ) functions.<\/p>\n<h3>12.1 MsgBox ( ) Function<\/h3>\n<p>The MsgBox function produces a pop-up message box and prompts the user to click on a command button before he \/she can continues. This syntax is as follows:<\/p>\n<pre style=\"font-size: 110%; width: 70%;\">yourMsg=MsgBox(Prompt, Style Value, Title)\r\n<\/pre>\n<p>The first argument, Prompt, will display the message in the message box. The Style Value will determine what type of command buttons appear on the message box, please refer to Table 12.1 for types of command button displayed. The Title argument will display the title of the message board.<\/p>\n<h4>Table 12.1<\/h4>\n<div style=\"overflow-x:auto;\">\n<table>\n<tbody>\n<tr>\n<th style=\"text-align:center; width:20%\">\n\tStyle Value<\/th>\n<th style=\"text-align:left; width:35%\">Named Constant<\/th>\n<th>Buttons Displayed<\/th>\n<\/tr>\n<tr\">\n<td style=\"text-align:center\">\n    0<\/td>\n<td>vbOkOnly<\/td>\n<td>Ok button<\/td>\n<\/tr>\n<tr>\n<td style=\"text-align:center\">\n    1<\/td>\n<td >vbOkCancel<\/td>\n<td >Ok and Cancel buttons<\/td>\n<\/tr>\n<tr>\n<td style=\"text-align:center\">\n    2<\/td>\n<td >vbAbortRetryIgnore<\/td>\n<td >Abort, Retry and Ignore buttons.<\/td>\n<\/tr>\n<tr>\n<td style=\"text-align:center\">\n   3<\/td>\n<td >vbYesNoCancel<\/td>\n<td >Yes, No and Cancel buttons<\/td>\n<\/tr>\n<tr>\n<td style=\"text-align:center\">\n    4<\/td>\n<td >vbYesNo<\/td>\n<td>Yes and No buttons<\/td>\n<\/tr>\n<tr>\n<td style=\"text-align:center\">\n    5<\/td>\n<td >vbRetryCancel<\/td>\n<td >Retry and Cancel buttons<\/td>\n<\/tr>\n<\/table>\n<\/div>\n<p><script async src=\"\/\/pagead2.googlesyndication.com\/pagead\/js\/adsbygoogle.js\"><\/script><br \/>\n<ins class=\"adsbygoogle\" style=\"display: block; text-align: center;\" data-ad-layout=\"in-article\" data-ad-format=\"fluid\" data-ad-client=\"ca-pub-3033628290023372\" data-ad-slot=\"1777484012\"><\/ins><br \/>\n<script>\n     (adsbygoogle = window.adsbygoogle || []).push({});\n<\/script><br \/>\nWe can use named constants in place of integers for the second argument to make the programs more readable. In fact, Visual Basic 2012 will automatically show up a list of named constants where you can select one of them.<\/p>\n<p>Example:<\/p>\n<pre style=\"font-size: 110%;\">yourMsg=MsgBox( \"Click OK to Proceed\", 1, \"Startup Menu\")\r\n<\/pre>\n<p>and<\/p>\n<pre style=\"font-size: 110%;\">yourMsg=Msg(\"Click OK to Proceed\". vbOkCancel,\"Startup Menu\")\r\n<\/pre>\n<p>are the same.<\/p>\n<p>yourMsg is a variable that holds values that are returned by the MsgBox ( ) function. The values are determined by the types of buttons being clicked by the users. It has to be declared as Integer data type in the procedure or in the general declaration section. Table 12.2 shows the values, the corresponding named constant and buttons.<\/p>\n<h4>Table 12.2<\/h4>\n<div style=\"overflow-x:auto;\">\n<table>\n<tr>\n<th style=\"text-align:center; width:20%\">\n   Value<\/th>\n<th>Named Constant<\/th>\n<th>Button Clicked<\/th>\n<\/tr>\n<tr>\n<td style=\"text-align:center;\">\n   1<\/td>\n<td>vbOk<\/td>\n<td>Ok button<\/td>\n<\/tr>\n<tr>\n<td style=\"text-align:center;\">\n    2<\/td>\n<td>vbCancel><\/td>\n<td>Cancel button<\/td>\n<\/tr>\n<tr>\n<td style=\"text-align:center;\">\n    3<\/td>\n<td>vbAbort<\/td>\n<td>Abort button<\/td>\n<\/tr>\n<tr>\n<td style=\"text-align:center;\">\n    4<\/td>\n<td>vbRetry<\/td>\n<td>Retry button<\/td>\n<\/tr>\n<tr>\n<td style=\"text-align:center;\">\n    5<\/td>\n<td>vbIgnore<\/td>\n<td>Ignore button<\/td>\n<\/tr>\n<tr>\n<td style=\"text-align:center;\">\n    6<\/td>\n<td>vbYes<\/td>\n<td>Yes button<\/td>\n<\/tr>\n<tr>\n<td style=\"text-align:center;\">\n    7<\/td>\n<td>vbNo<\/td>\n<td>No button<\/td>\n<\/tr>\n<\/table>\n<\/div>\n<h4><strong>Example 12.1<\/strong><\/h4>\n<pre style=\"font-size: 110%;\">Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click\r\nDim testmsg As Integer\r\n testmsg = MsgBox(\"Click to test\", 1, \"Test message\")\r\n If testmsg = 1 Then\r\n  MessageBox.Show(\"You have clicked the OK button\")\r\n Else\r\n  MessageBox.Show(\"You have clicked the Cancel button\")\r\n End If\r\nEnd Sub\r\n<\/pre>\n<p>To make the message box looks more sophisticated, you can add an icon besides the message. There are four types of icons available in VB2008 as shown in Table 12.3<\/p>\n<h4>Table 12.3<\/h4>\n<div style=\"overflow-x:auto;\">\n<table>\n<tr>\n<th style=\"text-align:center; width:20%\">\n    Value<\/th>\n<th>Named Constant<\/th>\n<th style=\"text-align:center;\">\n\tIcon<\/th>\n<\/tr>\n<tr>\n<td style=\"text-align:center;\">\n    16<\/td>\n<td>vbCritical<\/td>\n<td style=\"text-align:center;\">\n    <img SRC=\"https:\/\/vbtutor.net\/vbcritical.jpg\"><\/td>\n<\/tr>\n<tr>\n<td style=\"text-align:center;\">\n   3<\/td>\n<td>vbQuestion<\/td>\n<td style=\"text-align:center;\">\n    <img SRC=\"https:\/\/vbtutor.net\/images\/vbquestion.jpg\" ><\/td>\n<\/tr>\n<tr>\n<td style=\"text-align:center;\">\n    48<\/td>\n<td>vbExclamation<\/td>\n<td style=\"text-align:center;\"><img SRC=\"https:\/\/vbtutor.net\/vbexlamation.jpg\"><\/td>\n<\/tr>\n<tr>\n<td style=\"text-align:center;\">\n    64<\/td>\n<td>vbInformation<\/td>\n<td style=\"text-align:center;\"><img SRC=\"https:\/\/vbtutor.net\/images\/vbInformation.jpg\">\n<\/td>\n<\/tr>\n<\/table>\n<\/div\n\n\n<h4><strong>Example 12.2<\/strong><\/h4>\n<pre style=\"font-size: 110%;\">Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click\r\nDim testMsg As Integer\r\n testMsg = MsgBox(\"Click to Test\", vbYesNoCancel + vbExclamation, \"Test Message\")\r\n If testMsg = 6 Then\r\n  MessageBox.Show(\"You have clicked the yes button\")\r\n ElseIf testMsg = 7 Then\r\n  MessageBox.Show(\"You have clicked the NO button\")\r\n Else\r\n  MessageBox.Show(\"You have clicked the Cancel button\")\r\n End If\r\nEnd Sub\r\n<\/pre>\n<p>The first argument, Prompt, will display the message<\/p>\n<p align=\"center\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1242\" title=\"figure12.1\" src=\"https:\/\/www.vbtutor.net\/wordpress\/wp-content\/uploads\/2012\/04\/figure12.1.jpg\" alt=\"\" width=\"394\" height=\"179\" srcset=\"https:\/\/www.vbtutor.net\/wordpress\/wp-content\/uploads\/2012\/04\/figure12.1.jpg 394w, https:\/\/www.vbtutor.net\/wordpress\/wp-content\/uploads\/2012\/04\/figure12.1-300x136.jpg 300w\" sizes=\"auto, (max-width: 394px) 100vw, 394px\" \/><\/p>\n<h3><strong>12.2 The InputBox( ) Function<\/strong><\/h3>\n<p>An InputBox( ) function will display a message box where the user can enter a value or a message in the form of text.The syntax is,<\/p>\n<pre style=\"font-size: 110%;\">myMessage=InputBox(Prompt, Title, default_text, x-position, y-position)\r\n<\/pre>\n<p>myMessage is a variant data type but typically it is declared as a string, which accepts the message input by the users. The arguments are explained as follows:<\/p>\n<p>Prompt &#8211; The message displayed normally as a question asked.<br \/>\nTitle &#8211; The title of the Input Box.<br \/>\ndefault-text &#8211; The default text that appears in the input field where the user\u00a0can use it as his or her intended input or he or she may change to the message he wishes to enter.x-position and y-position &#8211; the position or tthe coordinates of the input box.<\/p>\n<p>However, the format won&#8217;t work in Visual Basic 2012 because InputBox is considered a namespace. So, you need to key in the full reference to the Inputbox namespace, which is<\/p>\n<pre style=\"font-size: 110%;\">Microsoft.VisualBasic.InputBox(Prompt, Title, default_text, x-position, y-position)\r\n<\/pre>\n<p>The parameters remain the same.<\/p>\n<p><strong>Example 12.3<\/strong><\/p>\n<pre style=\"font-size: 110%;\">Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click\r\nDim userMsg As String\r\n userMsg = Microsoft.VisualBasic.InputBox(\"What is your message?\", \"Message Entry Form\", \"Enter your messge \r\n here\", 500, 700)\r\n If userMsg &lt;&gt; \"\" Then\r\n  MessageBox.Show(userMsg)\r\n Else\r\n  MessageBox.Show(\"No Message\")\r\n End If\r\nEnd Sub\r\n<\/pre>\n<p>The inputbox will appear as shown in the figure below when you press the command button<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1243\" title=\"figure12.2\" src=\"https:\/\/www.vbtutor.net\/wordpress\/wp-content\/uploads\/2012\/04\/figure12.2.jpg\" alt=\"\" width=\"387\" height=\"166\" srcset=\"https:\/\/www.vbtutor.net\/wordpress\/wp-content\/uploads\/2012\/04\/figure12.2.jpg 387w, https:\/\/www.vbtutor.net\/wordpress\/wp-content\/uploads\/2012\/04\/figure12.2-300x128.jpg 300w\" sizes=\"auto, (max-width: 387px) 100vw, 387px\" \/><\/p>\n<p><script async src=\"\/\/pagead2.googlesyndication.com\/pagead\/js\/adsbygoogle.js\"><\/script><br \/>\n<ins class=\"adsbygoogle\" style=\"display: block;\" data-ad-format=\"autorelaxed\" data-ad-client=\"ca-pub-3033628290023372\" data-ad-slot=\"6598395509\"><\/ins><br \/>\n<script>\n     (adsbygoogle = window.adsbygoogle || []).push({});\n<\/script><\/p>\n<h4 style=\"text-align: center;\"><strong><a href=\"http:\/\/www.vbtutor.net\/index.php\/visual-basic-2012-lesson-11-looping\/\">[Lesson 11]<\/a> <\/strong>&lt;&lt; <strong> <a href=\"http:\/\/www.vbtutor.net\/index.php\/visual-basic-2012-tutorial\/\">[CONTENTS]<\/a> &gt;&gt;<a href=\"http:\/\/www.vbtutor.net\/index.php\/visual-basic-2012-lesson-13-function-part-ii\/\"> [Lesson 13]<\/a> <\/strong><\/h4>\n","protected":false},"excerpt":{"rendered":"<p>[Lesson 11] &lt;&lt; [CONTENTS] &gt;&gt; [Lesson 13] A function is a procedure that returns a value which is passed on to the main procedure to finish the execution. There are two types of functions in Visual Basic 2012, the built-in functions (or internal functions) and the functions created by the programmers.The syntax of a function &hellip; <a href=\"https:\/\/www.vbtutor.net\/index.php\/visual-basic-2012-lesson-12-functions-part-1\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Visual Basic 2012 Lesson 12- Functions<\/span><\/a><\/p>\n","protected":false},"author":23013,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"categories":[],"tags":[],"class_list":["post-2381","page","type-page","status-publish","hentry"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.0 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Visual Basic 2012 Lesson 12- Functions - Learn Visual Basic Programming \u2013 VB.NET, VBA &amp; Classic VB<\/title>\n<meta name=\"description\" content=\"This Visual Basic 2012 tutorial shows you how to create functions in Visual Basic 2012\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"http:\/\/www.vbtutor.net\/vb2012\/vb2012_Lesson12.html\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Visual Basic 2012 Lesson 12- Functions - Learn Visual Basic Programming \u2013 VB.NET, VBA &amp; Classic VB\" \/>\n<meta property=\"og:description\" content=\"This Visual Basic 2012 tutorial shows you how to create functions in Visual Basic 2012\" \/>\n<meta property=\"og:url\" content=\"http:\/\/www.vbtutor.net\/vb2012\/vb2012_Lesson12.html\" \/>\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:modified_time\" content=\"2018-06-24T09:59:27+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.vbtutor.net\/wordpress\/wp-content\/uploads\/2012\/04\/figure12.1.jpg\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:site\" content=\"@liewvk\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.vbtutor.net\/index.php\/visual-basic-2012-lesson-12-functions-part-1\/\",\"url\":\"http:\/\/www.vbtutor.net\/vb2012\/vb2012_Lesson12.html\",\"name\":\"Visual Basic 2012 Lesson 12- Functions - Learn Visual Basic Programming \u2013 VB.NET, VBA &amp; Classic VB\",\"isPartOf\":{\"@id\":\"https:\/\/www.vbtutor.net\/#website\"},\"primaryImageOfPage\":{\"@id\":\"http:\/\/www.vbtutor.net\/vb2012\/vb2012_Lesson12.html#primaryimage\"},\"image\":{\"@id\":\"http:\/\/www.vbtutor.net\/vb2012\/vb2012_Lesson12.html#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.vbtutor.net\/wordpress\/wp-content\/uploads\/2012\/04\/figure12.1.jpg\",\"datePublished\":\"2013-02-13T04:17:33+00:00\",\"dateModified\":\"2018-06-24T09:59:27+00:00\",\"description\":\"This Visual Basic 2012 tutorial shows you how to create functions in Visual Basic 2012\",\"breadcrumb\":{\"@id\":\"http:\/\/www.vbtutor.net\/vb2012\/vb2012_Lesson12.html#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"http:\/\/www.vbtutor.net\/vb2012\/vb2012_Lesson12.html\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"http:\/\/www.vbtutor.net\/vb2012\/vb2012_Lesson12.html#primaryimage\",\"url\":\"https:\/\/www.vbtutor.net\/wordpress\/wp-content\/uploads\/2012\/04\/figure12.1.jpg\",\"contentUrl\":\"https:\/\/www.vbtutor.net\/wordpress\/wp-content\/uploads\/2012\/04\/figure12.1.jpg\",\"width\":\"394\",\"height\":\"179\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"http:\/\/www.vbtutor.net\/vb2012\/vb2012_Lesson12.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.vbtutor.net\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Visual Basic 2012 Lesson 12- Functions\"}]},{\"@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\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Visual Basic 2012 Lesson 12- Functions - Learn Visual Basic Programming \u2013 VB.NET, VBA &amp; Classic VB","description":"This Visual Basic 2012 tutorial shows you how to create functions in Visual Basic 2012","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":"http:\/\/www.vbtutor.net\/vb2012\/vb2012_Lesson12.html","og_locale":"en_US","og_type":"article","og_title":"Visual Basic 2012 Lesson 12- Functions - Learn Visual Basic Programming \u2013 VB.NET, VBA &amp; Classic VB","og_description":"This Visual Basic 2012 tutorial shows you how to create functions in Visual Basic 2012","og_url":"http:\/\/www.vbtutor.net\/vb2012\/vb2012_Lesson12.html","og_site_name":"Learn Visual Basic Programming \u2013 VB.NET, VBA &amp; Classic VB","article_publisher":"https:\/\/www.facebook.com\/Vbtutor","article_modified_time":"2018-06-24T09:59:27+00:00","og_image":[{"url":"https:\/\/www.vbtutor.net\/wordpress\/wp-content\/uploads\/2012\/04\/figure12.1.jpg","type":"","width":"","height":""}],"twitter_card":"summary_large_image","twitter_site":"@liewvk","twitter_misc":{"Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.vbtutor.net\/index.php\/visual-basic-2012-lesson-12-functions-part-1\/","url":"http:\/\/www.vbtutor.net\/vb2012\/vb2012_Lesson12.html","name":"Visual Basic 2012 Lesson 12- Functions - Learn Visual Basic Programming \u2013 VB.NET, VBA &amp; Classic VB","isPartOf":{"@id":"https:\/\/www.vbtutor.net\/#website"},"primaryImageOfPage":{"@id":"http:\/\/www.vbtutor.net\/vb2012\/vb2012_Lesson12.html#primaryimage"},"image":{"@id":"http:\/\/www.vbtutor.net\/vb2012\/vb2012_Lesson12.html#primaryimage"},"thumbnailUrl":"https:\/\/www.vbtutor.net\/wordpress\/wp-content\/uploads\/2012\/04\/figure12.1.jpg","datePublished":"2013-02-13T04:17:33+00:00","dateModified":"2018-06-24T09:59:27+00:00","description":"This Visual Basic 2012 tutorial shows you how to create functions in Visual Basic 2012","breadcrumb":{"@id":"http:\/\/www.vbtutor.net\/vb2012\/vb2012_Lesson12.html#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["http:\/\/www.vbtutor.net\/vb2012\/vb2012_Lesson12.html"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"http:\/\/www.vbtutor.net\/vb2012\/vb2012_Lesson12.html#primaryimage","url":"https:\/\/www.vbtutor.net\/wordpress\/wp-content\/uploads\/2012\/04\/figure12.1.jpg","contentUrl":"https:\/\/www.vbtutor.net\/wordpress\/wp-content\/uploads\/2012\/04\/figure12.1.jpg","width":"394","height":"179"},{"@type":"BreadcrumbList","@id":"http:\/\/www.vbtutor.net\/vb2012\/vb2012_Lesson12.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.vbtutor.net\/"},{"@type":"ListItem","position":2,"name":"Visual Basic 2012 Lesson 12- Functions"}]},{"@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"}]}},"_links":{"self":[{"href":"https:\/\/www.vbtutor.net\/index.php\/wp-json\/wp\/v2\/pages\/2381","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.vbtutor.net\/index.php\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.vbtutor.net\/index.php\/wp-json\/wp\/v2\/types\/page"}],"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=2381"}],"version-history":[{"count":37,"href":"https:\/\/www.vbtutor.net\/index.php\/wp-json\/wp\/v2\/pages\/2381\/revisions"}],"predecessor-version":[{"id":13102,"href":"https:\/\/www.vbtutor.net\/index.php\/wp-json\/wp\/v2\/pages\/2381\/revisions\/13102"}],"wp:attachment":[{"href":"https:\/\/www.vbtutor.net\/index.php\/wp-json\/wp\/v2\/media?parent=2381"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.vbtutor.net\/index.php\/wp-json\/wp\/v2\/categories?post=2381"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.vbtutor.net\/index.php\/wp-json\/wp\/v2\/tags?post=2381"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}