<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://addressof.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>AddressOf.com : Windows Forms, Tools</title><link>http://addressof.com/blog/archive/tags/Windows+Forms/Tools/default.aspx</link><description>Tags: Windows Forms, Tools</description><dc:language>en</dc:language><generator>CommunityServer 2.1 (Build: 60809.935)</generator><item><title>Why?</title><link>http://addressof.com/blog/archive/2011/01/16/Why_3F00_.aspx</link><pubDate>Sun, 16 Jan 2011 15:17:00 GMT</pubDate><guid isPermaLink="false">71d585fb-e1da-4feb-ae24-6d48b96093ce:746719</guid><dc:creator>CorySmith</dc:creator><slash:comments>0</slash:comments><comments>http://addressof.com/blog/comments/746719.aspx</comments><wfw:commentRss>http://addressof.com/blog/commentrss.aspx?PostID=746719</wfw:commentRss><description>&lt;p&gt;Why aren&amp;#39;t there any decent audio libraries for .NET?&amp;nbsp; Don&amp;#39;t get me wrong, it&amp;#39;s nice that the framework supports some audio features in a very simple way if you want to just play something.&amp;nbsp; However, if you need access to the audio data to manipulate it in whatever way or just want to know the duration, play location, audio levels, etc... why is it so difficult?&amp;nbsp; To add, there are now nearly a handful of audio sub-systems to choose from... Windows Multimedia, Asio, DirectSound and the new audio subsystem included with Windows Vista / Windows 7.&amp;nbsp; It seems that if you want to play in the world of audio, you really have to get your hands very dirty by digging at full depth into API land.&lt;/p&gt;&lt;p&gt;Oh well, guess it&amp;#39;s time to get my hands dirty. ;-)&lt;/p&gt;&lt;img src="http://addressof.com/aggbug.aspx?PostID=746719" width="1" height="1"&gt;</description><category domain="http://addressof.com/blog/archive/tags/Windows+Forms/default.aspx">Windows Forms</category><category domain="http://addressof.com/blog/archive/tags/VB/default.aspx">VB</category><category domain="http://addressof.com/blog/archive/tags/VC_2300_/default.aspx">VC#</category><category domain="http://addressof.com/blog/archive/tags/Visual+Studio/default.aspx">Visual Studio</category><category domain="http://addressof.com/blog/archive/tags/DirectX/default.aspx">DirectX</category><category domain="http://addressof.com/blog/archive/tags/Tools/default.aspx">Tools</category><category domain="http://addressof.com/blog/archive/tags/Interop/default.aspx">Interop</category><category domain="http://addressof.com/blog/archive/tags/Vista/default.aspx">Vista</category><category domain="http://addressof.com/blog/archive/tags/Windows/default.aspx">Windows</category><category domain="http://addressof.com/blog/archive/tags/WPF/default.aspx">WPF</category></item><item><title>Adventures in Windows Vista (x64) - Part 2</title><link>http://addressof.com/blog/archive/2007/05/24/Adventures-in-Windows-Vista-_2800_x64_2900_-_2D00_-Part-2.aspx</link><pubDate>Thu, 24 May 2007 13:27:00 GMT</pubDate><guid isPermaLink="false">71d585fb-e1da-4feb-ae24-6d48b96093ce:290158</guid><dc:creator>CorySmith</dc:creator><slash:comments>0</slash:comments><comments>http://addressof.com/blog/comments/290158.aspx</comments><wfw:commentRss>http://addressof.com/blog/commentrss.aspx?PostID=290158</wfw:commentRss><description>&lt;p&gt;After running Vista x64 on another machine for a few days; installing various pieces of critical software and seeing that everything seemed to be working smoothly... I&amp;#39;ve made the full leap on my main desktop machine (the one that now has 4GB of memory).&lt;/p&gt;&lt;p&gt;Some interesting &amp;quot;facts&amp;quot;:&lt;/p&gt;&lt;ul&gt;&lt;li&gt;Windows Experience Index reports my processor running at a 5.0 (was 4.9 in 32-bit).&lt;/li&gt;&lt;li&gt;Memory running at a 4.8 (was 4.6 in 32-bit).&lt;/li&gt;&lt;li&gt;I have 66% of my memory free while running Outlook, Visual Studio 2005,&amp;nbsp;SmartFTP, a few instances of Internet Explorer, several gadgets, Xfire&amp;nbsp;and SQL Server Management.&lt;/li&gt;&lt;li&gt;Windows Vista had *ALL* drivers available from Microsoft upon installation completion.&amp;nbsp; Yes, this includes my scanner, printer and even the nVidia 8800 video card (which wasn&amp;#39;t available January 30th for 32-bit, so it looks like it was added).&lt;/li&gt;&lt;li&gt;Lord of the Rings Online no longer pegs the memory meter when I have *everything* maxed out for the graphics option... thus no more thrashing the drive while playing and everything is beautiful!&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;&lt;strong&gt;Out&amp;nbsp;Of&amp;nbsp;The Box Experience&lt;/strong&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;So the out of the box experience for installation has been pretty good thus far.&amp;nbsp; Just in case, I do have 32-bit still available to me by rebooting, selecting the boot drive in the BIOS.&amp;nbsp; In order to handle swapping versions, I&amp;#39;ve got 3 physical drives in the machine... the original drive, a &amp;quot;data&amp;quot; drive and a 10,000rpm drive running the x64 version of Vista.&amp;nbsp; Windows Vista includes a pretty interesting new feature where you can go into your user folder, right click on a folder in there such as Pictures, click properties.&amp;nbsp; Once you have the properties dialog visible, select the Location tab.&amp;nbsp; At this point, you can have the folder located wherever you wish.&amp;nbsp; What I&amp;#39;ve done is put various folders (Downloads, Pictures, Music, Videos, etc.) on the &amp;quot;data&amp;quot; drive (D:\).&amp;nbsp; I&amp;#39;ve done this for both the 64-bit and 32-bit instances... so when I switch, all my &amp;quot;data&amp;quot; is still available.&lt;/p&gt;&lt;p&gt;Eventually I see me 100% on Vista x64; but just in case something comes up I can switch and still get work done.&lt;/p&gt;&lt;p&gt;&lt;strong&gt;Software Compatibility&lt;/strong&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Regarding software.&amp;nbsp; So far so good.&amp;nbsp; Experience has been that anything that runs on Windows Vista 32-bit seems to work (for the most part) on x64.&amp;nbsp; I have had a few weird glitches such as:&lt;/p&gt;&lt;ul&gt;&lt;li&gt;Dungeons and Dragons Online: Stormreach - upon exiting the game, I get a dndclient.exe has stopped working generic error.&amp;nbsp; Of course, I&amp;#39;m sending the error report, hopefully it will get resolved automagically.&lt;/li&gt;&lt;li&gt;Whatever the issue is with DDO, Lord of the Rings Online experiences the same problem... So Turbine (the developers) needs to fix it in two places.&lt;/li&gt;&lt;li&gt;Launching Windows Media Player and Windows Movie Maker for the first time gave me some COM registration errors.&amp;nbsp; However, everything seems to work just fine as all my music, streaming video and local video&amp;nbsp;plays (or edits in the case of video)&amp;nbsp;just fine.&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;&lt;strong&gt;Multiplicity Update&lt;/strong&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;An update regarding the Multiplicity issue I encountered in the previous post - this was operator error.&amp;nbsp; It&amp;#39;s been so long since I&amp;#39;ve installed Multiplicity, that I didn&amp;#39;t realize that the Copy/Paste feature was optional and turned off by default.&amp;nbsp; Turning it on, all works as expected.&lt;/p&gt;&lt;p&gt;&lt;strong&gt;Software Development &amp;quot;Issues&amp;quot;&lt;/strong&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;More updates on the developer side of things.&amp;nbsp; I needed to update my Movie Jukebox software to recompile as a 32-bit application since it appears that Microsoft SQL Server 2005 Compact Edition doesn&amp;#39;t work in 64-bit mode.&amp;nbsp; Strange.&lt;/p&gt;&lt;p&gt;&lt;strong&gt;Summary&lt;/strong&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;All in all, so far the experience of moving to Windows Vista 64-bit is, thus far, a lot less problematic than moving from Windows 95/98 to Windows NT 4.0.&amp;nbsp; I&amp;#39;ll keep you posted...&lt;/p&gt;&lt;img src="http://addressof.com/aggbug.aspx?PostID=290158" width="1" height="1"&gt;</description><category domain="http://addressof.com/blog/archive/tags/Windows+Forms/default.aspx">Windows Forms</category><category domain="http://addressof.com/blog/archive/tags/VB/default.aspx">VB</category><category domain="http://addressof.com/blog/archive/tags/VC_2300_/default.aspx">VC#</category><category domain="http://addressof.com/blog/archive/tags/Visual+Studio/default.aspx">Visual Studio</category><category domain="http://addressof.com/blog/archive/tags/Tools/default.aspx">Tools</category><category domain="http://addressof.com/blog/archive/tags/Vista/default.aspx">Vista</category><category domain="http://addressof.com/blog/archive/tags/Windows/default.aspx">Windows</category><category domain="http://addressof.com/blog/archive/tags/Tip/default.aspx">Tip</category></item><item><title>It's 2:12am and I'm done with a new VS2005 Macro hack</title><link>http://addressof.com/blog/archive/2007/03/02/It_2700_s-2_3A00_12am-and-I_2700_m-done-with-a-new-VS2005-Macro-hack.aspx</link><pubDate>Fri, 02 Mar 2007 05:13:00 GMT</pubDate><guid isPermaLink="false">71d585fb-e1da-4feb-ae24-6d48b96093ce:290025</guid><dc:creator>CorySmith</dc:creator><slash:comments>0</slash:comments><comments>http://addressof.com/blog/comments/290025.aspx</comments><wfw:commentRss>http://addressof.com/blog/commentrss.aspx?PostID=290025</wfw:commentRss><description>&lt;p&gt;I need to run it through it&amp;#39;s paces, but I now have a VS2005 macro that will, whenever I successfully build a release mode project, package the project folder into a zip file named [ProjectName]_src_v[OutputAssemblyFileVersion].zip.&amp;nbsp; And it doesn&amp;#39;t require anything additional to be installed on the machine.&amp;nbsp; And it&amp;#39;s not using the zip functionality from the J# libraries either.&amp;nbsp; This thing is all about leveraging the zip functionality that is built into Windows XP and above.&amp;nbsp; So it&amp;#39;s down to being Windows Vista (that&amp;#39;s what I run) + Visual Studio 2005 + a macro (cut-n-paste it into the Macros IDE).&lt;/p&gt;&lt;p&gt;I&amp;#39;m going to run it for a few days to make sure it appears pretty stable and then make it available along with a short article explaining the processes that are taking place to accomplish what should be such a simple task. ;-)&lt;/p&gt;&lt;img src="http://addressof.com/aggbug.aspx?PostID=290025" width="1" height="1"&gt;</description><category domain="http://addressof.com/blog/archive/tags/Windows+Forms/default.aspx">Windows Forms</category><category domain="http://addressof.com/blog/archive/tags/VB/default.aspx">VB</category><category domain="http://addressof.com/blog/archive/tags/Visual+Studio/default.aspx">Visual Studio</category><category domain="http://addressof.com/blog/archive/tags/Tools/default.aspx">Tools</category><category domain="http://addressof.com/blog/archive/tags/Interop/default.aspx">Interop</category><category domain="http://addressof.com/blog/archive/tags/Macro/default.aspx">Macro</category></item><item><title>Living in a Land of Obfuscation</title><link>http://addressof.com/blog/archive/2006/05/08/Living-in-a-Land-of-Obfuscation.aspx</link><pubDate>Mon, 08 May 2006 10:57:00 GMT</pubDate><guid isPermaLink="false">71d585fb-e1da-4feb-ae24-6d48b96093ce:10889</guid><dc:creator>CorySmith</dc:creator><slash:comments>1</slash:comments><comments>http://addressof.com/blog/comments/10889.aspx</comments><wfw:commentRss>http://addressof.com/blog/commentrss.aspx?PostID=10889</wfw:commentRss><description>&lt;p&gt;You know, I&amp;#39;m all for making some things available for free; but at the same time want to protect my &amp;ldquo;property&amp;rdquo; as much as possible.&amp;nbsp; With great tools such as Reflector being available; you really need to consider using obfuscation to at least make it a little more difficult to reverse engineer your code.&amp;nbsp; In addition, most professional obfuscators offer the ability to encrypt embedded strings; which allows for an added level of &amp;ldquo;security&amp;rdquo;.&amp;nbsp; I quote security since it&amp;#39;s nearly impossible to 100% protect anything; all obfuscation does is raise the level of entry to reverse engineer and modify the value proposition for doing so.&lt;/p&gt;&lt;p&gt;OK, so it&amp;#39;s important to obfuscate.&amp;nbsp; What kind of problems are you going to run into doing so?&lt;/p&gt;&lt;p&gt;Well, one of the biggest negatives is that you lose some of the *HUGE* benefits of reflection and debugging.&amp;nbsp; If your code is not obfuscated and an error occurs; it&amp;#39;s really simple to see where the error occured thus allowing you to quickly identify the problem and get it resolved.&amp;nbsp; If all the class/method names are jumbled, you lose this benefit.&lt;/p&gt;&lt;p&gt;What else is there?&lt;/p&gt;&lt;p&gt;If you are utilizing serialization (and you might be and not even know it), you have to make sure that these classes/methods are not obfuscated (renamed); otherwise every time you compile and obfuscate, you could have newer names.&amp;nbsp; Even if you were using an obfuscator that could remember the names from one compile to another; your resulting xml file (or whatever target) would contain these jumbled names and not the original... removing one of the benefits of XML in the first place... human readability.&lt;/p&gt;&lt;p&gt;Is there anything else?&lt;/p&gt;&lt;p&gt;Yes.&amp;nbsp; Depending on the tool you are using, you might not have an integrated development experience within Visual Studio.&amp;nbsp; If you are lucky enough to have one that is integrated, you might experience bugs introduced by the manufacturer of the obfuscation tool that causes &amp;ldquo;other errors&amp;rdquo; such as not being able to add Web References.&amp;nbsp; I experienced this with a previous version of Dotfuscator and after chasing my tail in circles for a while, one of the things I tried caused Dotfuscator to notify me that there was a newer version available.&amp;nbsp; When I uninstalled the previous version getting ready to install the newer one (why I had to do this with such an expensive product is beyond me, but...); I figured I&amp;#39;d try the add web reference problem.&amp;nbsp; Sure enough, it was fixed.&amp;nbsp; Installing the newer version didn&amp;#39;t break it either, so now I&amp;#39;m golden.&lt;/p&gt;&lt;p&gt;Surely there is more...&lt;/p&gt;&lt;p&gt;Of course there&amp;#39;s more.&amp;nbsp; ClickOnce.&lt;/p&gt;&lt;p&gt;ClickOnce and Obfuscation don&amp;#39;t have a great story at this stage of the game.&amp;nbsp; Visual Studio makes it really simple to utilize ClickOnce deployment from within the environment.&amp;nbsp; However, you can&amp;#39;t integrated obfuscation as part of this process.&amp;nbsp; So if you want to use obfuscation, you aren&amp;#39;t able to use the integrated tool. :-(&lt;/p&gt;&lt;p&gt;However, all is not lost.&amp;nbsp; There&amp;#39;s a tool called MageUI.&amp;nbsp; This tool allows you to modify the manifest files associated with ClickOnce.&amp;nbsp; It&amp;#39;s a manual process, but not too difficult to deal with once you get it initially setup.&amp;nbsp; I&amp;#39;ll post a follow up on how to use MageUI.exe.&lt;br /&gt;&lt;/p&gt;&lt;img src="http://addressof.com/aggbug.aspx?PostID=10889" width="1" height="1"&gt;</description><category domain="http://addressof.com/blog/archive/tags/Windows+Forms/default.aspx">Windows Forms</category><category domain="http://addressof.com/blog/archive/tags/Visual+Studio/default.aspx">Visual Studio</category><category domain="http://addressof.com/blog/archive/tags/Tools/default.aspx">Tools</category><category domain="http://addressof.com/blog/archive/tags/Obfuscation/default.aspx">Obfuscation</category></item><item><title>Visual Favorites - Early Alpha Build</title><link>http://addressof.com/blog/archive/2004/07/03/805.aspx</link><pubDate>Sat, 03 Jul 2004 04:51:00 GMT</pubDate><guid isPermaLink="false">71d585fb-e1da-4feb-ae24-6d48b96093ce:805</guid><dc:creator>CorySmith</dc:creator><slash:comments>11</slash:comments><comments>http://addressof.com/blog/comments/805.aspx</comments><wfw:commentRss>http://addressof.com/blog/commentrss.aspx?PostID=805</wfw:commentRss><description>&lt;P&gt;I've got a very early alpha build of the Visual Favorites application I &lt;A href="http://addressof.com/blog/archive/2004/06/10/736.aspx"&gt;mentioned&lt;/A&gt; a couple of weeks ago.&amp;nbsp; I've been real busy working on a lot of things, so this got a little neglected.&amp;nbsp; Spent last night and tonight getting it polished up a bit for the features that are currently active.&lt;/P&gt;
&lt;P&gt;Currently, it:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Drag and Drop favorites between folders. 
&lt;LI&gt;Automatically downloads favicon.ico icons if they are specified in the favorites file.&amp;nbsp; These are cached for future reference. 
&lt;LI&gt;Modify the name of a favorite. 
&lt;LI&gt;Contains a simplified browser to assist you in managing your favorites. 
&lt;LI&gt;Browser allows you to go forward/back, stop, refresh, go home, and enter a url to browse to. 
&lt;LI&gt;When on a page, you can easily add an item to your favorites under the currently selected folder. 
&lt;LI&gt;Alt+F1 will toggle the folder view pane for more browser real estate.&lt;/LI&gt;&lt;/UL&gt;
&lt;P&gt;That's about it for now.&amp;nbsp; Right now, it's sort of a mesh of various features that you can already do today as separate components.&amp;nbsp; Still have a long way to go before it's where I'd like to see it.&amp;nbsp; If you have any suggestions for what you'd like to see added, please don't hesitate to say so.&lt;/P&gt;
&lt;P&gt;If you feel a little brave (actually, it's been pretty well tested in it's current state), you can download the first alpha &lt;A href="http://addressof.com/updates/visualfavorites_v0.0.0.1.zip"&gt;here&lt;/A&gt;&amp;nbsp;(&lt;EM&gt;Note: you must extract *all* of the files to the same folder to run&lt;/EM&gt;).&lt;/P&gt;&lt;img src="http://addressof.com/aggbug.aspx?PostID=805" width="1" height="1"&gt;</description><category domain="http://addressof.com/blog/archive/tags/Windows+Forms/default.aspx">Windows Forms</category><category domain="http://addressof.com/blog/archive/tags/Tools/default.aspx">Tools</category></item><item><title>VisualFavorites - A teaser screen capture.</title><link>http://addressof.com/blog/archive/2004/06/11/736.aspx</link><pubDate>Fri, 11 Jun 2004 04:24:00 GMT</pubDate><guid isPermaLink="false">71d585fb-e1da-4feb-ae24-6d48b96093ce:736</guid><dc:creator>CorySmith</dc:creator><slash:comments>6</slash:comments><comments>http://addressof.com/blog/comments/736.aspx</comments><wfw:commentRss>http://addressof.com/blog/commentrss.aspx?PostID=736</wfw:commentRss><description>&lt;P&gt;&lt;A href="http://addressof.com/articles/visualfavorites_large.jpg" target=screenshot&gt;&lt;IMG src="/articles/visualfavorites.jpg" border=0&gt;&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;The main menu and toolbars aren't completed just yet (more of a placeholder), worked on getting the general layout (which is all resizable) complete.&amp;nbsp; Also got all the folder editing (new, rename, delete) via context menu and now include drag 'n drop folder moving.&amp;nbsp; The treeview drag 'n drop emulates the behavior of Windows Explorer and Outlook 2003 (the folders highlight as you drag the cursor over them).&amp;nbsp; The favorites list has also gained a context menu for open, rename and delete.&lt;/P&gt;
&lt;P&gt;[update] added a link to a &lt;A href="http://addressof.com/articles/visualfavorites_large.jpg" target=screenshot&gt;full size image&lt;/A&gt;.&lt;/P&gt;&lt;img src="http://addressof.com/aggbug.aspx?PostID=736" width="1" height="1"&gt;</description><category domain="http://addressof.com/blog/archive/tags/Windows+Forms/default.aspx">Windows Forms</category><category domain="http://addressof.com/blog/archive/tags/VB/default.aspx">VB</category><category domain="http://addressof.com/blog/archive/tags/Tools/default.aspx">Tools</category></item><item><title>New VB.NET sample application coming soon...</title><link>http://addressof.com/blog/archive/2004/06/10/732.aspx</link><pubDate>Thu, 10 Jun 2004 08:17:00 GMT</pubDate><guid isPermaLink="false">71d585fb-e1da-4feb-ae24-6d48b96093ce:732</guid><dc:creator>CorySmith</dc:creator><slash:comments>8</slash:comments><comments>http://addressof.com/blog/comments/732.aspx</comments><wfw:commentRss>http://addressof.com/blog/commentrss.aspx?PostID=732</wfw:commentRss><description>&lt;P&gt;I'm now working on a utilitarian type application that will allow you to manage your Internet Explorer favorites in a much better way.&amp;nbsp; Well, at least in a way that I find 'better'. ;-)&amp;nbsp; I've been toying with this idea for a while and now it's begun.&lt;/P&gt;
&lt;P&gt;Since there are a ton of these types of applications that exist today out in the wild, there's not really any reason to do anything serious with this application so I'm going to be making it available to everyone at no cost. &amp;nbsp;I wasn't impressed with the free ones available and the ones that cost money just didn't seem to have enough in them to justify the costs.&amp;nbsp; Will what I'm working on be as good as what is already available, don't know.&amp;nbsp; I just started on it tonight and have gotten pretty far already; so who knows what this utility will grow into.&lt;/P&gt;
&lt;P&gt;Basically, I'm setting it up in a three pane layout (similar to the Outlook 2003 layout) where the first pane is the folders, second pane is the favorites in that folder and the third pane being&amp;nbsp;a embedded browser.&amp;nbsp; This way you can click on a favorite, see the page and decide what the favorite should really be called and what folder it should go in.&amp;nbsp; Drag and drop is enabled to move the favorites into other folders.&amp;nbsp; Context menus are available that allow you to add/remove/rename folders and remove/rename favorites.&lt;/P&gt;
&lt;P&gt;As it is now, I save favorites to my desktop.&amp;nbsp; Then, it gets so cluttered, I end up copying all of them to some other folder (usually called Stuff).&amp;nbsp; Then, at some point that folder gets copied yet some other place and eventually I have favorites that I meant to get back to and can't remember where they all were.&amp;nbsp; The folders feature in IE is a good idea, but it's not real conducive to browsing quickly.&amp;nbsp; Basically, I'm wanting an application that allows me to dump bookmarks into and quickly be able to find something that I bookmarked when I get a chance to get back to whatever it was (which may be several months later).&amp;nbsp; So obviously, future additions will included some sort of search mechanism, possibly a caching mechanism to allow deep searches of the html and I'm toying with the idea of leveraging a web service so that you can use the application on multiple computers (home and office) and have access to all your favorites.&lt;/P&gt;
&lt;P&gt;From a development point of view, some of the principles going into this application will include drag and drop within treeview nodes and listview items (also within&amp;nbsp;the application and cross application with IE and Windows Explorer), Docking and Anchoring, Context Menus... what else will be included, not really sure at this point (there will be a lot more, including the possibility of some Patterns &amp;amp; Practices).&amp;nbsp; Most of these will probably be seperated out into various articles showing how to accomplish the same tasks.&lt;/P&gt;
&lt;P&gt;Let me know if your interested in this and what other types of coding&amp;nbsp;sample(s) you might be interested in seeing demonstrated.&lt;/P&gt;&lt;img src="http://addressof.com/aggbug.aspx?PostID=732" width="1" height="1"&gt;</description><category domain="http://addressof.com/blog/archive/tags/Windows+Forms/default.aspx">Windows Forms</category><category domain="http://addressof.com/blog/archive/tags/VB/default.aspx">VB</category><category domain="http://addressof.com/blog/archive/tags/Tools/default.aspx">Tools</category></item><item><title>Obfuscation Tip of the Day - Embedded Resources</title><link>http://addressof.com/blog/archive/2004/05/18/Obfuscation-Tip-of-the-Day-_2D00_-Embedded-Resources.aspx</link><pubDate>Tue, 18 May 2004 04:45:00 GMT</pubDate><guid isPermaLink="false">71d585fb-e1da-4feb-ae24-6d48b96093ce:694</guid><dc:creator>CorySmith</dc:creator><slash:comments>2</slash:comments><comments>http://addressof.com/blog/comments/694.aspx</comments><wfw:commentRss>http://addressof.com/blog/commentrss.aspx?PostID=694</wfw:commentRss><description>&lt;P&gt;When loading embedded resources like bitmaps and icons from your assembly, such as using the following method as described by Windows Forms Programming in Visual Basic .NET (Chris Sells &amp;amp; Justin Gehtland):&lt;/P&gt;&lt;SPAN&gt;&lt;SPAN&gt;
&lt;P class=MsoNormal style="MARGIN:0in 0in 0pt;"&gt;&lt;SPAN style="FONT-SIZE:10pt;FONT-FAMILY:'Courier New';"&gt;NotifyIcon1.Icon = &lt;SPAN style="COLOR:blue;"&gt;New&lt;/SPAN&gt; Icon(&lt;SPAN style="COLOR:blue;"&gt;Me&lt;/SPAN&gt;.GetType, "graphic.ico")&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN:0in 0in 0pt;"&gt;&lt;SPAN style="FONT-SIZE:10pt;FONT-FAMILY:'Courier New';"&gt;&lt;/SPAN&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN:0in 0in 0pt;"&gt;&lt;/SPAN&gt;&lt;SPAN&gt;It sure seems straight forward enough.&amp;nbsp; It looks a whole lot simpler than the following method:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN:0in 0in 0pt;"&gt;&lt;SPAN&gt;&lt;/SPAN&gt;&amp;nbsp;&lt;/P&gt;&lt;/SPAN&gt;&lt;SPAN&gt;
&lt;P class=MsoNormal style="MARGIN:0in 0in 0pt;"&gt;&lt;SPAN style="FONT-SIZE:10pt;FONT-FAMILY:'Courier New';"&gt;NotifyIcon1.Icon = &lt;SPAN style="COLOR:blue;"&gt;New&lt;/SPAN&gt; Icon(System.Reflection.Assembly.GetExecutingAssembly().GetManifestResourceStream("WindowsApplication1.graphic.ico"))&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;/SPAN&gt;So, when I saw this while reading through (what is, by the way, one of the best books I've read on Windows Forms development in .NET), I though that I would switch all instances in my code where I'm using the second method with the newly discovered one.&amp;nbsp; Testing the code in debug mode (which I don't obfuscate) worked without any issues whatsoever.&amp;nbsp; However, once I got ready to debug in Release mode (which is obviously obfuscated), problems started rearing their ugly head.&amp;nbsp; To make matters even worse, one of my components (which is specific to this assembly) also had embedding graphics.&amp;nbsp; Because the OnPaint method was trying to loaded embedded graphics... it apparently caused the component not to be loadable in the designer (while in Release mode) and decided to just conveniently remove itself from the designer.&amp;nbsp; Not to bad in and of itself, however, because I'm using an interesting combination of docking and anchoring, it caused a few headaches.&lt;/P&gt;
&lt;P&gt;So, although the newly discovered mechanism looked much more efficient and easier to use; the original one works when you obfuscate the assembly, while the new one definitely fails most miserably.&lt;/P&gt;&lt;img src="http://addressof.com/aggbug.aspx?PostID=694" width="1" height="1"&gt;</description><category domain="http://addressof.com/blog/archive/tags/Windows+Forms/default.aspx">Windows Forms</category><category domain="http://addressof.com/blog/archive/tags/VB/default.aspx">VB</category><category domain="http://addressof.com/blog/archive/tags/Tools/default.aspx">Tools</category><category domain="http://addressof.com/blog/archive/tags/Obfuscation/default.aspx">Obfuscation</category></item></channel></rss>