{"id":147,"date":"2006-12-23T23:54:53","date_gmt":"2006-12-23T21:54:53","guid":{"rendered":"https:\/\/alax.info\/blog\/147"},"modified":"2011-09-05T10:16:07","modified_gmt":"2011-09-05T08:16:07","slug":"automated-resource-updater-updated","status":"publish","type":"post","link":"https:\/\/alax.info\/blog\/147","title":{"rendered":"Automated Resource Updater updated"},"content":{"rendered":"<p>The COM object that allows automated file resource updates is updated with a few new features:<\/p>\n<ul>\n<li><a href=\"http:\/\/msdn2.microsoft.com\/en-us\/library\/aa381050.aspx\">STRINGTABLE<\/a> management, methods and properties to read\/write string resources of a binary<\/li>\n<li>BITMAP management, methods and properties to read\/write bitmap resources of a binary<\/li>\n<\/ul>\n<p>Documentation and samples are still pending, just a binary this time once again.<\/p>\n<p>Here is where one can find syntax:<\/p>\n<p><a class=\"imagelink\" title=\"23-image001.png\" href=\"https:\/\/alax.info\/blog\/wp-content\/uploads\/2006\/12\/23-image001.png\"><img decoding=\"async\" id=\"image146\" src=\"https:\/\/alax.info\/blog\/wp-content\/uploads\/2006\/12\/23-image001.thumbnail.png\" alt=\"23-image001.png\" \/><\/a><\/p>\n<p>Some more sample code:<\/p>\n<blockquote><p><em>WshShell = WScript.CreateObject(&#8220;WScript.Shell&#8221;);<br \/>\nWScript.Echo(&#8220;Current Directory: &#8221; + WshShell.CurrentDirectory);<br \/>\nImage = new ActiveXObject(&#8220;AlaxInfo.ResourceTools.Image&#8221;);<br \/>\nImage.Initialize(WshShell.CurrentDirectory + &#8220;\\\\Sample.dll&#8221;);<br \/>\nIndex = 77;<br \/>\nValue = Image.Bitmaps.Bitmap(Index).SaveToFile(null, WshShell.CurrentDirectory + &#8220;\\\\Bitmap.bmp&#8221;);<br \/>\nValue = Image.Bitmaps.Bitmap(Index + 1).LoadFromFile(1033, WshShell.CurrentDirectory + &#8220;\\\\Bitmap.bmp&#8221;);<br \/>\nValue = Image.Bitmaps.Bitmap(Index + 1).LoadFromFile(1049, WshShell.CurrentDirectory + &#8220;\\\\Bitmap.bmp&#8221;);<br \/>\nImage.Bitmaps.Update();<br \/>\nImage.EndUpdate(false); <\/em><\/p><\/blockquote>\n<p>Application Name: Alax.Info Resource Tools<br \/>\nLicense: Free for personal use, request commercial licenses via email or <a href=\"https:\/\/alax.info\/about\/\">contact form<\/a><br \/>\nLatest Version: 1.0.1.226<br \/>\nDownload Link: <del>Alax.Info Resource Tools 1.0.1.226 (285K)<\/del> <a href=\"https:\/\/www.alax.info\/svn\/public\/trunk\/ResourceTools\/ResourceToolsSetup.msi\">ResourceToolsSetup.msi<\/a> (Win32, 32-bit)<\/p>\n","protected":false},"excerpt":{"rendered":"<p>The COM object that allows automated file resource updates is updated with a few new features: STRINGTABLE management, methods and properties to read\/write string resources of a binary BITMAP management, methods and properties to read\/write bitmap resources of a binary Documentation and samples are still pending, just a binary this time once again. Here is&hellip; <\/p>\n<p><a class=\"moretag\" href=\"https:\/\/alax.info\/blog\/147\">Read the full article<\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[7],"tags":[],"class_list":["post-147","post","type-post","status-publish","format-standard","hentry","category-resource-tools"],"_links":{"self":[{"href":"https:\/\/alax.info\/blog\/wp-json\/wp\/v2\/posts\/147","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/alax.info\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/alax.info\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/alax.info\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/alax.info\/blog\/wp-json\/wp\/v2\/comments?post=147"}],"version-history":[{"count":0,"href":"https:\/\/alax.info\/blog\/wp-json\/wp\/v2\/posts\/147\/revisions"}],"wp:attachment":[{"href":"https:\/\/alax.info\/blog\/wp-json\/wp\/v2\/media?parent=147"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/alax.info\/blog\/wp-json\/wp\/v2\/categories?post=147"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/alax.info\/blog\/wp-json\/wp\/v2\/tags?post=147"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}