{"id":413,"date":"2011-10-31T07:27:00","date_gmt":"2011-10-31T14:27:00","guid":{"rendered":"https:\/\/blogs.msdn.microsoft.com\/vbteam\/2011\/10\/31\/halloween-vb-style\/"},"modified":"2024-07-05T12:39:13","modified_gmt":"2024-07-05T19:39:13","slug":"halloween-vb-style","status":"publish","type":"post","link":"https:\/\/devblogs.microsoft.com\/vbteam\/halloween-vb-style\/","title":{"rendered":"Halloween: VB Style!"},"content":{"rendered":"<p>Imagine this. It&rsquo;s Halloween. You&rsquo;ve got a costume party to go to at 7 but there&rsquo;s one small hiccup &ndash; you&rsquo;ve got no costume. As a VB programmer you&rsquo;re used to coming up with nick-of-time solutions to all manner of complex business problems but all your coding skills won&rsquo;t help you now. After all, you can&rsquo;t just code up a costume &ndash; <i>or can you?<\/i> Here&rsquo;s a little number I cooked up two years ago (before I joined the Developer Ghouls division at Microsoft) called the Opensourus Hex costume.<\/p>\n<p>First, make up a short but interesting VB program and write it out (in carefully color-coded marker) on a white t-shirt like so:<\/p>\n<p><a href=\"https:\/\/devblogs.microsoft.com\/vbteam\/wp-content\/uploads\/sites\/7\/2011\/10\/1184.opensourus-front.jpg\"><img decoding=\"async\" border=\"0\" alt=\"\" src=\"https:\/\/devblogs.microsoft.com\/vbteam\/wp-content\/uploads\/sites\/7\/2011\/10\/1184.opensourus-front.jpg\" \/><\/a><\/p>\n<p>Don&rsquo;t forget to include your license:<\/p>\n<p><a href=\"https:\/\/devblogs.microsoft.com\/vbteam\/wp-content\/uploads\/sites\/7\/2011\/10\/2867.opensourus-license.jpg\"><img decoding=\"async\" border=\"0\" alt=\"\" src=\"https:\/\/devblogs.microsoft.com\/vbteam\/wp-content\/uploads\/sites\/7\/2011\/10\/2867.opensourus-license.jpg\" \/><\/a><\/p>\n<p>Get yourself a box and throw in some art supplies &ndash; string, tape, construction paper, beer cans, whatever &ndash; label it &ldquo;SDK&rdquo; or &ldquo;Developer Tools&rdquo;.<\/p>\n<p><a href=\"https:\/\/devblogs.microsoft.com\/vbteam\/wp-content\/uploads\/sites\/7\/2011\/10\/6888.opensourus-sdk.bmp\"><img decoding=\"async\" border=\"0\" alt=\"\" src=\"https:\/\/devblogs.microsoft.com\/vbteam\/wp-content\/uploads\/sites\/7\/2011\/10\/6888.opensourus-sdk.bmp\" \/><\/a><\/p>\n<p>Print off some reference materials:<\/p>\n<p><a href=\"https:\/\/devblogs.microsoft.com\/vbteam\/wp-content\/uploads\/sites\/7\/2011\/10\/3201.opensourus-faq.bmp\"><img decoding=\"async\" border=\"0\" alt=\"\" src=\"https:\/\/devblogs.microsoft.com\/vbteam\/wp-content\/uploads\/sites\/7\/2011\/10\/3201.opensourus-faq.bmp\" \/><\/a><br \/>And then let all of your friends at the party go nuts interactively creating you a costume (while asking you to explain all the 1337 VBisms written on your chest. It may sound silly but trust me it&rsquo;s fun (for you AND your fellow party-goers). I actually did this with an old friend of mine two years back and he kept the project going for two years in a row. Take a look at some of the things his friends came up with:<\/p>\n<p><strong>Opensourus Hex v1.0<\/strong><\/p>\n<p><em>Friend (Eric) wearing costume next to then dev lead (Me)<\/em><\/p>\n<p><a href=\"https:\/\/devblogs.microsoft.com\/vbteam\/wp-content\/uploads\/sites\/7\/2011\/10\/1440.eric-anthony.jpg\"><img decoding=\"async\" border=\"0\" alt=\"\" src=\"https:\/\/devblogs.microsoft.com\/vbteam\/wp-content\/uploads\/sites\/7\/2011\/10\/1440.eric-anthony.jpg\" \/><\/a>&nbsp;<\/p>\n<p><em>Opensourus several iterations later:<\/em><\/p>\n<p><a href=\"https:\/\/devblogs.microsoft.com\/vbteam\/wp-content\/uploads\/sites\/7\/2011\/10\/1423.opensourus-stable-10.jpg\"><img decoding=\"async\" border=\"0\" alt=\"\" src=\"https:\/\/devblogs.microsoft.com\/vbteam\/wp-content\/uploads\/sites\/7\/2011\/10\/1423.opensourus-stable-10.jpg\" \/><\/a>&nbsp;<\/p>\n<p><strong>Opensourus v2.0<\/strong><\/p>\n<p><a href=\"https:\/\/devblogs.microsoft.com\/vbteam\/wp-content\/uploads\/sites\/7\/2011\/10\/7522.opensourus-stable-20.jpg\"><img decoding=\"async\" border=\"0\" alt=\"\" src=\"https:\/\/devblogs.microsoft.com\/vbteam\/wp-content\/uploads\/sites\/7\/2011\/10\/7522.opensourus-stable-20.jpg\" \/><\/a>&nbsp;<\/p>\n<p><a href=\"https:\/\/devblogs.microsoft.com\/vbteam\/wp-content\/uploads\/sites\/7\/2011\/10\/3683.opensourus-stable-21.jpg\"><img decoding=\"async\" border=\"0\" alt=\"\" src=\"https:\/\/devblogs.microsoft.com\/vbteam\/wp-content\/uploads\/sites\/7\/2011\/10\/3683.opensourus-stable-21.jpg\" \/><\/a><\/p>\n<p><a href=\"https:\/\/devblogs.microsoft.com\/vbteam\/wp-content\/uploads\/sites\/7\/2011\/10\/3678.opensourus-stable-22.jpg\"><img decoding=\"async\" border=\"0\" alt=\"\" src=\"https:\/\/devblogs.microsoft.com\/vbteam\/wp-content\/uploads\/sites\/7\/2011\/10\/3678.opensourus-stable-22.jpg\" \/><\/a><\/p>\n<p>That&#8217;s the best thing about the Opensourus costume &#8211; every year it&#8217;s different.<\/p>\n<p>In my next post I&rsquo;ll show you how to use VB lambda expressions as a last minute substitute to an undercooked Thanksgiving turkey (<i>or will I?<\/i>).<\/p>\n<p>&nbsp;<\/p>\n<p>Happy Halloween and Happy Coding!<\/p>\n<p><b>&nbsp;<\/b><\/p>\n<p><b>Anthony D. Green<\/b><br \/>Program Manager<br \/><b>Visual Basic &amp; C# Languages Team<\/b><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Imagine this. It&rsquo;s Halloween. You&rsquo;ve got a costume party to go to at 7 but there&rsquo;s one small hiccup &ndash; you&rsquo;ve got no costume. As a VB programmer you&rsquo;re used to coming up with nick-of-time solutions to all manner of complex business problems but all your coding skills won&rsquo;t help you now. After all, you [&hellip;]<\/p>\n","protected":false},"author":258,"featured_media":8818,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[195],"tags":[35],"class_list":["post-413","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-visual-basic","tag-anthony-d-green"],"acf":[],"blog_post_summary":"<p>Imagine this. It&rsquo;s Halloween. You&rsquo;ve got a costume party to go to at 7 but there&rsquo;s one small hiccup &ndash; you&rsquo;ve got no costume. As a VB programmer you&rsquo;re used to coming up with nick-of-time solutions to all manner of complex business problems but all your coding skills won&rsquo;t help you now. After all, you [&hellip;]<\/p>\n","_links":{"self":[{"href":"https:\/\/devblogs.microsoft.com\/vbteam\/wp-json\/wp\/v2\/posts\/413","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/devblogs.microsoft.com\/vbteam\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/devblogs.microsoft.com\/vbteam\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/vbteam\/wp-json\/wp\/v2\/users\/258"}],"replies":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/vbteam\/wp-json\/wp\/v2\/comments?post=413"}],"version-history":[{"count":0,"href":"https:\/\/devblogs.microsoft.com\/vbteam\/wp-json\/wp\/v2\/posts\/413\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/vbteam\/wp-json\/wp\/v2\/media\/8818"}],"wp:attachment":[{"href":"https:\/\/devblogs.microsoft.com\/vbteam\/wp-json\/wp\/v2\/media?parent=413"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/vbteam\/wp-json\/wp\/v2\/categories?post=413"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/vbteam\/wp-json\/wp\/v2\/tags?post=413"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}