gdata.io.handleScriptLoaded({"version":"1.0","encoding":"UTF-8","feed":{"xmlns":"http://www.w3.org/2005/Atom","xmlns$openSearch":"http://a9.com/-/spec/opensearchrss/1.0/","xmlns$gd":"http://schemas.google.com/g/2005","xmlns$georss":"http://www.georss.org/georss","xmlns$thr":"http://purl.org/syndication/thread/1.0","xmlns$blogger":"http://schemas.google.com/blogger/2008","id":{"$t":"tag:blogger.com,1999:blog-3275735"},"updated":{"$t":"2023-07-27T06:18:49.198-05:00"},"category":[{"term":"Windows"},{"term":"Website"},{"term":"webMethods"}],"title":{"type":"text","$t":"VismiT"},"subtitle":{"type":"html","$t":"means Amaze (विस्मित)."},"link":[{"rel":"http://schemas.google.com/g/2005#feed","type":"application/atom+xml","href":"http://vismit.khapre.org/feeds/posts/default/-/Windows?alt\u003djson-in-script\u0026max-results\u003d6"},{"rel":"self","type":"application/atom+xml","href":"http://vismit.khapre.org/feeds/posts/default/-/Windows?alt\u003djson-in-script\u0026max-results\u003d6"},{"rel":"alternate","type":"text/html","href":"http://vismit.khapre.org/search/label/Windows"},{"rel":"hub","href":"http://pubsubhubbub.appspot.com/"},{"rel":"next","type":"application/atom+xml","href":"http://vismit.khapre.org/feeds/posts/default/-/Windows/-/Windows?alt\u003djson-in-script\u0026start-index\u003d7\u0026max-results\u003d6"}],"author":[{"name":{"$t":"Vishal Khapre"},"email":{"$t":"noreply@blogger.com"},"gd$image":{"rel":"http://schemas.google.com/g/2005#thumbnail","width":"35","height":"35","src":"//www.blogger.com/img/blogger_logo_round_35.png"}}],"generator":{"version":"7.00","uri":"https://draft.blogger.com","$t":"Blogger"},"openSearch$totalResults":{"$t":"34"},"openSearch$startIndex":{"$t":"1"},"openSearch$itemsPerPage":{"$t":"6"},"entry":[{"id":{"$t":"tag:blogger.com,1999:blog-3275735.post-308391961545392257"},"published":{"$t":"2009-01-21T22:45:00.000-05:00"},"updated":{"$t":"2009-01-21T22:52:50.138-05:00"},"category":[{"scheme":"http://www.blogger.com/atom/ns#","term":"Windows"}],"title":{"type":"text","$t":"Add Command prompt to explorer context menu"},"content":{"type":"html","$t":"\u003cp\u003eIts been always a long process to reach to desired folder using \u0026quot;cd\u0026quot; command on Command Prompt. It was easier to have a context menu for any folder in Windows Explorer as \u0026quot;Start command here\u0026quot;. I had been using it for such a long time, so don't know who told me how to do this, but recently a friend asked me so thought it is easier to post a blog and point him to the post.\u003c/p\u003e  \u003col\u003e   \u003cli\u003eOpen Windows explorer      \u003cbr /\u003e      \u003cbr /\u003e\u003ca href\u003d\"http://www.khapre.org/blog/uploaded_images/AddCommandprompttoexplorercontextmenu_9D6B/image.png\"\u003e\u003cimg style\u003d\"border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px\" height\u003d\"297\" alt\u003d\"image\" src\u003d\"http://www.khapre.org/blog/uploaded_images/AddCommandprompttoexplorercontextmenu_9D6B/image_thumb.png\" width\u003d\"532\" border\u003d\"0\" /\u003e\u003c/a\u003e\u0026#160; \u003cbr /\u003e      \u003cbr /\u003e\u003c/li\u003e    \u003cli\u003eGo to Tools menu -\u0026gt; Folder Options -\u0026gt; File Types. You can probably reach this place via control panel also.      \u003cbr /\u003e      \u003cbr /\u003e\u003ca href\u003d\"http://www.khapre.org/blog/uploaded_images/AddCommandprompttoexplorercontextmenu_9D6B/image_3.png\"\u003e\u003cimg style\u003d\"border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px\" height\u003d\"509\" alt\u003d\"image\" src\u003d\"http://www.khapre.org/blog/uploaded_images/AddCommandprompttoexplorercontextmenu_9D6B/image_thumb_3.png\" width\u003d\"488\" border\u003d\"0\" /\u003e\u003c/a\u003e       \u003cbr /\u003e\u003c/li\u003e    \u003cli\u003eSelect \u0026quot;Folder\u0026quot; remember not to select \u0026quot;File Folder\u0026quot; and click on \u0026quot;Advanced\u0026quot;. I already have created \u0026quot;command\u0026quot; as my context menu so you will see that here too.      \u003cbr /\u003e      \u003cbr /\u003e\u003ca href\u003d\"http://www.khapre.org/blog/uploaded_images/AddCommandprompttoexplorercontextmenu_9D6B/image_4.png\"\u003e\u003cimg style\u003d\"border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px\" height\u003d\"377\" alt\u003d\"image\" src\u003d\"http://www.khapre.org/blog/uploaded_images/AddCommandprompttoexplorercontextmenu_9D6B/image_thumb_4.png\" width\u003d\"319\" border\u003d\"0\" /\u003e\u003c/a\u003e       \u003cbr /\u003e\u003c/li\u003e    \u003cli\u003eClick New and put Action as \u0026quot;Start command here\u0026quot; and Application used as absolute path to cmd.exe usually it is in your system32 directory.      \u003cbr /\u003e      \u003cbr /\u003e\u003ca href\u003d\"http://www.khapre.org/blog/uploaded_images/AddCommandprompttoexplorercontextmenu_9D6B/image_5.png\"\u003e\u003cimg style\u003d\"border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px\" height\u003d\"293\" alt\u003d\"image\" src\u003d\"http://www.khapre.org/blog/uploaded_images/AddCommandprompttoexplorercontextmenu_9D6B/image_thumb_5.png\" width\u003d\"389\" border\u003d\"0\" /\u003e\u003c/a\u003e       \u003cbr /\u003e\u003c/li\u003e    \u003cli\u003eClick \u0026quot;Ok\u0026quot; and then \u0026quot;Close\u0026quot; to get back to Windows Explorer. \u003c/li\u003e    \u003cli\u003eRight click on any folder in Windows Explorer to see the context menu added. \u003c/li\u003e \u003c/ol\u003e  \u003cp\u003eGood luck!!\u003c/p\u003e  "},"link":[{"rel":"replies","type":"application/atom+xml","href":"http://vismit.khapre.org/feeds/308391961545392257/comments/default","title":"Post Comments"},{"rel":"replies","type":"text/html","href":"https://draft.blogger.com/comment.g?blogID\u003d3275735\u0026postID\u003d308391961545392257","title":"3 Comments"},{"rel":"edit","type":"application/atom+xml","href":"https://draft.blogger.com/feeds/3275735/posts/default/308391961545392257"},{"rel":"self","type":"application/atom+xml","href":"http://vismit.khapre.org/feeds/posts/default/308391961545392257"},{"rel":"alternate","type":"text/html","href":"http://vismit.khapre.org/2009/01/add-command-prompt-to-explorer-context.aspx","title":"Add Command prompt to explorer context menu"}],"author":[{"name":{"$t":"Vishal Khapre"},"email":{"$t":"noreply@blogger.com"},"gd$image":{"rel":"http://schemas.google.com/g/2005#thumbnail","width":"35","height":"35","src":"//www.blogger.com/img/blogger_logo_round_35.png"}}],"thr$total":{"$t":"3"}},{"id":{"$t":"tag:blogger.com,1999:blog-3275735.post-5980241514496343083"},"published":{"$t":"2007-05-07T07:53:00.001-05:00"},"updated":{"$t":"2007-05-07T08:39:49.934-05:00"},"category":[{"scheme":"http://www.blogger.com/atom/ns#","term":"Windows"}],"title":{"type":"text","$t":"Windows zip folder association"},"content":{"type":"html","$t":"\u003cp\u003eWindows has built in zip files added as folders in Windows Explorer. This feature is default support by a Windows standard install. This makes it completely difficult when there are more than on file in the folder or even if there is only one large file with a lot of files and folders inside it. \u003c/p\u003e \u003cp\u003e\u0026nbsp;\u003c/p\u003e \u003cp\u003eHere is the solution, run following on Windows /DOS command prompt.\u003c/p\u003e \u003cblockquote\u003e \u003cp\u003e\u0026nbsp;\u003c/p\u003e \u003cp\u003e\"regsvr31 /u zipfldr\"\u003cbr\u003e(offcourse with out quotes)\u003c/p\u003e\u003c/blockquote\u003e \u003cp\u003eIf you want to register it back then \u003c/p\u003e \u003cblockquote\u003e \u003cp\u003e\"regsvr31\u0026nbsp;zipfldr\"\u003cbr\u003e(offcourse with out quotes)\u003c/p\u003e\u003c/blockquote\u003e \u003cp\u003eChow!!\u003c/p\u003e"},"link":[{"rel":"replies","type":"application/atom+xml","href":"http://vismit.khapre.org/feeds/5980241514496343083/comments/default","title":"Post Comments"},{"rel":"replies","type":"text/html","href":"https://draft.blogger.com/comment.g?blogID\u003d3275735\u0026postID\u003d5980241514496343083","title":"0 Comments"},{"rel":"edit","type":"application/atom+xml","href":"https://draft.blogger.com/feeds/3275735/posts/default/5980241514496343083"},{"rel":"self","type":"application/atom+xml","href":"http://vismit.khapre.org/feeds/posts/default/5980241514496343083"},{"rel":"alternate","type":"text/html","href":"http://vismit.khapre.org/2007/05/windows-zip-folder-association.aspx","title":"Windows zip folder association"}],"author":[{"name":{"$t":"Vishal Khapre"},"email":{"$t":"noreply@blogger.com"},"gd$image":{"rel":"http://schemas.google.com/g/2005#thumbnail","width":"35","height":"35","src":"//www.blogger.com/img/blogger_logo_round_35.png"}}],"thr$total":{"$t":"0"}},{"id":{"$t":"tag:blogger.com,1999:blog-3275735.post-115642753439445952"},"published":{"$t":"2006-08-24T08:39:00.000-05:00"},"updated":{"$t":"2007-05-07T08:40:06.118-05:00"},"category":[{"scheme":"http://www.blogger.com/atom/ns#","term":"Windows"}],"title":{"type":"text","$t":"Python on the .NET Framework"},"content":{"type":"html","$t":"One of the least talked language on web is IronPython when it became available in Microsoft \u003cacronym title\u003d\"Common Language Runtime\"\u003eCLR\u003c/acronym\u003e.\u003cbr/\u003eDynamic runtime languages were previously thought to run very poorly on the .NET Framework, but IronPython dismisses that idea. Microsoft is backing IronPython because it exemplifies just how well the .NET Framework can handle dynamic runtime languages. Supposedly, IronPython runs as fast as the C-based implementation of Python-2.4, if not faster. The company claims that IronPython can run 1.8x faster than Python-2.4 right now. Besides being speedy, it also allows developers to access all of the standard C Python libraries, not to mention and create their own subclasses deriving from the .NET framework.\u003cbr/\u003e\u003cblockquote\u003e\u003ca href\u003d\"http://msdn.microsoft.com/msdntv/transcripts/20051110PythonJHTranscript.aspx\"\u003eIronPython\u003c/a\u003e is the codename for a new implementation of the Python programming language on the .NET Framework. It is fast - up to 1.8x faster than Python-2.4 on the standard pystone benchmark. It supports an interactive interpreter with fully dynamic compilation as well as static compilation to produce pre-compiled executables. It's well integrated with the rest of the Framework and makes all of the .NET libraries easily available to Python programmers. In this episode Jim Hugunin introduces IronPython with demos showing interactive exploration and GUI building from a command prompt as well as simple embedding as a scripting language in an existing Windows Presentation Foundation application. Via Overview at \u003ca href\u003d\"http://www.microsoft.com/downloads/details.aspx?FamilyID\u003df9296971-f926-4be5-9870-f6ee3b1977a3\u0026amp;DisplayLang\u003den\"\u003eMicrosft's Download website\u003c/a\u003e\u003c/blockquote\u003e\nStill, when I read this old news, I was surprised to see Microsoft's backing on Python where they will not be investing that much of money to see a dynamic language work. Anyways, as part of research found a very interesting comparision of Ruby, Java and C++ with Python by \u003ca href\u003d\"http://www.dmh2000.com/blog/2006/02/c-java-python-ruby.html\"\u003edmh2000\u003c/a\u003e. This \u003ca href\u003d\"http://dmh2000.com/cjpr/\"\u003ecomparision\u003c/a\u003e is just awesome.\n\u003cblockquote\u003e\u003cstrong\u003econclusion\u003c/strong\u003e\u003cbr/\u003eJava is more productive than C/C++. Use C/C++ only when speed or bare metal access is called for. Python/Ruby is more productive than Java and more pleasant to code in. There is a big question on static vs. dynamic typing. I contend that static typing has to be better for the purposes of program correctness, but the required cruft reduces productivity. If actual practice in large systems shows that in fact runtime typing errors don't occur often and are worth the productivity tradeoff, then I will bow to dynamic typing. I can't come up with a definitive answer to Python vs. Ruby. They seem very equivalent. Would choose based on practicality in a given situation. My general feeling was that Python annoyed me in ways that Ruby didn't, but I think those annoyances would disappear if I was using Python all the time.\u003c/blockquote\u003e"},"link":[{"rel":"replies","type":"application/atom+xml","href":"http://vismit.khapre.org/feeds/115642753439445952/comments/default","title":"Post Comments"},{"rel":"replies","type":"text/html","href":"https://draft.blogger.com/comment.g?blogID\u003d3275735\u0026postID\u003d115642753439445952","title":"0 Comments"},{"rel":"edit","type":"application/atom+xml","href":"https://draft.blogger.com/feeds/3275735/posts/default/115642753439445952"},{"rel":"self","type":"application/atom+xml","href":"http://vismit.khapre.org/feeds/posts/default/115642753439445952"},{"rel":"alternate","type":"text/html","href":"http://vismit.khapre.org/2006/08/python-on-net-framework.aspx","title":"Python on the .NET Framework"}],"author":[{"name":{"$t":"Vishal Khapre"},"email":{"$t":"noreply@blogger.com"},"gd$image":{"rel":"http://schemas.google.com/g/2005#thumbnail","width":"35","height":"35","src":"//www.blogger.com/img/blogger_logo_round_35.png"}}],"thr$total":{"$t":"0"}},{"id":{"$t":"tag:blogger.com,1999:blog-3275735.post-115634831995886629"},"published":{"$t":"2006-08-22T10:51:00.000-05:00"},"updated":{"$t":"2015-01-29T10:50:37.735-05:00"},"category":[{"scheme":"http://www.blogger.com/atom/ns#","term":"Windows"}],"title":{"type":"text","$t":"Create a Thumbnail Image of web page"},"content":{"type":"html","$t":"\u003cdiv dir\u003d\"ltr\" style\u003d\"text-align: left;\" trbidi\u003d\"on\"\u003e\nHow do I create cached image of a webpage. I just wanted to create a thumbnail of a webpage based on URL. There is no way, you would find the right stuff to do so. I found \u003ca href\u003d\"http://dotnetjunkies.com/WebLog/alan.dean/\"\u003eAlan Dean\u003c/a\u003e's page on \u003ca href\u003d\"http://dotnetjunkies.com/WebLog/alan.dean/archive/2005/04/25/70496.aspx\"\u003eGenerate an image of a web page\u003c/a\u003e. He has explained the technique very well. Described his search for such code. He wrote on his own. There are a very few people got it \u003ca href\u003d\"http://www.developerfusion.co.uk/show/4712/\"\u003eworking\u003c/a\u003e. So here is the code, took me a lot of time to get it working. Read through the sample I added here very carefully before you copy the code as is. I tried my best to write all comments to make it easy readable.\n\u003cbr /\u003e\nTried it in all possible ways to make it successful the way I wanted. This code works awesome but I wanted to use System.drawing very well to make it work. There is no way I could find to do this without using Win32 Api. Apart from that, I need to add the axWebBrowser control and it needs to be visible on form in order to find the image of the web page. Then how do I do it on the fly on my website. There must be a way to create a thumbnail from webpage with out adding ActiveX controls....\u003cbr /\u003e\nGood Luck!! Let me know if this works for you.\u003cbr /\u003e\n\u003cdiv style\u003d\"line-height: 12px;\"\u003e\n\u003cdiv class\u003d\"MsoNormal\" style\u003d\"margin: 0in 0in 0pt;\"\u003e\n\u003cspan style\u003d\"color: blue; font-family: 'Courier New'; font-size: 8pt;\"\u003e\u003cspan style\u003d\"color: green;\"\u003e\n            '*************************************************************************\u003cbr /\u003e\n        \u003c/span\u003e\u003cspan style\u003d\"color: green;\"\u003e'This is main form Class where you will add the\n            basic functions.\u003cbr /\u003e\n            '*************************************************************************\u003c/span\u003e\u003cbr /\u003e\n            \u003cbr /\u003e\n            Imports\u003c/span\u003e\u003cspan style\u003d\"font-family: 'Courier New'; font-size: 8pt;\"\u003e\n                SHDocVw \u003cspan style\u003d\"color: green;\"\u003e' Import the shdocvw.dll from Widnows\\System32 folder.\u003c/span\u003e\u003c/span\u003e\u003c/div\u003e\n\u003cdiv class\u003d\"MsoNormal\" style\u003d\"margin: 0in 0in 0pt;\"\u003e\n\u003cspan style\u003d\"color: blue; font-family: 'Courier New'; font-size: 8pt;\"\u003e\n            Imports\u003c/span\u003e\u003cspan style\u003d\"font-family: 'Courier New'; font-size: 8pt;\"\u003e\n                mshtml\u0026nbsp;\n                \u003cspan style\u003d\"color: green;\"\u003e' Import the mshtml.dll from Widnows\\System32 folder.\u003cbr /\u003e\n                \u003c/span\u003e\u003c/span\u003e\u003c/div\u003e\n\u003cdiv class\u003d\"MsoNormal\" style\u003d\"margin: 0in 0in 0pt;\"\u003e\n\u003cspan style\u003d\"color: blue; font-family: 'Courier New'; font-size: 8pt;\"\u003e\n            Imports\u003c/span\u003e\u003cspan style\u003d\"font-family: 'Courier New'; font-size: 8pt;\"\u003e\n                System.Runtime.InteropServices\n                \u003cspan style\u003d\"color: green;\"\u003e' Need this as we added above two as Interop\u003c/span\u003e\u003c/span\u003e\u003c/div\u003e\n\u003cdiv class\u003d\"MsoNormal\" style\u003d\"margin: 0in 0in 0pt;\"\u003e\n\u003cspan style\u003d\"color: blue; font-family: 'Courier New'; font-size: 8pt;\"\u003e\n            \u003cbr /\u003e\n            Imports\u003c/span\u003e\u003cspan style\u003d\"font-family: 'Courier New'; font-size: 8pt;\"\u003e\n                System.Windows.Forms\u003c/span\u003e\u003c/div\u003e\n\u003cdiv class\u003d\"MsoNormal\" style\u003d\"margin: 0in 0in 0pt;\"\u003e\n\u003cspan style\u003d\"color: blue; font-family: 'Courier New'; font-size: 8pt;\"\u003e\n            \u003cbr /\u003e\n            Public\u003c/span\u003e\u003cspan style\u003d\"font-family: 'Courier New'; font-size: 8pt;\"\u003e\n                \u003cspan style\u003d\"color: blue;\"\u003eClass\u003c/span\u003e Form1\u003c/span\u003e\u003c/div\u003e\n\u003cdiv class\u003d\"MsoNormal\" style\u003d\"margin: 0in 0in 0pt;\"\u003e\n\u003cspan style\u003d\"font-family: 'Courier New'; font-size: 8pt;\"\u003e\n            \u003cbr /\u003e\n            \u0026nbsp; \u0026nbsp; \u003cspan style\u003d\"color: blue;\"\u003ePrivate\u003c/span\u003e\n            \u003cspan style\u003d\"color: blue;\"\u003eSub\u003c/span\u003e Form1_Load(\u003cspan style\u003d\"color: blue;\"\u003eByVal\u003c/span\u003e\n            sender \u003cspan style\u003d\"color: blue;\"\u003eAs\u003c/span\u003e System.Object, \u003cspan style\u003d\"color: blue;\"\u003e\n                ByVal\u003c/span\u003e e \u003cspan style\u003d\"color: blue;\"\u003eAs\u003c/span\u003e System.EventArgs) \u003cspan style\u003d\"color: blue;\"\u003e\n                    Handles\u003c/span\u003e \u003cspan style\u003d\"color: blue;\"\u003eMyBase\u003c/span\u003e.Load\u003c/span\u003e\u003c/div\u003e\n\u003cdiv class\u003d\"MsoNormal\" style\u003d\"margin: 0in 0in 0pt;\"\u003e\n\u003cspan style\u003d\"font-family: 'Courier New'; font-size: 8pt;\"\u003e\n            \u003cbr /\u003e\n            \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u003cspan style\u003d\"color: green;\"\u003e'Add the axWebBrowser control\n                from SHDocVw library to your form name it as axWebBrowser\u003cbr /\u003e\n                \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; 'Add the Event Handler as DocumentComplete, because\n                we need to capture screen image when document is completely loaded.\u003cbr /\u003e\n            \u003c/span\u003e\u003cspan style\u003d\"color: blue;\"\u003e\u003cspan style\u003d\"color: black;\"\u003e\u0026nbsp; \u0026nbsp; \u0026nbsp;\n                \u0026nbsp; \u003c/span\u003e\n                AddHandler\u003c/span\u003e axWebBrowser.DocumentComplete, \u003cspan style\u003d\"color: blue;\"\u003eAddressOf\u003c/span\u003e\n            \u003cspan style\u003d\"color: blue;\"\u003eMe\u003c/span\u003e.OnDocumentComplete\u003cbr /\u003e\n        \u003c/span\u003e\u003c/div\u003e\n\u003cdiv class\u003d\"MsoNormal\" style\u003d\"margin: 0in 0in 0pt;\"\u003e\n\u003cspan style\u003d\"font-family: 'Courier New'; font-size: 8pt;\"\u003e\u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u003c/span\u003e\n        \u003cspan style\u003d\"font-family: 'Courier New'; font-size: 8pt;\"\u003e\u003cspan style\u003d\"color: blue;\"\u003eEnd\u003c/span\u003e\n            \u003cspan style\u003d\"color: blue;\"\u003eSub\u003cbr /\u003e\n            \u003c/span\u003e\u003c/span\u003e\u003c/div\u003e\n\u003cdiv class\u003d\"MsoNormal\" style\u003d\"margin: 0in 0in 0pt;\"\u003e\n\u003cspan style\u003d\"font-family: 'Courier New'; font-size: 8pt;\"\u003e\u0026nbsp; \u0026nbsp; \u0026nbsp;\n        \u003c/span\u003e\n        \u003cspan style\u003d\"font-family: 'Courier New'; font-size: 8pt;\"\u003e\u003cspan style\u003d\"color: blue;\"\u003ePrivate\u003c/span\u003e\n            \u003cspan style\u003d\"color: blue;\"\u003eSub\u003c/span\u003e OnDocumentComplete(\u003cspan style\u003d\"color: blue;\"\u003eByVal\u003c/span\u003e\n            sender \u003cspan style\u003d\"color: blue;\"\u003eAs\u003c/span\u003e \u003cspan style\u003d\"color: blue;\"\u003eObject\u003c/span\u003e,\n            \u003cspan style\u003d\"color: blue;\"\u003eByVal\u003c/span\u003e e \u003cspan style\u003d\"color: blue;\"\u003eAs\u003c/span\u003e AxSHDocVw.DWebBrowserEvents2_DocumentCompleteEvent)\u003c/span\u003e\u003c/div\u003e\n\u003cdiv class\u003d\"MsoNormal\" style\u003d\"margin: 0in 0in 0pt;\"\u003e\n\u003cspan style\u003d\"font-family: 'Courier New'; font-size: 8pt;\"\u003e\u003cspan style\u003d\"color: green;\"\u003e\n            \u0026nbsp;\u003c/span\u003e\u003cbr /\u003e\n            \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u003cspan style\u003d\"color: blue;\"\u003e\n                Dim\u003c/span\u003e document \u003cspan style\u003d\"color: blue;\"\u003eAs\u003c/span\u003e IHTMLDocument2 \u003d \u003cspan style\u003d\"color: blue;\"\u003e\n                    CType\u003c/span\u003e(\u003cspan style\u003d\"color: blue;\"\u003eMe\u003c/span\u003e.axWebBrowser.Document,\n            IHTMLDocument2)\u003c/span\u003e\u003c/div\u003e\n\u003cdiv class\u003d\"MsoNormal\" style\u003d\"margin: 0in 0in 0pt;\"\u003e\n\u003cspan style\u003d\"font-family: 'Courier New'; font-size: 8pt;\"\u003e\u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u003cspan style\u003d\"color: blue;\"\u003e\n                If\u003c/span\u003e \u003cspan style\u003d\"color: blue;\"\u003eNot\u003c/span\u003e (document \u003cspan style\u003d\"color: blue;\"\u003eIs\u003c/span\u003e\n            \u003cspan style\u003d\"color: blue;\"\u003eNothing\u003c/span\u003e) \u003cspan style\u003d\"color: blue;\"\u003eThen\u003c/span\u003e\u003c/span\u003e\u003c/div\u003e\n\u003cdiv class\u003d\"MsoNormal\" style\u003d\"margin: 0in 0in 0pt;\"\u003e\n\u003cspan style\u003d\"font-family: 'Courier New'; font-size: 8pt;\"\u003e\u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u003cspan style\u003d\"color: blue;\"\u003eDim\u003c/span\u003e element \u003cspan style\u003d\"color: blue;\"\u003eAs\u003c/span\u003e IHTMLElement\n            \u003d \u003cspan style\u003d\"color: blue;\"\u003eCType\u003c/span\u003e(document.body, IHTMLElement)\u003c/span\u003e\u003c/div\u003e\n\u003cdiv class\u003d\"MsoNormal\" style\u003d\"margin: 0in 0in 0pt;\"\u003e\n\u003cspan style\u003d\"font-family: 'Courier New'; font-size: 8pt;\"\u003e\u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u003cspan style\u003d\"color: blue;\"\u003eIf\u003c/span\u003e \u003cspan style\u003d\"color: blue;\"\u003eNot\u003c/span\u003e (element\n            \u003cspan style\u003d\"color: blue;\"\u003eIs\u003c/span\u003e \u003cspan style\u003d\"color: blue;\"\u003eNothing\u003c/span\u003e) \u003cspan style\u003d\"color: blue;\"\u003eThen\u003c/span\u003e\u003c/span\u003e\u003c/div\u003e\n\u003cdiv class\u003d\"MsoNormal\" style\u003d\"margin: 0in 0in 0pt;\"\u003e\n\u003cspan style\u003d\"font-family: 'Courier New'; font-size: 8pt;\"\u003e\u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp;\n        \u003cspan style\u003d\"color: blue;\"\u003eDim\u003c/span\u003e render \u003cspan style\u003d\"color: blue;\"\u003eAs\u003c/span\u003e\n            IHTMLElementRender \u003d \u003cspan style\u003d\"color: blue;\"\u003eCType\u003c/span\u003e(element, IHTMLElementRender)\u003c/span\u003e\u003c/div\u003e\n\u003cdiv class\u003d\"MsoNormal\" style\u003d\"margin: 0in 0in 0pt;\"\u003e\n\u003cspan style\u003d\"font-family: 'Courier New'; font-size: 8pt;\"\u003e\u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp;\n        \u003cspan style\u003d\"color: blue;\"\u003eIf\u003c/span\u003e \u003cspan style\u003d\"color: blue;\"\u003eNot\u003c/span\u003e (render\n            \u003cspan style\u003d\"color: blue;\"\u003eIs\u003c/span\u003e \u003cspan style\u003d\"color: blue;\"\u003eNothing\u003c/span\u003e) \u003cspan style\u003d\"color: blue;\"\u003eThen\u003c/span\u003e\u003c/span\u003e\u003c/div\u003e\n\u003cdiv class\u003d\"MsoNormal\" style\u003d\"margin: 0in 0in 0pt;\"\u003e\n\u003cspan style\u003d\"font-family: 'Courier New'; font-size: 8pt;\"\u003e\u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp;\n            \u0026nbsp; \u0026nbsp; \u003cspan style\u003d\"color: green;\"\u003e' Using\n                \n            \u003c/span\u003e\u003c/span\u003e\n    \u003c/div\u003e\n\u003cdiv class\u003d\"MsoNormal\" style\u003d\"margin: 0in 0in 0pt;\"\u003e\n\u003cspan style\u003d\"font-family: 'Courier New'; font-size: 8pt;\"\u003e\u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp;\n            \u0026nbsp; \u0026nbsp; \u003cspan style\u003d\"color: blue;\"\u003eDim\u003c/span\u003e graphics \u003cspan style\u003d\"color: blue;\"\u003e\n                As\u003c/span\u003e Graphics \u003d \u003cspan style\u003d\"color: blue;\"\u003eMe\u003c/span\u003e.pictureBox.CreateGraphics\u003c/span\u003e\u003c/div\u003e\n\u003cdiv class\u003d\"MsoNormal\" style\u003d\"margin: 0in 0in 0pt;\"\u003e\n\u003cspan style\u003d\"font-family: 'Courier New'; font-size: 8pt;\"\u003e\u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp;\n            \u0026nbsp; \u0026nbsp; \u003cspan style\u003d\"color: blue;\"\u003eTry\u003c/span\u003e\u003c/span\u003e\u003c/div\u003e\n\u003cdiv class\u003d\"MsoNormal\" style\u003d\"margin: 0in 0in 0pt;\"\u003e\n\u003cspan style\u003d\"font-family: 'Courier New'; font-size: 8pt;\"\u003e\u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp;\n            \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u003cspan style\u003d\"color: blue;\"\u003eDim\u003c/span\u003e hdcDestination\n            \u003cspan style\u003d\"color: blue;\"\u003eAs\u003c/span\u003e IntPtr \u003d graphics.GetHdc\u003c/span\u003e\u003c/div\u003e\n\u003cdiv class\u003d\"MsoNormal\" style\u003d\"margin: 0in 0in 0pt;\"\u003e\n\u003cspan style\u003d\"font-family: 'Courier New'; font-size: 8pt;\"\u003e\u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp;\n            \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; render.DrawToDC(hdcDestination)\u003c/span\u003e\u003c/div\u003e\n\u003cdiv class\u003d\"MsoNormal\" style\u003d\"margin: 0in 0in 0pt;\"\u003e\n\u003cspan style\u003d\"font-family: 'Courier New'; font-size: 8pt;\"\u003e\u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp;\n            \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u003cspan style\u003d\"color: blue;\"\u003eDim\u003c/span\u003e hdcMemory\n            \u003cspan style\u003d\"color: blue;\"\u003eAs\u003c/span\u003e IntPtr \u003d gdi32.CreateCompatibleDC(hdcDestination)\u003c/span\u003e\u003c/div\u003e\n\u003cdiv class\u003d\"MsoNormal\" style\u003d\"margin: 0in 0in 0pt;\"\u003e\n\u003cspan style\u003d\"font-family: 'Courier New'; font-size: 8pt;\"\u003e\u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp;\n            \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u003cspan style\u003d\"color: blue;\"\u003eDim\u003c/span\u003e bitmap \u003cspan style\u003d\"color: blue;\"\u003eAs\u003c/span\u003e IntPtr \u003d gdi32.CreateCompatibleBitmap(hdcDestination,\n            \u003cspan style\u003d\"color: blue;\"\u003eMe\u003c/span\u003e.axWebBrowser.ClientRectangle.Width, \u003cspan style\u003d\"color: blue;\"\u003e\n                Me\u003c/span\u003e.axWebBrowser.ClientRectangle.Height)\u003c/span\u003e\u003c/div\u003e\n\u003cdiv class\u003d\"MsoNormal\" style\u003d\"margin: 0in 0in 0pt;\"\u003e\n\u003cspan style\u003d\"font-family: 'Courier New'; font-size: 8pt;\"\u003e\u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp;\n            \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u003cspan style\u003d\"color: blue;\"\u003eIf\u003c/span\u003e \u003cspan style\u003d\"color: blue;\"\u003e\n                Not\u003c/span\u003e (bitmap \u003d IntPtr.Zero) \u003cspan style\u003d\"color: blue;\"\u003eThen\u003c/span\u003e\u003c/span\u003e\u003c/div\u003e\n\u003cdiv class\u003d\"MsoNormal\" style\u003d\"margin: 0in 0in 0pt;\"\u003e\n\u003cspan style\u003d\"font-family: 'Courier New'; font-size: 8pt;\"\u003e\u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp;\n            \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u003cspan style\u003d\"color: blue;\"\u003eDim\u003c/span\u003e\n            hOld \u003cspan style\u003d\"color: blue;\"\u003eAs\u003c/span\u003e IntPtr \u003d \u003cspan style\u003d\"color: blue;\"\u003eCType\u003c/span\u003e(gdi32.SelectObject(hdcMemory,\n            bitmap), IntPtr)\u003c/span\u003e\u003c/div\u003e\n\u003cdiv class\u003d\"MsoNormal\" style\u003d\"margin: 0in 0in 0pt;\"\u003e\n\u003cspan style\u003d\"font-family: 'Courier New'; font-size: 8pt;\"\u003e\u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp;\n            \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; gdi32.BitBlt(hdcMemory, 0, 0, \u003cspan style\u003d\"color: blue;\"\u003eMe\u003c/span\u003e.axWebBrowser.ClientRectangle.Width, \u003cspan style\u003d\"color: blue;\"\u003e\n                    Me\u003c/span\u003e.axWebBrowser.ClientRectangle.Height, hdcDestination, 0, 0, \u003cspan style\u003d\"color: blue;\"\u003e\n                        CType\u003c/span\u003e(gdi32.TernaryRasterOperations.SRCCOPY, \u003cspan style\u003d\"color: blue;\"\u003eInteger\u003c/span\u003e))\u003c/span\u003e\u003c/div\u003e\n\u003cdiv class\u003d\"MsoNormal\" style\u003d\"margin: 0in 0in 0pt;\"\u003e\n\u003cspan style\u003d\"font-family: 'Courier New'; font-size: 8pt;\"\u003e\u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp;\n            \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; gdi32.SelectObject(hdcMemory, hOld)\u003c/span\u003e\u003c/div\u003e\n\u003cdiv class\u003d\"MsoNormal\" style\u003d\"margin: 0in 0in 0pt;\"\u003e\n\u003cspan style\u003d\"font-family: 'Courier New'; font-size: 8pt;\"\u003e\u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp;\n            \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; gdi32.DeleteDC(hdcMemory)\u003c/span\u003e\u003c/div\u003e\n\u003cdiv class\u003d\"MsoNormal\" style\u003d\"margin: 0in 0in 0pt;\"\u003e\n\u003cspan style\u003d\"font-family: 'Courier New'; font-size: 8pt;\"\u003e\u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp;\n            \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; graphics.ReleaseHdc(hdcDestination)\u003cbr /\u003e\n            \u003cbr /\u003e\n            \u003cspan style\u003d\"color: green;\"\u003e\u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp;\n                \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; 'Add a PictureBox control to your form,\n                named pictureBox. This way you can\u003cbr /\u003e\n                \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp;\n                \u0026nbsp; \u0026nbsp; 'see the image immediately after it is generated. You can save to\n                FS using Bitmap.Save method.\u003c/span\u003e\u003c/span\u003e\u003c/div\u003e\n\u003cdiv class\u003d\"MsoNormal\" style\u003d\"margin: 0in 0in 0pt;\"\u003e\n\u003cspan style\u003d\"font-family: 'Courier New'; font-size: 8pt;\"\u003e\u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp;\n            \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u003cspan style\u003d\"color: blue;\"\u003eMe\u003c/span\u003e.pictureBox.Image\n            \u003d Image.FromHbitmap(bitmap)\u003c/span\u003e\u003c/div\u003e\n\u003cdiv class\u003d\"MsoNormal\" style\u003d\"margin: 0in 0in 0pt;\"\u003e\n\u003cspan style\u003d\"font-family: 'Courier New'; font-size: 8pt;\"\u003e\n            \u003cbr /\u003e\n            \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp;\n            \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u003cspan style\u003d\"color: blue;\"\u003eEnd\u003c/span\u003e \u003cspan style\u003d\"color: blue;\"\u003e\n                If\u003c/span\u003e\u003c/span\u003e\u003c/div\u003e\n\u003cdiv class\u003d\"MsoNormal\" style\u003d\"margin: 0in 0in 0pt;\"\u003e\n\u003cspan style\u003d\"font-family: 'Courier New'; font-size: 8pt;\"\u003e\n            \u003cbr /\u003e\n            \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp;\n            \u0026nbsp; \u0026nbsp; \u003cspan style\u003d\"color: blue;\"\u003eFinally\u003cbr /\u003e\n                \u003cbr /\u003e\n                \u003cspan style\u003d\"color: green;\"\u003e\u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp;\n                    \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; 'You must dispose Graphics Object for better use.\u003c/span\u003e\u003c/span\u003e\u003c/span\u003e\u003c/div\u003e\n\u003cdiv class\u003d\"MsoNormal\" style\u003d\"margin: 0in 0in 0pt;\"\u003e\n\u003cspan style\u003d\"font-family: 'Courier New'; font-size: 8pt;\"\u003e\u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp;\n            \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u003cspan style\u003d\"color: blue;\"\u003eCType\u003c/span\u003e(graphics,\n            IDisposable).Dispose()\u003c/span\u003e\u003c/div\u003e\n\u003cdiv class\u003d\"MsoNormal\" style\u003d\"margin: 0in 0in 0pt;\"\u003e\n\u003cspan style\u003d\"font-family: 'Courier New'; font-size: 8pt;\"\u003e\u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp;\n            \u0026nbsp; \u0026nbsp; \u003cspan style\u003d\"color: blue;\"\u003eEnd\u003c/span\u003e \u003cspan style\u003d\"color: blue;\"\u003e\n                Try\u003c/span\u003e\u003c/span\u003e\u003c/div\u003e\n\u003cdiv class\u003d\"MsoNormal\" style\u003d\"margin: 0in 0in 0pt;\"\u003e\n\u003cspan style\u003d\"font-family: 'Courier New'; font-size: 8pt;\"\u003e\u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp;\n        \u003cspan style\u003d\"color: blue;\"\u003eEnd\u003c/span\u003e \u003cspan style\u003d\"color: blue;\"\u003eIf\u003c/span\u003e\u003c/span\u003e\u003c/div\u003e\n\u003cdiv class\u003d\"MsoNormal\" style\u003d\"margin: 0in 0in 0pt;\"\u003e\n\u003cspan style\u003d\"font-family: 'Courier New'; font-size: 8pt;\"\u003e\u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u003cspan style\u003d\"color: blue;\"\u003eEnd\u003c/span\u003e \u003cspan style\u003d\"color: blue;\"\u003eIf\u003c/span\u003e\u003c/span\u003e\u003c/div\u003e\n\u003cdiv class\u003d\"MsoNormal\" style\u003d\"margin: 0in 0in 0pt;\"\u003e\n\u003cspan style\u003d\"font-family: 'Courier New'; font-size: 8pt;\"\u003e\u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u003cspan style\u003d\"color: blue;\"\u003e\n                End\u003c/span\u003e \u003cspan style\u003d\"color: blue;\"\u003eIf\u003c/span\u003e\u003c/span\u003e\u003c/div\u003e\n\u003cdiv class\u003d\"MsoNormal\" style\u003d\"margin: 0in 0in 0pt;\"\u003e\n\u003cspan style\u003d\"font-family: 'Courier New'; font-size: 8pt;\"\u003e\u0026nbsp; \u0026nbsp; \u003cspan style\u003d\"color: blue;\"\u003eEnd\u003c/span\u003e\n            \u003cspan style\u003d\"color: blue;\"\u003eSub\u003c/span\u003e\u003c/span\u003e\u003c/div\u003e\n\u003cdiv class\u003d\"MsoNormal\" style\u003d\"margin: 0in 0in 0pt;\"\u003e\n\u003cspan style\u003d\"font-family: 'Courier New'; font-size: 8pt;\"\u003e\u0026nbsp; \u0026nbsp; \u003cspan style\u003d\"color: blue;\"\u003ePrivate\u003c/span\u003e\n            \u003cspan style\u003d\"color: blue;\"\u003eSub\u003c/span\u003e Button1_Click(\u003cspan style\u003d\"color: blue;\"\u003eByVal\u003c/span\u003e\n            sender \u003cspan style\u003d\"color: blue;\"\u003eAs\u003c/span\u003e System.Object, \u003cspan style\u003d\"color: blue;\"\u003e\n                ByVal\u003c/span\u003e e \u003cspan style\u003d\"color: blue;\"\u003eAs\u003c/span\u003e System.EventArgs) \u003cspan style\u003d\"color: blue;\"\u003e\n                    Handles\u003c/span\u003e Button1.Click\u003c/span\u003e\u003c/div\u003e\n\u003cdiv class\u003d\"MsoNormal\" style\u003d\"margin: 0in 0in 0pt;\"\u003e\n\u003cspan style\u003d\"font-family: 'Courier New'; font-size: 8pt;\"\u003e\u003cspan style\u003d\"color: green;\"\u003e\n            \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; '\u003c/span\u003e \u003cspan style\u003d\"color: green;\"\u003eAdd a button to you\n                form named Button1.\u003cbr /\u003e\n                \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; '\u003cspan style\u003d\"color: black;\"\u003e \u003c/span\u003e\u003cspan style\u003d\"color: green;\"\u003e\n                    This way we can control when we want to start Browsing.\u003cbr /\u003e\n                    \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; '\u003cspan style\u003d\"color: black;\"\u003e \u003c/span\u003e\u003cspan style\u003d\"color: green;\"\u003e\n                        Select the URI to be browsed here.\u003c/span\u003e\u003c/span\u003e\u003c/span\u003e\u003c/span\u003e\u003c/div\u003e\n\u003cdiv class\u003d\"MsoNormal\" style\u003d\"margin: 0in 0in 0pt;\"\u003e\n\u003cspan style\u003d\"font-family: 'Courier New'; font-size: 8pt;\"\u003e\u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u003cspan style\u003d\"color: blue;\"\u003e\n                Me\u003c/span\u003e.axWebBrowser.Navigate(\u003cspan style\u003d\"color: blue;\"\u003eNew\u003c/span\u003e Uri(\u003cspan style\u003d\"color: maroon;\"\u003e\"http://www.google.com\"\u003c/span\u003e))\u003c/span\u003e\u003c/div\u003e\n\u003cdiv class\u003d\"MsoNormal\" style\u003d\"margin: 0in 0in 0pt;\"\u003e\n\u003cspan style\u003d\"font-family: 'Courier New'; font-size: 8pt;\"\u003e\n            \u0026nbsp;\n        \u003c/span\u003e\n    \u003c/div\u003e\n\u003cdiv class\u003d\"MsoNormal\" style\u003d\"margin: 0in 0in 0pt;\"\u003e\n\u003cspan style\u003d\"font-family: 'Courier New'; font-size: 8pt;\"\u003e\u0026nbsp; \u0026nbsp; \u003cspan style\u003d\"color: blue;\"\u003eEnd\u003c/span\u003e\n            \u003cspan style\u003d\"color: blue;\"\u003eSub\u003c/span\u003e\u003c/span\u003e\u003c/div\u003e\n\u003cdiv class\u003d\"MsoNormal\" style\u003d\"margin: 0in 0in 0pt;\"\u003e\n\u003cspan style\u003d\"color: blue; font-family: 'Courier New'; font-size: 8pt;\"\u003e\n            End\u003c/span\u003e\u003cspan style\u003d\"font-family: 'Courier New'; font-size: 8pt;\"\u003e\n                \u003cspan style\u003d\"color: blue;\"\u003eClass\u003cbr /\u003e\n                \u003c/span\u003e\u003c/span\u003e\u003c/div\u003e\n\u003cdiv class\u003d\"MsoNormal\" style\u003d\"margin: 0in 0in 0pt;\"\u003e\n\u003cspan style\u003d\"font-family: 'Courier New'; font-size: 8pt;\"\u003e\u003cspan style\u003d\"color: blue;\"\u003e\u003cspan style\u003d\"color: green;\"\u003e'*************************************************************************\u003c/span\u003e\u003cbr /\u003e\n                \u003cspan style\u003d\"color: green;\"\u003e'This class for dummy for calling GDI Functions from Win32\n                    Api.\n                    \u003cbr /\u003e\n                    'So that you can encapsulate whole GDI work outside.\u003cbr /\u003e\n                    '*************************************************************************\u003c/span\u003e\u003c/span\u003e\u003c/span\u003e\u003c/div\u003e\n\u003cdiv class\u003d\"MsoNormal\" style\u003d\"margin: 0in 0in 0pt;\"\u003e\n\u003cspan style\u003d\"color: blue; font-family: 'Courier New'; font-size: 8pt;\"\u003e\n            Public\u003c/span\u003e\u003cspan style\u003d\"font-family: 'Courier New'; font-size: 8pt;\"\u003e\n                \u003cspan style\u003d\"color: blue;\"\u003eClass\u003c/span\u003e gdi32\u003cbr /\u003e\n                \u003cbr /\u003e\n                \u003cspan style\u003d\"color: green;\"\u003e\u0026nbsp; \u0026nbsp; '\u003c/span\u003e \u003cspan style\u003d\"color: green;\"\u003eI copied\n                    all the signatures in this class from http://www.pinvoke.net\u0026nbsp;\u003c/span\u003e\u003c/span\u003e\u003c/div\u003e\n\u003cdiv class\u003d\"MsoNormal\" style\u003d\"margin: 0in 0in 0pt;\"\u003e\n\u003cspan style\u003d\"font-family: 'Courier New'; font-size: 8pt;\"\u003e\n            \u0026nbsp;\n        \u003c/span\u003e\n    \u003c/div\u003e\n\u003cdiv class\u003d\"MsoNormal\" style\u003d\"margin: 0in 0in 0pt;\"\u003e\n\u003cspan style\u003d\"font-family: 'Courier New'; font-size: 8pt;\"\u003e\u0026nbsp; \u0026nbsp; \u003cspan style\u003d\"color: blue;\"\u003ePublic\u003c/span\u003e\n            \u003cspan style\u003d\"color: blue;\"\u003eDeclare\u003c/span\u003e \u003cspan style\u003d\"color: blue;\"\u003eFunction\u003c/span\u003e\n            DeleteDC \u003cspan style\u003d\"color: blue;\"\u003eLib\u003c/span\u003e \u003cspan style\u003d\"color: maroon;\"\u003e\"gdi32.dll\"\u003c/span\u003e\n            (\u003cspan style\u003d\"color: blue;\"\u003eByVal\u003c/span\u003e hdc \u003cspan style\u003d\"color: blue;\"\u003eAs\u003c/span\u003e\n            IntPtr) \u003cspan style\u003d\"color: blue;\"\u003eAs\u003c/span\u003e \u003cspan style\u003d\"color: blue;\"\u003eBoolean\u003c/span\u003e\u003c/span\u003e\u003c/div\u003e\n\u003cdiv class\u003d\"MsoNormal\" style\u003d\"margin: 0in 0in 0pt;\"\u003e\n\u003cspan style\u003d\"font-family: 'Courier New'; font-size: 8pt;\"\u003e\u0026nbsp; \u0026nbsp; \u003cspan style\u003d\"color: blue;\"\u003ePublic\u003c/span\u003e\n            \u003cspan style\u003d\"color: blue;\"\u003eDeclare\u003c/span\u003e \u003cspan style\u003d\"color: blue;\"\u003eFunction\u003c/span\u003e\n            SelectObject \u003cspan style\u003d\"color: blue;\"\u003eLib\u003c/span\u003e \u003cspan style\u003d\"color: maroon;\"\u003e\"gdi32.dll\"\u003c/span\u003e\n            (\u003cspan style\u003d\"color: blue;\"\u003eByVal\u003c/span\u003e hdc \u003cspan style\u003d\"color: blue;\"\u003eAs\u003c/span\u003e\n            IntPtr, \u003cspan style\u003d\"color: blue;\"\u003eByVal\u003c/span\u003e hgdiobj \u003cspan style\u003d\"color: blue;\"\u003eAs\u003c/span\u003e\n            IntPtr) \u003cspan style\u003d\"color: blue;\"\u003eAs\u003c/span\u003e IntPtr\u003c/span\u003e\u003c/div\u003e\n\u003cdiv class\u003d\"MsoNormal\" style\u003d\"margin: 0in 0in 0pt;\"\u003e\n\u003cspan style\u003d\"font-family: 'Courier New'; font-size: 8pt;\"\u003e\u0026nbsp; \u0026nbsp; \u003cspan style\u003d\"color: blue;\"\u003ePublic\u003c/span\u003e\n            \u003cspan style\u003d\"color: blue;\"\u003eDeclare\u003c/span\u003e \u003cspan style\u003d\"color: blue;\"\u003eFunction\u003c/span\u003e\n            CreateCompatibleDC \u003cspan style\u003d\"color: blue;\"\u003eLib\u003c/span\u003e \u003cspan style\u003d\"color: maroon;\"\u003e\n                \"gdi32\"\u003c/span\u003e (\u003cspan style\u003d\"color: blue;\"\u003eByVal\u003c/span\u003e hDC \u003cspan style\u003d\"color: blue;\"\u003e\n                    As\u003c/span\u003e IntPtr) \u003cspan style\u003d\"color: blue;\"\u003eAs\u003c/span\u003e IntPtr\u003c/span\u003e\u003c/div\u003e\n\u003cdiv class\u003d\"MsoNormal\" style\u003d\"margin: 0in 0in 0pt;\"\u003e\n\u003cspan style\u003d\"font-family: 'Courier New'; font-size: 8pt;\"\u003e\u0026nbsp; \u0026nbsp; \u003cspan style\u003d\"color: blue;\"\u003ePublic\u003c/span\u003e\n            \u003cspan style\u003d\"color: blue;\"\u003eDeclare\u003c/span\u003e \u003cspan style\u003d\"color: blue;\"\u003eFunction\u003c/span\u003e\n            CreateCompatibleBitmap \u003cspan style\u003d\"color: blue;\"\u003eLib\u003c/span\u003e \u003cspan style\u003d\"color: maroon;\"\u003e\n                \"gdi32\"\u003c/span\u003e (\u003cspan style\u003d\"color: blue;\"\u003eByVal\u003c/span\u003e hDC \u003cspan style\u003d\"color: blue;\"\u003e\n                    As\u003c/span\u003e IntPtr, \u003cspan style\u003d\"color: blue;\"\u003eByVal\u003c/span\u003e nWidth \u003cspan style\u003d\"color: blue;\"\u003e\n                        As\u003c/span\u003e \u003cspan style\u003d\"color: blue;\"\u003eInteger\u003c/span\u003e, \u003cspan style\u003d\"color: blue;\"\u003eByVal\u003c/span\u003e\n            nHeight \u003cspan style\u003d\"color: blue;\"\u003eAs\u003c/span\u003e \u003cspan style\u003d\"color: blue;\"\u003eInteger\u003c/span\u003e)\n            \u003cspan style\u003d\"color: blue;\"\u003eAs\u003c/span\u003e IntPtr\u003c/span\u003e\u003c/div\u003e\n\u003cdiv class\u003d\"MsoNormal\" style\u003d\"margin: 0in 0in 0pt;\"\u003e\n\u003cspan style\u003d\"font-family: 'Courier New'; font-size: 8pt;\"\u003e\u0026nbsp; \u0026nbsp; \u003cspan style\u003d\"color: blue;\"\u003ePublic\u003c/span\u003e\n            \u003cspan style\u003d\"color: blue;\"\u003eDeclare\u003c/span\u003e \u003cspan style\u003d\"color: blue;\"\u003eFunction\u003c/span\u003e\n            BitBlt \u003cspan style\u003d\"color: blue;\"\u003eLib\u003c/span\u003e \u003cspan style\u003d\"color: maroon;\"\u003e\"gdi32\"\u003c/span\u003e\n            (\u003cspan style\u003d\"color: blue;\"\u003eByVal\u003c/span\u003e hDestDC \u003cspan style\u003d\"color: blue;\"\u003eAs\u003c/span\u003e\n            IntPtr, \u003cspan style\u003d\"color: blue;\"\u003eByVal\u003c/span\u003e x \u003cspan style\u003d\"color: blue;\"\u003eAs\u003c/span\u003e\n            \u003cspan style\u003d\"color: blue;\"\u003eInteger\u003c/span\u003e, \u003cspan style\u003d\"color: blue;\"\u003eByVal\u003c/span\u003e\n            y \u003cspan style\u003d\"color: blue;\"\u003eAs\u003c/span\u003e \u003cspan style\u003d\"color: blue;\"\u003eInteger\u003c/span\u003e,\n            \u003cspan style\u003d\"color: blue;\"\u003eByVal\u003c/span\u003e nWidth \u003cspan style\u003d\"color: blue;\"\u003eAs\u003c/span\u003e\n            \u003cspan style\u003d\"color: blue;\"\u003eInteger\u003c/span\u003e, \u003cspan style\u003d\"color: blue;\"\u003eByVal\u003c/span\u003e\n            nHeight \u003cspan style\u003d\"color: blue;\"\u003eAs\u003c/span\u003e \u003cspan style\u003d\"color: blue;\"\u003eInteger\u003c/span\u003e,\n            \u003cspan style\u003d\"color: blue;\"\u003eByVal\u003c/span\u003e hSrcDC \u003cspan style\u003d\"color: blue;\"\u003eAs\u003c/span\u003e\n            IntPtr, \u003cspan style\u003d\"color: blue;\"\u003eByVal\u003c/span\u003e xSrc \u003cspan style\u003d\"color: blue;\"\u003eAs\u003c/span\u003e\n            \u003cspan style\u003d\"color: blue;\"\u003eInteger\u003c/span\u003e, \u003cspan style\u003d\"color: blue;\"\u003eByVal\u003c/span\u003e\n            ySrc \u003cspan style\u003d\"color: blue;\"\u003eAs\u003c/span\u003e \u003cspan style\u003d\"color: blue;\"\u003eInteger\u003c/span\u003e,\n            \u003cspan style\u003d\"color: blue;\"\u003eByVal\u003c/span\u003e dwRop \u003cspan style\u003d\"color: blue;\"\u003eAs\u003c/span\u003e\n            \u003cspan style\u003d\"color: blue;\"\u003eInteger\u003c/span\u003e) \u003cspan style\u003d\"color: blue;\"\u003eAs\u003c/span\u003e \u003cspan style\u003d\"color: blue;\"\u003eInteger\u003c/span\u003e\u003c/span\u003e\u003c/div\u003e\n\u003cdiv class\u003d\"MsoNormal\" style\u003d\"margin: 0in 0in 0pt;\"\u003e\n\u003cspan style\u003d\"font-family: 'Courier New'; font-size: 8pt;\"\u003e\u0026nbsp; \u0026nbsp; \u003cspan style\u003d\"color: blue;\"\u003eEnum\u003c/span\u003e\n            TernaryRasterOperations \u003cspan style\u003d\"color: blue;\"\u003eAs\u003c/span\u003e \u003cspan style\u003d\"color: blue;\"\u003e\n                Integer\u003c/span\u003e\u003c/span\u003e\u003c/div\u003e\n\u003cdiv class\u003d\"MsoNormal\" style\u003d\"margin: 0in 0in 0pt;\"\u003e\n\u003cspan style\u003d\"color: blue; font-family: 'Courier New'; font-size: 8pt;\"\u003e\n            \u0026nbsp;\n        \u003c/span\u003e\n    \u003c/div\u003e\n\u003cdiv class\u003d\"MsoNormal\" style\u003d\"margin: 0in 0in 0pt;\"\u003e\n\u003cspan style\u003d\"font-family: 'Courier New'; font-size: 8pt;\"\u003e\u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; SRCCOPY \u003d 13369376 \u0026nbsp; \u0026nbsp;\u0026nbsp; \u003cspan style\u003d\"color: green;\"\u003e'dest\n                    \u003d source\u003c/span\u003e\u003c/span\u003e\u003c/div\u003e\n\u003cdiv class\u003d\"MsoNormal\" style\u003d\"margin: 0in 0in 0pt;\"\u003e\n\u003cspan style\u003d\"font-family: 'Courier New'; font-size: 8pt;\"\u003e\u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; SRCPAINT \u003d 15597702 \u0026nbsp; \u0026nbsp; \u003cspan style\u003d\"color: green;\"\u003e'dest \u003d source\n                    OR dest\u003c/span\u003e\u003c/span\u003e\u003c/div\u003e\n\u003cdiv class\u003d\"MsoNormal\" style\u003d\"margin: 0in 0in 0pt;\"\u003e\n\u003cspan style\u003d\"font-family: 'Courier New'; font-size: 8pt;\"\u003e\u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; SRCAND \u003d 8913094 \u0026nbsp; \u0026nbsp; \u0026nbsp;\u0026nbsp; \u003cspan style\u003d\"color: green;\"\u003e\n                    'dest \u003d source AND dest\u003c/span\u003e\u003c/span\u003e\u003c/div\u003e\n\u003cdiv class\u003d\"MsoNormal\" style\u003d\"margin: 0in 0in 0pt;\"\u003e\n\u003cspan style\u003d\"font-family: 'Courier New'; font-size: 8pt;\"\u003e\u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; SRCINVERT \u003d 6684742 \u0026nbsp; \u0026nbsp; \u003cspan style\u003d\"color: green;\"\u003e'dest \u003d source\n                    XOR dest\u003c/span\u003e\u003c/span\u003e\u003c/div\u003e\n\u003cdiv class\u003d\"MsoNormal\" style\u003d\"margin: 0in 0in 0pt;\"\u003e\n\u003cspan style\u003d\"font-family: 'Courier New'; font-size: 8pt;\"\u003e\u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; SRCERASE \u003d 4457256 \u0026nbsp; \u0026nbsp;\u0026nbsp; \u003cspan style\u003d\"color: green;\"\u003e'dest\n                    \u003d source AND (NOT dest )\u003c/span\u003e\u003c/span\u003e\u003c/div\u003e\n\u003cdiv class\u003d\"MsoNormal\" style\u003d\"margin: 0in 0in 0pt;\"\u003e\n\u003cspan style\u003d\"font-family: 'Courier New'; font-size: 8pt;\"\u003e\u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; NOTSRCCOPY \u003d 3342344 \u0026nbsp;\u0026nbsp; \u003cspan style\u003d\"color: green;\"\u003e'dest \u003d (NOT\n                    source)\u003c/span\u003e\u003c/span\u003e\u003c/div\u003e\n\u003cdiv class\u003d\"MsoNormal\" style\u003d\"margin: 0in 0in 0pt;\"\u003e\n\u003cspan style\u003d\"font-family: 'Courier New'; font-size: 8pt;\"\u003e\u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; NOTSRCERASE \u003d 1114278 \u0026nbsp; \u003cspan style\u003d\"color: green;\"\u003e'dest \u003d (NOT src)\n                    AND (NOT dest)\n                    \n                \u003c/span\u003e\u003c/span\u003e\n    \u003c/div\u003e\n\u003cdiv class\u003d\"MsoNormal\" style\u003d\"margin: 0in 0in 0pt;\"\u003e\n\u003cspan style\u003d\"font-family: 'Courier New'; font-size: 8pt;\"\u003e\u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; MERGECOPY \u003d 12583114 \u0026nbsp;\u0026nbsp; \u003cspan style\u003d\"color: green;\"\u003e'dest \u003d (source\n                    AND pattern)\u003c/span\u003e\u003c/span\u003e\u003c/div\u003e\n\u003cdiv class\u003d\"MsoNormal\" style\u003d\"margin: 0in 0in 0pt;\"\u003e\n\u003cspan style\u003d\"font-family: 'Courier New'; font-size: 8pt;\"\u003e\u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; MERGEPAINT \u003d 12255782 \u0026nbsp; \u003cspan style\u003d\"color: green;\"\u003e'dest \u003d (NOT source)\n                    OR dest\u003c/span\u003e\u003c/span\u003e\u003c/div\u003e\n\u003cdiv class\u003d\"MsoNormal\" style\u003d\"margin: 0in 0in 0pt;\"\u003e\n\u003cspan style\u003d\"font-family: 'Courier New'; font-size: 8pt;\"\u003e\u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; PATCOPY \u003d 15728673 \u0026nbsp; \u0026nbsp;\u0026nbsp; \u003cspan style\u003d\"color: green;\"\u003e'dest\n                    \u003d pattern\u003c/span\u003e\u003c/span\u003e\u003c/div\u003e\n\u003cdiv class\u003d\"MsoNormal\" style\u003d\"margin: 0in 0in 0pt;\"\u003e\n\u003cspan style\u003d\"font-family: 'Courier New'; font-size: 8pt;\"\u003e\u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; PATPAINT \u003d 16452105 \u0026nbsp; \u0026nbsp; \u003cspan style\u003d\"color: green;\"\u003e'dest \u003d DPSnoo\u003c/span\u003e\u003c/span\u003e\u003c/div\u003e\n\u003cdiv class\u003d\"MsoNormal\" style\u003d\"margin: 0in 0in 0pt;\"\u003e\n\u003cspan style\u003d\"font-family: 'Courier New'; font-size: 8pt;\"\u003e\u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; PATINVERT \u003d 5898313 \u0026nbsp; \u0026nbsp; \u003cspan style\u003d\"color: green;\"\u003e'dest \u003d pattern\n                    XOR dest\u003c/span\u003e\u003c/span\u003e\u003c/div\u003e\n\u003cdiv class\u003d\"MsoNormal\" style\u003d\"margin: 0in 0in 0pt;\"\u003e\n\u003cspan style\u003d\"font-family: 'Courier New'; font-size: 8pt;\"\u003e\u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; DSTINVERT \u003d 5570569 \u0026nbsp; \u0026nbsp; \u003cspan style\u003d\"color: green;\"\u003e'dest \u003d (NOT\n                    dest)\u003c/span\u003e\u003c/span\u003e\u003c/div\u003e\n\u003cdiv class\u003d\"MsoNormal\" style\u003d\"margin: 0in 0in 0pt;\"\u003e\n\u003cspan style\u003d\"font-family: 'Courier New'; font-size: 8pt;\"\u003e\u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; BLACKNESS \u003d 66 \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp;\u0026nbsp; \u003cspan style\u003d\"color: green;\"\u003e\n                    'dest \u003d BLACK\u003c/span\u003e\u003c/span\u003e\u003c/div\u003e\n\u003cdiv class\u003d\"MsoNormal\" style\u003d\"margin: 0in 0in 0pt;\"\u003e\n\u003cspan style\u003d\"font-family: 'Courier New'; font-size: 8pt;\"\u003e\u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; WHITENESS \u003d 16711778 \u0026nbsp;\u0026nbsp; \u003cspan style\u003d\"color: green;\"\u003e'dest \u003d WHITE\u003c/span\u003e\u003c/span\u003e\u003c/div\u003e\n\u003cdiv class\u003d\"MsoNormal\" style\u003d\"margin: 0in 0in 0pt;\"\u003e\n\u003cspan style\u003d\"font-family: 'Courier New'; font-size: 8pt;\"\u003e\u0026nbsp; \u0026nbsp; \u003cspan style\u003d\"color: blue;\"\u003eEnd\u003c/span\u003e\n            \u003cspan style\u003d\"color: blue;\"\u003eEnum\u003c/span\u003e\u003c/span\u003e\u003c/div\u003e\n\u003cdiv class\u003d\"MsoNormal\" style\u003d\"margin: 0in 0in 0pt;\"\u003e\n\u003cspan style\u003d\"color: blue; font-family: 'Courier New'; font-size: 8pt;\"\u003e\n            End\u003c/span\u003e\u003cspan style\u003d\"font-family: 'Courier New'; font-size: 8pt;\"\u003e\n                \u003cspan style\u003d\"color: blue;\"\u003eClass\u003c/span\u003e\u003c/span\u003e\u003c/div\u003e\n\u003cdiv class\u003d\"MsoNormal\" style\u003d\"margin: 0in 0in 0pt;\"\u003e\n\u003cspan style\u003d\"font-family: 'Courier New'; font-size: 8pt;\"\u003e\u003cspan style\u003d\"color: blue;\"\u003e\n                \u003cbr /\u003e\n                \u003cspan style\u003d\"color: green;\"\u003e'Check out Alan Dean's explaination, because I don;t get\n                    it. He is smarter than me, so I just believed that it works.\u003cbr /\u003e\n                \u003c/span\u003e\u003c/span\u003e\u003c/span\u003e\n        \u003cspan style\u003d\"font-family: 'Courier New'; font-size: 8pt;\"\u003e\u0026lt;Guid(\u003cspan style\u003d\"color: maroon;\"\u003e\"3050f669-98b5-11cf-bb82-00aa00bdce0b\"\u003c/span\u003e), System.Runtime.InteropServices.InterfaceTypeAttribute(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown),\n            System.Runtime.InteropServices.ComVisible(\u003cspan style\u003d\"color: blue;\"\u003eTrue\u003c/span\u003e),\n            System.Runtime.InteropServices.ComImport()\u0026gt; _\u003c/span\u003e\u003c/div\u003e\n\u003cdiv class\u003d\"MsoNormal\" style\u003d\"margin: 0in 0in 0pt;\"\u003e\n\u003cspan style\u003d\"color: blue; font-family: 'Courier New'; font-size: 8pt;\"\u003e\n            Interface\u003c/span\u003e\u003cspan style\u003d\"font-family: 'Courier New'; font-size: 8pt;\"\u003e\n                IHTMLElementRender\u003c/span\u003e\u003c/div\u003e\n\u003cdiv class\u003d\"MsoNormal\" style\u003d\"margin: 0in 0in 0pt;\"\u003e\n\u003cspan style\u003d\"font-family: 'Courier New'; font-size: 8pt;\"\u003e\u0026nbsp; \u0026nbsp; \u003cspan style\u003d\"color: blue;\"\u003eSub\u003c/span\u003e\n            DrawToDC(\u0026lt;System.Runtime.InteropServices.In()\u0026gt; \u003cspan style\u003d\"color: blue;\"\u003eByVal\u003c/span\u003e\n            hDC \u003cspan style\u003d\"color: blue;\"\u003eAs\u003c/span\u003e IntPtr)\u003c/span\u003e\u003c/div\u003e\n\u003cdiv class\u003d\"MsoNormal\" style\u003d\"margin: 0in 0in 0pt;\"\u003e\n\u003cspan style\u003d\"font-family: 'Courier New'; font-size: 8pt;\"\u003e\u0026nbsp; \u0026nbsp; \u003cspan style\u003d\"color: blue;\"\u003eSub\u003c/span\u003e\n            SetDocumentPrinter(\u0026lt;System.Runtime.InteropServices.In(), System.Runtime.InteropServices.MarshalAs(UnmanagedType.BStr)\u0026gt;\n            \u003cspan style\u003d\"color: blue;\"\u003eByVal\u003c/span\u003e bstrPrinterName \u003cspan style\u003d\"color: blue;\"\u003eAs\u003c/span\u003e\n            \u003cspan style\u003d\"color: blue;\"\u003eString\u003c/span\u003e, \u0026lt;System.Runtime.InteropServices.In()\u0026gt;\n            \u003cspan style\u003d\"color: blue;\"\u003eByVal\u003c/span\u003e hDC \u003cspan style\u003d\"color: blue;\"\u003eAs\u003c/span\u003e IntPtr)\u003c/span\u003e\u003c/div\u003e\n\u003cdiv class\u003d\"MsoNormal\" style\u003d\"margin: 0in 0in 0pt;\"\u003e\n\u003cspan style\u003d\"color: blue; font-family: 'Courier New'; font-size: 8pt;\"\u003e\n            End\u003c/span\u003e\u003cspan style\u003d\"font-family: 'Courier New'; font-size: 8pt;\"\u003e\n                \u003cspan style\u003d\"color: blue;\"\u003eInterface\u003c/span\u003e\u003c/span\u003e\u003c/div\u003e\n\u003cdiv class\u003d\"MsoNormal\" style\u003d\"margin: 0in 0in 0pt;\"\u003e\n\u003cspan style\u003d\"color: blue; font-family: 'Courier New'; font-size: 8pt;\"\u003e\n            \u0026nbsp;\n        \u003c/span\u003e\n    \u003c/div\u003e\n\u003cdiv class\u003d\"MsoNormal\" style\u003d\"margin: 0in 0in 0pt;\"\u003e\n\u003cspan style\u003d\"color: blue; font-family: 'Courier New'; font-size: 8pt;\"\u003e\n            \u0026nbsp;\n        \u003c/span\u003e\n    \u003c/div\u003e\n\u003cdiv class\u003d\"MsoNormal\" style\u003d\"margin: 0in 0in 0pt;\"\u003e\n\u0026nbsp;\n    \u003c/div\u003e\n\u003c/div\u003e\n\u003c/div\u003e\n"},"link":[{"rel":"replies","type":"application/atom+xml","href":"http://vismit.khapre.org/feeds/115634831995886629/comments/default","title":"Post Comments"},{"rel":"replies","type":"text/html","href":"https://draft.blogger.com/comment.g?blogID\u003d3275735\u0026postID\u003d115634831995886629","title":"2 Comments"},{"rel":"edit","type":"application/atom+xml","href":"https://draft.blogger.com/feeds/3275735/posts/default/115634831995886629"},{"rel":"self","type":"application/atom+xml","href":"http://vismit.khapre.org/feeds/posts/default/115634831995886629"},{"rel":"alternate","type":"text/html","href":"http://vismit.khapre.org/2006/08/create-thumbnail-image-of-web-page.aspx","title":"Create a Thumbnail Image of web page"}],"author":[{"name":{"$t":"Vishal Khapre"},"email":{"$t":"noreply@blogger.com"},"gd$image":{"rel":"http://schemas.google.com/g/2005#thumbnail","width":"35","height":"35","src":"//www.blogger.com/img/blogger_logo_round_35.png"}}],"thr$total":{"$t":"2"}},{"id":{"$t":"tag:blogger.com,1999:blog-3275735.post-115400830018551711"},"published":{"$t":"2006-07-27T08:47:00.000-05:00"},"updated":{"$t":"2007-05-07T08:40:06.118-05:00"},"category":[{"scheme":"http://www.blogger.com/atom/ns#","term":"Windows"}],"title":{"type":"text","$t":"Competition  - MSN - Google - We sing Kajara re"},"content":{"type":"html","$t":"\u003cembed FlashVars\u003d\"vurl\u003dhttp%3a%2f%2fgrouper.com%2frss%2fflv.ashx%3fid%3d983287%26rf%3d448725\u0026amp;vfver\u003d8\u0026amp;ap\u003d1\u0026amp;extid\u003d4\" allowScriptAccess\u003d\"never\" height\u003d\"325\" pluginspage\u003d\"http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version\u003dShockwaveFlash\" quality\u003d\"high\" scale\u003d\"noScale\" src\u003d\"http://grouper.com/mtg/mtgPlayer.swf?v\u003d1.1\" type\u003d\"application/x-shockwave-flash\" width\u003d\"400\" wmode\u003d\"transparent\"\u003e \u003c/embed\u003e\n\u003cbr\u003eAbout 8 months back I uploaded whole \u003ca href\u003d\"http://www.khapre.org/content/diwali2005.aspx\"\u003eDiwali Party\u003c/a\u003e on Google video. Thought it was awesome. Then here it is \u003ca href\u003d\"http://video.msn.com\"\u003eMSN Video\u003c/a\u003e a product of competition. I am so happy to see this.\nThis competition has given us \u003ca href\u003d\"http://www.live.com\"\u003eWindows Live\u003c/a\u003e, a next generation of web accessories from MS. Though these Live tools are a long way from beating Google's Froogle, Spreadsheet, Notebook, Reader. Both of these competitors are more or less in BETA mode, but their products are very usable. I personally use them. Yahoo!! is also not away from competition, try Yahoo's \u003ca href\u003d\"http://farechase.yahoo.com\"\u003eFarechase\u003c/a\u003e. \nI really dont care who wins, I know, whoever wins will be the best product. There is so much of population, so nobody will be out of business, unless they are bought by other. \u003cbr\u003eTry out the new \u003ca href\u003d\"http://www.google.com/notebook\"\u003eNotebook\u003c/a\u003e from Google. I requested Google to provide RSS feed for the Public notebooks. Then I can read other feeds and make notes on MSN Live pages or Google Reader. This competition has also given us the 2 GB Email space. Gmail started this trend and now anyone who is less than 2 GB is out of business. Gmail provides an edge over as it is ever growing space. MSN Live Beta has also started a trial for Hotmail with 2 GB. You have to sign up for that. \u003cbr\u003e\nThe best thing out of competition is handshake betweeen Yahoo Messager and MSN Messenger. The Windows Live Messager Beta can talk to Yahoo Messenger with Voice and vice versa. Read this \u003ca href\u003d\"http://www.microsoft.com/presspass/press/2006/jul06/07-12IMInteropPR.mspx\"\u003eMS Note\u003c/a\u003e and \u003ca href\u003d\"http://messenger.yahoo.com/partners_msn.php\"\u003eYahoo Note\u003c/a\u003e. In Hindi, \"Dushman ka dushman, dost hota hai!!\", means \"Enemy's enemy becomes your friend\". Bottom line, this competition is giving us great tools online, some slick web programming from giants. We all sing \"Kajara re!!\"."},"link":[{"rel":"replies","type":"application/atom+xml","href":"http://vismit.khapre.org/feeds/115400830018551711/comments/default","title":"Post Comments"},{"rel":"replies","type":"text/html","href":"https://draft.blogger.com/comment.g?blogID\u003d3275735\u0026postID\u003d115400830018551711","title":"0 Comments"},{"rel":"edit","type":"application/atom+xml","href":"https://draft.blogger.com/feeds/3275735/posts/default/115400830018551711"},{"rel":"self","type":"application/atom+xml","href":"http://vismit.khapre.org/feeds/posts/default/115400830018551711"},{"rel":"alternate","type":"text/html","href":"http://vismit.khapre.org/2006/07/competition-msn-google-we-sing-kajara.aspx","title":"Competition  - MSN - Google - We sing Kajara re"}],"author":[{"name":{"$t":"Vishal Khapre"},"email":{"$t":"noreply@blogger.com"},"gd$image":{"rel":"http://schemas.google.com/g/2005#thumbnail","width":"35","height":"35","src":"//www.blogger.com/img/blogger_logo_round_35.png"}}],"thr$total":{"$t":"0"}},{"id":{"$t":"tag:blogger.com,1999:blog-3275735.post-112109534223443808"},"published":{"$t":"2005-07-11T10:08:00.000-05:00"},"updated":{"$t":"2007-05-07T08:40:06.118-05:00"},"category":[{"scheme":"http://www.blogger.com/atom/ns#","term":"Windows"}],"title":{"type":"text","$t":"scanf : 'floating point formats not linked'"},"content":{"type":"html","$t":"Have you seen this error in your C or C++ programs, the programs are very simple, \n\u003cblockquote\u003e\nfloat myFloat;\nscanf(\"%f\",\u0026myFloat); \n/* This step results in abnormal termination or program with an error\n   as      scanf : floating point formats not linked. */\n\u003c/blockquote\u003e\nThis can be seen at runtime, when the line is called during execution, there is a great chance based on platform and compiler, you will see this error. I discovered this during development of linked list program which would have some float manipulation. After a considerable research I realised that, it can happen when I am using the Borland C++ or Turbo C as compiler. \n\u003cblockquote\u003e\n\"Floating point formats not linked\" is a Borland run-time error (Borland C or C++, Turbo C or C++). Borland's compilers try to be smart and not link in the floating- point (f-p) library unless you need it. Alas, they all get the decision wrong. One common case is where you don't call any f-p functions, but you have %f or other f-p formats in scanf() or printf() calls. The cure is to call an f-p function, or at least force one to be present in the link.\u003cbr\u003e\n - via \u003ca href\u003d\"http://www.jeffc.org/msdos/dos-faq.html#Q0304\"\u003eJeffc.com\u003c/a\u003e\n\u003c/blockquote\u003e\n\"jeffc.com\" also talks about solution, and it works as follws.\u003cbr\u003e\n\u003cblockquote\u003e\nTo do that, define this function somewhere in a source file but don't call it:\n\n   static void forcefloat(float *p)\n   {\n     float f \u003d *p;\n     forcefloat(\u0026f);\n   }\n\u003cbr\u003e\nIt doesn't have to be in the module with the main program, as long as it's in a module that will be included in the link.\n\nIf you have Borland C++ 3.0, the README file documents a slightly less ugly work-around. Insert these statements in your program:\n\n   extern unsigned _floatconvert;\n   #pragma extref _floatconvert\n\u003c/blockquote\u003e\nThis also means that you might not see this on some platforms like linux, and AIX versions. I could not replicate that on any other platform than Windows."},"link":[{"rel":"replies","type":"application/atom+xml","href":"http://vismit.khapre.org/feeds/112109534223443808/comments/default","title":"Post Comments"},{"rel":"replies","type":"text/html","href":"https://draft.blogger.com/comment.g?blogID\u003d3275735\u0026postID\u003d112109534223443808","title":"0 Comments"},{"rel":"edit","type":"application/atom+xml","href":"https://draft.blogger.com/feeds/3275735/posts/default/112109534223443808"},{"rel":"self","type":"application/atom+xml","href":"http://vismit.khapre.org/feeds/posts/default/112109534223443808"},{"rel":"alternate","type":"text/html","href":"http://vismit.khapre.org/2005/07/scanf-floating-point-formats-not.aspx","title":"scanf : 'floating point formats not linked'"}],"author":[{"name":{"$t":"Vishal Khapre"},"email":{"$t":"noreply@blogger.com"},"gd$image":{"rel":"http://schemas.google.com/g/2005#thumbnail","width":"35","height":"35","src":"//www.blogger.com/img/blogger_logo_round_35.png"}}],"thr$total":{"$t":"0"}}]}});