﻿{"id":51,"date":"2013-05-07T16:38:03","date_gmt":"2013-05-07T14:38:03","guid":{"rendered":"http:\/\/blog.pjsen.eu\/?p=51"},"modified":"2022-02-22T13:48:41","modified_gmt":"2022-02-22T12:48:41","slug":"bringing-old-projects-back-to-life-rgbgen-xp","status":"publish","type":"post","link":"https:\/\/blog.pjsen.eu\/?p=51","title":{"rendered":"Bringing old projects back to life: RGBgen XP"},"content":{"rendered":"<p>The original application was written back in 2001 in Visual Basic 6. It is quite trivial application (despite the fact, that when I first created it being a kid, for me it was not). It is intended for easily creating hexadecimal RGB codes using sliders. I know, there are plenty of similar tools, also inform of online apps. HoweverI still like the &#8220;mechanics&#8221; of the UI and its simplicity. It turns out, that I still need it.<\/p>\n<p>However, the originally compiled executable does not work on modern Windows system. I decided to check if it is possible to fix this. I took my Visual Basic 6 installation CD, started snapshotted virtual machine running Windows XP and opened source project files. The application had simple HTML editor and used a few really esoteric OCX controls. In fact, they were not essential for the application&#8217;s core functionality. After removing unnecessary references from the project and disabling some of the UI components, I recompiled the source code so that it uses only &#8220;out of the box&#8221; Visual Basic libraries. The Windows operating system includes Visual Basic 6 runtime DLL even now and finally I managed to run the application on my Windows 7 64-bit machine.<\/p>\n<p>If you want to give it a try, you can download it from <a title=\"\" href=\"https:\/\/1drv.ms\/u\/s!AuxTWB-KHV5JkwHByx_24QmrJ4NF?e=hqhnn8\">my Skydrive<\/a><\/p>\n<p><img decoding=\"async\" class=\"aligncenter\" alt=\"RGBGen XP\" src=\"https:\/\/blog.pjsen.eu\/wp-content\/uploads\/2013\/09\/rgbgenxp.png\" \/><\/p>\n","protected":false},"excerpt":{"rendered":"<p>The original application was written back in 2001 in Visual Basic 6. It is quite trivial application (despite the fact, that when I first created it being a kid, for me it was not). It is intended for easily creating hexadecimal RGB codes using sliders. I know, there are plenty of similar tools, also inform<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-51","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/blog.pjsen.eu\/index.php?rest_route=\/wp\/v2\/posts\/51","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.pjsen.eu\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.pjsen.eu\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.pjsen.eu\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.pjsen.eu\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=51"}],"version-history":[{"count":0,"href":"https:\/\/blog.pjsen.eu\/index.php?rest_route=\/wp\/v2\/posts\/51\/revisions"}],"wp:attachment":[{"href":"https:\/\/blog.pjsen.eu\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=51"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.pjsen.eu\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=51"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.pjsen.eu\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=51"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}