<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2enclosuresfull.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss xmlns:media="http://search.yahoo.com/mrss/" xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0"><channel><title>Geeks Place!!!</title><link>http://newbieprogrammer.blogspot.com/</link><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/newbieprogrammer" /><description>Geeks Place for IT Informations
IT News, IT Codes, IT Links, and many more...</description><language>en</language><managingEditor>noreply@blogger.com (Humble Mafiosi)</managingEditor><lastBuildDate>Tue, 22 Dec 2009 00:04:39 PST</lastBuildDate><generator>Blogger http://www.blogger.com</generator><openSearch:totalResults xmlns:openSearch="http://a9.com/-/spec/opensearch/1.1/">85</openSearch:totalResults><openSearch:startIndex xmlns:openSearch="http://a9.com/-/spec/opensearch/1.1/">1</openSearch:startIndex><openSearch:itemsPerPage xmlns:openSearch="http://a9.com/-/spec/opensearch/1.1/">25</openSearch:itemsPerPage><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><itunes:owner><itunes:email>noreply@blogger.com</itunes:email></itunes:owner><itunes:explicit>no</itunes:explicit><itunes:subtitle>Geeks Place for IT Informations IT News, IT Codes, IT Links, and many more...</itunes:subtitle><itunes:summary>Geeks Place for IT Informations IT News, IT Codes, IT Links, and many more...</itunes:summary><feedburner:browserFriendly></feedburner:browserFriendly><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com" /><item><title></title><link>http://newbieprogrammer.blogspot.com/2009/11/c-is-programming-platform-released-by.html</link><category>download</category><category>ebook</category><category>C#</category><author>noreply@blogger.com (Humble Mafiosi)</author><pubDate>Sat, 31 Oct 2009 21:03:15 PDT</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-6850314235614212710.post-6341932498973969964</guid><description>C # is a programming platform released by Microsoft which is bundled with Microsoft Visual Studio dot Net. For my friends who have studied the dot Net, but still using VB Net programming language, some e-books below may be a reference to start learning C # dot Net.&lt;br /&gt;
&lt;br /&gt;
e-book is free and available at the website of origin, namely: &lt;a href="http://www.csharpcourse.com/"&gt;www.csharpcourse.com&lt;/a&gt;, and you can download at the links are below.&lt;br /&gt;
&lt;br /&gt;
1. &lt;a href="http://www.ziddu.com/download/7166824/CSharpfromJavaOrangeBook2009.pdf.html"&gt;C Sharp Java from Orange Book (462K)&lt;/a&gt;&lt;br /&gt;
2. &lt;a href="http://www.ziddu.com/download/7166822/RobMilesCSharpYellowBook2008.pdf.html"&gt;Rob Miles CSharp Yellow Book 2008.pdf (1.4M)&lt;/a&gt;&lt;br /&gt;
3. &lt;a href="http://www.ziddu.com/download/7166823/RobMilesCSharpYellowBook2009.pdf.html"&gt;Rob Miles CSharp Yellow Book 2009.pdf (1.5M)&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
Hopefully this article useful.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6850314235614212710-6341932498973969964?l=newbieprogrammer.blogspot.com' alt='' /&gt;&lt;/div&gt;</description><app:edited xmlns:app="http://www.w3.org/2007/app">2009-11-01T11:03:15.239+07:00</app:edited><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">2</thr:total></item><item><title>Attract Visitors with Blog Advertising</title><link>http://newbieprogrammer.blogspot.com/2009/10/attract-visitors-with-blog-advertising.html</link><category>marketing</category><author>noreply@blogger.com (Humble Mafiosi)</author><pubDate>Fri, 30 Oct 2009 18:04:25 PDT</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-6850314235614212710.post-3402441199579890405</guid><description>World internet today offers so many opportunities in making money. Examples of Internet business today is very tempting are online store. But, at the same time, a problem faced by this online internet business. One of the problems faced is how to attract visitors to visit to your website. &lt;br /&gt;
&lt;br /&gt;
Many ways can be used, one of them is doing an online promotion, such as: put an ad in the largest search engine today, ie Google or advertisements on websites where their visitors crowded, so we can attract visitors into our stores. &lt;br /&gt;
&lt;br /&gt;
This opportunity led to one of the terms of the &lt;a href="http://www.linkfromblog.com/"&gt;advertise on blogs&lt;/a&gt;, in which we asked the blogger to review our website on the advantages or shortcomings of our website. That way, visitors who read reviews from the bloggers can be lured to enter our store. &lt;br /&gt;
&lt;br /&gt;
Then, how can we know which bloggers are most attractive to visitors. Now, online business that facilitated between online businessman with bloggers. Their business called &lt;a href="http://www.linkfromblog.com/"&gt;blog advertising&lt;/a&gt;. &lt;br /&gt;
&lt;br /&gt;
Their efforts are very effective for online businesses to increase the number of visitors. So if you want success in Internet business world, diligently for promotion, because business in internet world is not different from real world.&lt;br /&gt;
Keep the spirit up.. &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6850314235614212710-3402441199579890405?l=newbieprogrammer.blogspot.com' alt='' /&gt;&lt;/div&gt;</description><app:edited xmlns:app="http://www.w3.org/2007/app">2009-10-31T08:04:25.483+07:00</app:edited><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total></item><item><title>Basic features of Google Android 2.0</title><link>http://newbieprogrammer.blogspot.com/2009/10/basic-features-of-google-android-20.html</link><author>noreply@blogger.com (Humble Mafiosi)</author><pubDate>Thu, 29 Oct 2009 19:10:50 PDT</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-6850314235614212710.post-1731886653954149624</guid><description>San Francisco - Google finally leaked information about the features in the latest Android will insist pinned in the phones options. &lt;br&gt; &lt;br&gt; Exposure software development kit (SDK) 2.0 Android is Google&amp;#39;s exposed to the developers, one day before the spawn Motorola phones based on open source called Droid for Verizon. &lt;br&gt; &lt;br&gt; Reporting via Yahoo Tech, Wednesday (28/10/2009), some features of the development of applications that have been buried by mobile phone manufacturers and the other is a feature that can be developed more in line with the changing technology. &lt;br&gt; &lt;br&gt; Here are some of the features in the oeprasi system.  &lt;br&gt; &lt;br&gt; 1. Synchronize email and contacts with many accounts, from various sources.  &lt;br&gt; 2. Supports Microsoft Exchange synchronization  &lt;br&gt; 3. Combination inbox for many email accounts  &lt;br&gt; 4. Connection speed (quick connect) which allows users make calls, send SMS, email, simply by touching the contacts the intended image. &lt;br&gt; 5. Camera features a good master flash, digital zoom, scenes, white balance, color effects and macro mode.  &lt;br&gt; 6. Virtual keyboard complete with a sensitive  &lt;br&gt; 7. Three-point support multitouch  &lt;br&gt; 8. A better browser in the form of visual thumbnail bookmarks, address bar operation one-touch, zooming the display with touch twice, and HTML5. &lt;br&gt; 9. Bluetooth 2.1 technology to connect peer-to-peer and access to the profile in the phonebook.  &lt;br&gt; 10. Compatible applications if displayed on a large screen or small.  &lt;br&gt; &lt;br&gt; These features that will be used by vendors such as HTC Android phone and Motorola. For a more complete feature can be seen on the &lt;a href="http://developer.android.com/sdk/android-2.0-highlights.html"&gt;official site for Android developers&lt;/a&gt; &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6850314235614212710-1731886653954149624?l=newbieprogrammer.blogspot.com' alt='' /&gt;&lt;/div&gt;</description><app:edited xmlns:app="http://www.w3.org/2007/app">2009-10-30T09:10:50.292+07:00</app:edited><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total></item><item><title>Microsoft cleans up bugs after biggest patch release</title><link>http://newbieprogrammer.blogspot.com/2009/10/microsoft-cleans-up-bugs-after-biggest.html</link><author>noreply@blogger.com (Humble Mafiosi)</author><pubDate>Thu, 29 Oct 2009 18:41:12 PDT</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-6850314235614212710.post-6664484845048801764</guid><description>&lt;p&gt;October&amp;#39;s Windows Update disabled Microsoft&amp;#39;s Communications Server product&lt;br&gt;			&lt;i&gt;by Robert McMillan&lt;/i&gt;  		&lt;/p&gt;&lt;p&gt;After releasing its largest-ever group of security patches two weeks ago, Microsoft has done a little cleaning up.&lt;/p&gt; &lt;p&gt;Over the past few days, the company has re-released two security updates and issued a workaround for a Windows CryptoAPI patch that caused Microsoft&amp;#39;s own instant-messaging server to crash.&lt;/p&gt; &lt;p&gt;&amp;quot;This is the patch month that will not die,&amp;quot; said Susan Bradley, chief technology officer with Tamiyasu, Smith, Horn and Braun, an accountancy. She added that the Communicator issue was &amp;quot;a big one to miss,&amp;quot; because Microsoft is usually careful about testing its security updates with its own products.&lt;/p&gt; &lt;p&gt;Scott Turner, network systems administrator with the Public Health Institute in Sacramento, California, noticed the bug immediately after installing Microsoft&amp;#39;s updates. &amp;quot;We deployed the patch,&amp;quot; he said. &amp;quot;When I came in the next day, nobody could connect&amp;quot; to Communicator. &lt;/p&gt; &lt;p&gt;According to a &lt;a href="http://support.microsoft.com/kb/974571"&gt;support article&lt;/a&gt; on Microsoft&amp;#39;s Web site, the &lt;a href="http://www.microsoft.com/technet/security/bulletin/MS09-056.mspx"&gt;MS09-056&lt;/a&gt; update disables several services that Communications Server needs in order to operate. The bug affects Live Communications Server 2005, Office Communications Server 2007 and evaluation versions of Office Communicator 2007.&lt;/p&gt; &lt;p&gt;Microsoft has released a workaround for the problem, but Turner hasn&amp;#39;t yet been able to try it out. He&amp;#39;s had to disable the MS09-056 update in the meantime to get his company&amp;#39;s Communicator users up and running.&lt;/p&gt; &lt;p&gt;Another buggy patch fixed over the past few days was the &lt;a href="http://www.microsoft.com/technet/security/bulletin/MS09-043.mspx"&gt;MS09-043&lt;/a&gt; Office update, first released back in August. This was apparently misconfigured so that customers who use Microsoft update tools such as Windows Server Update Services (WSUS) were given bad scan results. Customers who use Microsoft&amp;#39;s tools may believe they&amp;#39;re fully patched, when in fact they&amp;#39;re not due to this bug, said Eric Schultze, an independent security consultant.&lt;/p&gt; &lt;p&gt;Those customers should re-run their update tools to be sure that they&amp;#39;re patched, he added.&lt;/p&gt; &lt;p&gt;&lt;strong&gt;The issue affects customers who are running the Microsoft Office Access Runtime 2003, but not any Office products, a Microsoft spokesman said via e-mail. &amp;quot;Essentially, the security update installer detection logic was updated to include an uncommon scenario, where a customer only installed the Microsoft Office Access Runtime 2003 without fully installing the Office 2003 suite or other individual Office 2003 products. Those who are running in this scenario should apply the re-released bulletin immediately."&lt;/strong&gt;&lt;/p&gt; &lt;p&gt;&lt;strong&gt;&lt;/strong&gt;&lt;/p&gt; Microsoft said it also corrected some &amp;quot;detection entries&amp;quot; and &amp;quot;file and registry key verification information&amp;quot; in an update to the &lt;a href="http://www.microsoft.com/technet/security/bulletin/MS09-062.mspx"&gt;MS09-062&lt;/a&gt; patch, released Wednesday. &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6850314235614212710-6664484845048801764?l=newbieprogrammer.blogspot.com' alt='' /&gt;&lt;/div&gt;</description><app:edited xmlns:app="http://www.w3.org/2007/app">2009-10-30T08:41:12.498+07:00</app:edited><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total></item><item><title>Windows 7 Keeps the Good, Tries to Fix Flaws</title><link>http://newbieprogrammer.blogspot.com/2009/10/windows-7-keeps-good-tries-to-fix-flaws.html</link><author>noreply@blogger.com (Humble Mafiosi)</author><pubDate>Thu, 29 Oct 2009 06:46:22 PDT</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-6850314235614212710.post-8930984025895575186</guid><description>By DAVID POGUE&lt;br /&gt;
Published: October 21, 2009 &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Windows 7 comes out Thursday. And if the programmers at Microsoft have any strength left at all, they are high-fiving.&lt;br /&gt;
&lt;br /&gt;
Their three-year Windows Vista nightmare is over. That operating system’s wretched reputation may have been overblown; at the outset, it was slow, intrusive and incompatible with a lot of gadgets, but it’s been quietly improved over the years. Nonetheless, the corporate software buyers who order copies of Windows by the gross weren’t impressed. As recently as this summer, at least two-thirds of corporate computers were still running the positively ancient Windows XP.&lt;br /&gt;
&lt;br /&gt;
Windows 7 is a different story. It keeps what’s good about Windows Vista, like security, stability and generous eye candy, and addresses much of what people disliked.&lt;br /&gt;
&lt;br /&gt;
Item 1: Sluggishness. As Microsoft’s triple redundancy puts it, Windows 7 offers “faster, more responsive performance.”&lt;br /&gt;
&lt;br /&gt;
Item 2: Hardware requirements. They’re no steeper than Vista’s three years ago (the standard edition requires 1 gigabyte of memory and 1 gigahertz processor; more is better).&lt;br /&gt;
&lt;br /&gt;
Item 3: Nagging Windows 7 is far less alarmist than Vista, which freaked out about every potential security threat. In fact, 10 categories of warnings now pile up quietly in a single, unified Action Center and don’t interrupt you at all.&lt;br /&gt;
&lt;br /&gt;
Best of all, Windows 7 represents a departure from Microsoft’s usual “success is measured by the length of the feature list” philosophy. This time around, it was, “Polish, optimize and streamline what we’ve already got.” That seems to be the industry mantra for 2009 — see also Apple’s Snow Leopard release in August — and it’s fantastic news. There are three ugly aspects of Windows 7, so let’s get them out of the way up front. Upgrading from Vista is easy, but upgrading from Windows XP involves a “clean install”— moving all your programs and files off the hard drive, installing Windows 7, then copying everything back on again. It’s an all-day hassle that’s nobody’s idea of fun.&lt;br /&gt;
&lt;br /&gt;
Microsoft doesn’t think XP holdouts will bother; it hopes that they’ll just get Windows 7 preinstalled on a new PC. (It’s no accident that new operating systems come out right before holiday shopping.) The second bit of nastiness is the insane matrix of versions. Again, there are five versions of Windows 7 — Starter, Home Premium, Professional, Enterprise, Ultimate — each with its own set of features, each in 32-bit or 64-bit flavors (except Starter), at prices from $120 to $320. Good luck figuring out why some cool Windows 7 feature, like the much-improved, TiVo-like Windows Media Center, isn’t on your PC.&lt;br /&gt;
&lt;br /&gt;
(No wonder a raft of books about Windows 7 is on the way. A disclosure: I’m writing one of them.)&lt;br /&gt;
&lt;br /&gt;
Finally, out of fear of antitrust headaches, Microsoft has stripped Windows 7 of some important accessory programs. Believe it or not, software for managing photos, editing videos, reading PDF documents, maintaining a calendar, managing addresses, chatting online or writing e-mail doesn’t come with Windows 7.&lt;br /&gt;
&lt;br /&gt;
What kind of operating system doesn’t come with an e-mail program?&lt;br /&gt;
&lt;br /&gt;
Instead, you’re supposed to download these free apps yourself from a Microsoft Web site. It’s not a huge deal; some companies, including Dell, plan to preinstall them on new computers. But a lot of people will be in for some serious confusion — especially when they discover that the Windows 7 installer has deleted their existing Vista copies of Windows Mail, Movie Maker, Calendar, Contacts and Photo Gallery. (Mercifully, it preserves your data.)&lt;br /&gt;
&lt;br /&gt;
Otherwise, though, Windows 7 is mostly great news. The happiest developments help Windows live up to its name: there are some slick, efficient new features for managing windows.&lt;br /&gt;
&lt;br /&gt;
You can drag a window’s edge against the top or side of your screen to make it fill the whole screen or half of it. You can give a window a little shake with the mouse — kind of fun, actually — to minimize all other windows (or to bring them back again) when you need a quick look at your desktop.&lt;br /&gt;
&lt;br /&gt;
The taskbar now resembles the Dock in Apple’s Mac OS X. That is, it displays the icons for both open programs and those you’ve dragged there for quick access. (Weirdly, though, you can’t turn individual folders and documents into buttons on the taskbar, as in Mac OS X, only programs.)&lt;br /&gt;
&lt;br /&gt;
Better yet, if you point to a program’s icon without clicking, you see Triscuit-size miniatures of all the windows open in that program. And if you point to one of these thumbnails, its corresponding full-size window flashes to the fore. All of this means easier navigation in a screen awash with window clutter.&lt;br /&gt;
&lt;br /&gt;
Windows 7 also introduces libraries: virtual folders that display the contents of up to 50 other folders, which may be scattered all over your system. Libraries make it easy to keep project files together, back them up en masse or share them with other PC’s on the network.&lt;br /&gt;
&lt;br /&gt;
Speaking of which, networking is also more refined in Windows 7. Handling of Internet hot spots is much better than before, and the new HomeGroups feature lets you unify all Windows 7 computers and printers on your home network without having to mess with accounts or permissions. You just enter the same long, one-time password on each machine. (Only at Microsoft do “user-friendly” and “write down this password: E6fQ9UX3uR” appear in the same sentence.) Once that’s done, each computer can see the photos, music and documents on all the other ones. It’s a little buggy, but it’ll get there.&lt;br /&gt;
&lt;br /&gt;
Compatibility is excellent. I connected a couple dozen cameras, phones, iPods, printers and scanners, and Windows 7 recognized them all. Recent, brand-name apps fare well, too, but there are no guarantees. I found a couple of smaller, older programs that wouldn’t work in Windows 7.&lt;br /&gt;
&lt;br /&gt;
Some Windows 7 developments fall under the heading, “If you build it, they might come... eventually.” For example, the updated Windows Media Player program can now send music playback to another gadget on your network: an Xbox, digital picture frame, another Windows 7 machine and so on. The catch: the other gadget has to be D.L.N.A.-certified, which you’re supposed to know refers to an industry compatibility standard.&lt;br /&gt;
&lt;br /&gt;
Or take the new Device Stage screen. When you connect a gadget to your PC, you’re supposed to see its actual photograph, model name and list of relevant features. But until all the gadget makers get on board, you sometimes see only generic icons here.&lt;br /&gt;
&lt;br /&gt;
Even the multitouch feature of Windows 7 falls into that hit-or-miss category. On new laptops and even desktop PCs with multitouch screens, you can drag two fingers on the screen to rotate photos, scroll and zoom, exactly the way you do on an iPhone.&lt;br /&gt;
&lt;br /&gt;
Alas, software programs have to be rewritten to understand these gestures; for example, they all work in Microsoft’s Photo Gallery, but only the zoom gesture works in Google’s Picasa. You’re in for many “Doh!” moments as you realize you’ve reached out awkwardly with your arm, dragged around on the touch screen, and produced nothing but gross grease streaks.&lt;br /&gt;
&lt;br /&gt;
Now, Windows 7 is still Windows. It’s still copy-protected, it still requires antivirus software and its visuals still aren’t consistent from one corner to another.&lt;br /&gt;
&lt;br /&gt;
On the other hand, it’s still Windows in a good way, too, meaning that it’s your ticket to a world of choice — a huge catalog of software and computer options. This Win is a win if you’re in the market for a new machine, or if you’re running Vista now and you’re not thrilled by it.&lt;br /&gt;
&lt;br /&gt;
Above all, Windows 7 means that Microsoft employees can show up in public without avoiding eye contact. Looks like 7 is a lucky number after all.&lt;br /&gt;
&lt;br /&gt;
&lt;img border="0" width="1" alt="Advertise with my Blog" src="http://linkfromblog.com/img.001.001975.gif" height="1"/&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6850314235614212710-8930984025895575186?l=newbieprogrammer.blogspot.com' alt='' /&gt;&lt;/div&gt;</description><app:edited xmlns:app="http://www.w3.org/2007/app">2009-10-29T20:46:22.610+07:00</app:edited><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total></item><item><title>Stay safe in a virus-ridden world</title><link>http://newbieprogrammer.blogspot.com/2009/10/stay-safe-in-virus-ridden-world.html</link><author>noreply@blogger.com (Humble Mafiosi)</author><pubDate>Fri, 23 Oct 2009 16:02:17 PDT</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-6850314235614212710.post-1670919366810531593</guid><description>Zatni Arbi, Contributor ,  Jakarta   |  Mon, 09/07/2009 10:32 AM&lt;br /&gt;
&lt;a href="http://www.thejakartapost.com/news/2009/09/07/stay-safe-a-virusridden-world.html"&gt;http://www.thejakartapost.com/news/2009/09/07/stay-safe-a-virusridden-world.html&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Today, who dares work and go online without the protection of a set of security tools?&lt;br /&gt;
&lt;br /&gt;
You can do it of course — if you don’t use a computer at all in your work. But the moment you climb into the Internet, there is no choice. A strong security application is just as essential to using a computer as its operating system.&lt;br /&gt;
&lt;br /&gt;
Of course, those who use operating systems such as Linux and Mac OS may not need an anti-virus as badly as those who run Microsoft Windows. That is because the majority of the personal computers in the world run Windows, and it gives the mentally deranged virus makers a strong incentive to be creative in the totally wrong way.&lt;br /&gt;
&lt;br /&gt;
There are a lot of ways viruses, Trojans and worms — Kaspersky chooses to call them collectively “malware” — can wreak havoc on our computers. Most common nowadays are those that come through email, hidden programs on websites and exchanges of USB drives.&lt;br /&gt;
&lt;br /&gt;
There are a number of great anti-virus programs out there. They include AVG, McAfee and Norton. Most of them are available in bootlegged CDs or DVDs and we can get these media in almost every shopping center in Jakarta.&lt;br /&gt;
&lt;br /&gt;
One thing that we are all aware of is that new viruses are created all the time and the pirated security programs will have to be updated continually. And if you do get a pirated version, remember they are usually out of date and will not protect you from the latest threats; as it isn’t a licensed copy, you cannot get the latest updates from the Web.&lt;br /&gt;
&lt;br /&gt;
My daughter recently got a new HP Compaq notebook because her course required her to take her assignments wherever her teacher wanted to hold their class meeting. The new Compaq came with different Internet security software, but I wanted to use the notebook to try out Kaspersky Internet Security 2010, which the company distributed to the media for review purposes. My daughter also needs strong security protection because her friends may use the notebook with different USB drives.&lt;br /&gt;
&lt;br /&gt;
Erwin Yovitanto, Kaspersky product manager at Astrindo Starvision, one of the main distributors of Kaspersky products in Indonesia, told me that I had to uninstall any security software already on the system before I could install Kaspersky. That was easy. The Compaq notebook had Windows Vista, so all I had to do was go to the Control Panel, click on the Programs and Features icon, select the existing security package and remove it completely. The installation of the full package was very quick.&lt;br /&gt;
&lt;br /&gt;
Once installed, Kaspersky checked to find out whether its data files were current. To make them current, all I did was click on the Update Now button.&lt;br /&gt;
&lt;br /&gt;
At a glance, the Kaspersky main window reminded me a lot of McAfee’s, although the green corporate color was obvious. Erwin explained that underneath the interface are a lot of improvements in the features that the previous version already had.&lt;br /&gt;
&lt;br /&gt;
For example, Parental Control now allows us to limit the time a child can use the computer or browse the Internet per week. We can even specify from what hour to what hour a child can use the computer on which day. Of course, if necessary, we can block access to websites that contain pornography, gambling or any other unwanted materials.&lt;br /&gt;
&lt;br /&gt;
Safe Run is one of the most important improvements in Kaspersky Internet Security 2010. It serves as a sandbox, much like the one that DENSUS 88, the Indonesian police’s antiterrorism detachment, uses when detonating a bomb. So, if you really need to run a downloaded program that Kaspersky considers dangerous, it will be run in quarantine. If the bomb explodes, the damage will be contained.&lt;br /&gt;
&lt;br /&gt;
Another important feature is called Urgent Detection System, or UDS, although this is also available in the competing security packages. It allows participating users to send the results of their scans to Kaspersky servers to be analyzed.&lt;br /&gt;
&lt;br /&gt;
In addition, Kaspersky will intelligently monitor and evaluate suspicious software on our computer until it is considered safe. This feature makes use of the data sent by around 10 million Kaspersky users who willingly participate. The good thing is that these users remain anonymous.&lt;br /&gt;
&lt;br /&gt;
What I like about the latest and complete version is that, while it has more features, it runs lighter even on Vista. By the way, according to Erwin, its compatibility with Windows 7 has also been perfected. Let us see the truth when Windows 7 is launched next month.&lt;br /&gt;
&lt;br /&gt;
How crucial is it to have security protection on your computer? In this country, it is exceedingly important. Indonesia has quite a bunch of virus makers who are very productive in creating security risks that put careless users in misery.&lt;br /&gt;
&lt;br /&gt;
Apparently, Indonesia is so important that Eugene Kaspersky, the co-founder and CEO of the security company, will be visiting Indonesia from Oct. 7 to 11.&lt;br /&gt;
&lt;br /&gt;
Regardless of which of the competing Internet security products you choose, one thing is extremely clear: You must invest in a good one and renew your subscription every year to get the latest updates.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6850314235614212710-1670919366810531593?l=newbieprogrammer.blogspot.com' alt='' /&gt;&lt;/div&gt;</description><app:edited xmlns:app="http://www.w3.org/2007/app">2009-10-24T06:02:17.277+07:00</app:edited><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total></item><item><title>40 years later, moon still giant leap for mankind</title><link>http://newbieprogrammer.blogspot.com/2009/07/40-years-later-moon-still-giant-leap.html</link><category>Cropped Article</category><author>noreply@blogger.com (Humble Mafiosi)</author><pubDate>Tue, 28 Jul 2009 05:49:59 PDT</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-6850314235614212710.post-2209962605715244346</guid><description>&lt;strong&gt;Seth Borenstein&lt;/strong&gt;        ,        The Associated Press          ,      Washington      |  Sun, 07/19/2009 9:56 AM  |  Sci-Tech   &lt;p&gt; The measure of what humanity can accomplish is a size 9 1/2 bootprint. &lt;/p&gt; &lt;p&gt; It belongs to Neil Armstrong, the first man on the moon. It will stay on the moon for millions of years with nothing to wipe it away, serving as an almost eternal testament to a can-do mankind. &lt;/p&gt; &lt;p&gt;Apollo 11 is the glimmering success that failures of society are contrasted against: "If we can send a man to the moon, why can't we ..." &lt;/p&gt; &lt;p&gt;What put man on the moon 40 years ago was an audacious and public effort that the world hasn't seen before or since. It required rocketry that hadn't been built, or even designed, in 1961 when President John F. Kennedy declared the challenge. It needed an advance in computerization that had not happened yet. NASA would have to learn how to dock separate spaceships, how to teach astronauts to walk in space, even how to keep them alive in space - all tasks so difficult experts weren't sure they were possible. &lt;/p&gt; &lt;p&gt;Forty years later, the moon landing is talked about as a generic human achievement, not an American one. But Apollo at the time was more about U.S. commitment and ingenuity. &lt;/p&gt; &lt;p&gt;Historian Douglas Brinkley called the Apollo program "the exemplary moment of America's we-can-do-anything attitude." After the moon landing, America got soft, he said, looking for the quick payoff of a lottery ticket instead of the sweat-equity of buckling down and doing something hard. &lt;/p&gt; &lt;p&gt;In years since, when America faces a challenge, leaders often look to the Apollo program for inspiration. In 1971, when President Richard Nixon declared a war on cancer, his staffers called it "a moon shot for cancer." Last year, then-candidate Barack Obama and former Vice President Al Gore proposed a massive effort to fight global warming, comparing it to Apollo 11. An environmentalists' project to tackle climate change and promote renewable energy took the name "Apollo Alliance." &lt;/p&gt; &lt;p&gt;Those still-unfinished efforts recall May 25, 1961, when President Kennedy, fresh from a disastrous Bay of Pig invasion of Cuba, announced that America would land a man on the moon by the end of the decade and return him safely home. &lt;/p&gt; &lt;p&gt; "I thought he was crazy," said Chris Kraft, when he heard Kennedy's speech about landing on the moon. &lt;/p&gt; &lt;p&gt;Kraft was head of Mission Control. He was the man responsible for guiding astronauts to orbit (which hadn't been done yet) and eventually to the moon. Kraft first heard about a mission to the moon when Kennedy made the speech. &lt;/p&gt; &lt;p&gt;"We saw that as Buck Rogers stuff, rather than reality that would be carried out in any time period that we were dealing with," Kraft recently told The Associated Press in a telephone interview from Houston. &lt;/p&gt; &lt;p&gt;Less than three months later, Kraft was in the White House explaining to the president just how landing on the moon would be done. Kraft still didn't believe it would work. &lt;/p&gt; &lt;p&gt; "Too many unknowns," he said. &lt;/p&gt; &lt;p&gt;It was the Cold War and Russian Yuri Gagarin had just become the first man in space. Kennedy chose landing a man on the moon because experts told him it was the one space goal that was so distant and complicated at the time that the United States could catch up and pass the Soviet Union, Kennedy adviser Ted Sorensen said. &lt;/p&gt; &lt;p&gt;The idea in a world where American capitalism was pitted against Soviet communism on a daily basis was "to prove to the world which system was best, which one was the future," Sorensen said. &lt;/p&gt; &lt;p&gt;"It's not just the fact that the president wanted it done," Sorensen recalled. "It was the fact that we had a specific goal and a specific timetable." &lt;/p&gt; &lt;p&gt;In another speech, Kennedy famously said America would go to the moon and try other tasks "not because they were easy, but because they were hard. Because that goal will serve to organize and measure the best of our energies and skills." &lt;/p&gt; &lt;p&gt;They weren't just skills with rockets and slide rules. Bringing together countless aerospace companies, engineers, scientists, technicians, politicians and several NASA centers around the nation was a management challenge even more impressive than building the right type of rockets, said Smithsonian Institution space scholar Roger Launius. &lt;/p&gt; &lt;p&gt;And it cost money. The United States spent $25.4 billion on the Apollo program, which translates to nearly $150 billion in current dollars - less than the U.S. spent in both wars in Iraq and Afghanistan in 2007. &lt;/p&gt; &lt;p&gt;Yet, in the view of those heavily involved in the challenge, what made Apollo work was two tragedies: the assassination of Kennedy in 1963 and the fatal Apollo 1 fire in 1967. &lt;/p&gt; &lt;p&gt;The assassination of Kennedy made the Apollo program and its budget politically nearly untouchable. The moon-landing goal - which Kennedy later talked about modifying and even including the Soviets on - became a symbol of the martyred president. NASA's launch center was renamed from Cape Canaveral to Kennedy. &lt;/p&gt; &lt;p&gt;The Apollo fire, which occurred during ground testing, killed three astronauts, including Armstrong's neighbor. The main problem was that there was 100 percent oxygen in the capsule, which made fire spread rapidly. &lt;/p&gt; &lt;p&gt;Kraft, in a July interview said he is convinced that NASA couldn't have reached Kennedy's target were it not for the Apollo 1 fire and the way it made the space agency rethink everything: "We were building inferior hardware at that point in time. &lt;/p&gt; &lt;p&gt;"The whole program turned around, both from a hardware and management point of view," Kraft said. "You really learn from failure." &lt;/p&gt; &lt;p&gt;So NASA drilled astronauts and flight controllers ceaselessly with simulations. Failures kept being thrown at the astronauts and the controllers, some just plain unsolvable. &lt;/p&gt; &lt;p&gt;One of the last failures simulated before Apollo 11's launch was an alarm on the lunar lander that signaled the computer was overloaded. During the simulation, Mission Control in Houston aborted the landing. But controllers were later told it was just an "indication" signal and that if they had thought about it, the computer really was working fine. Controllers thought the test was unfair, according to an account in the new book, "Rocket Men: The Epic Story of the First Men on the Moon" by Craig Nelson. &lt;/p&gt; &lt;p&gt;But during the real mission, as the Eagle lunar lander approached the moon, that test-run computer signal appeared. This time controllers knew everything was OK. They didn't abort the moon landing. &lt;/p&gt; &lt;p&gt;Still, there were more hurdles to come. In another example, experience and nerves paid off. As Eagle neared the landing area in the spot called Sea of Tranquility, Armstrong saw too many boulders and craters to come down safely. So he kept flying horizontally, 100 feet (30 meters) off the ground, scouring the moonscape for a smooth place. &lt;/p&gt; &lt;p&gt; Eagle's fuel tank neared empty. Alarms went off. Mission controllers in Houston fretted. &lt;/p&gt; &lt;p&gt;"We still needed to get down," recalled Edwin "Buzz" Aldrin. "I'm not telling Neil, 'Hey Neil, hurry up, get on the ground.' I'm sort of conveying this with body English." &lt;/p&gt; &lt;p&gt; There were only 17 seconds worth of fuel left. &lt;/p&gt; &lt;p&gt; Finally, the radio at Mission Control crackled with Armstrong's voice: "Houston, Tranquility Base here. The Eagle has landed." &lt;/p&gt; &lt;p&gt; Two hours later, humans walked on a place other than Earth, a place truly foreign. &lt;/p&gt; &lt;p&gt;"This is a very desolate place," recalled Aldrin, second to step on the moon. "It's just boring. It's all one color that varies depending on the sun angle. But the sky is black, it's all black except the one object there, the Earth, and the object behind us, the sun." &lt;/p&gt; &lt;p&gt;The world watched on television as the first two men walked on the moon. But one person close to the action couldn't. He was the third crew member of Apollo 11, command module pilot Michael Collins, who was orbiting the moon alone. He didn't get to see what was happening. But he could hear Neil Armstrong say his famous first words. &lt;/p&gt; &lt;p&gt; Decades later, Armstrong called his first words on the moon "a pretty simple statement, talking about stepping off something." &lt;/p&gt; &lt;p&gt;But Armstrong wasn't merely talking about that small step of his. What came next was the big deal. It was, as he said on the moon 40 years ago, "a giant leap for mankind." &lt;/p&gt; &lt;p&gt; It still is. &lt;/p&gt; &lt;p&gt; &lt;em&gt;Multimedia journalist Kevin Vineys in Washington and television producer Sara Gillesby in New York contributed to this report.&lt;/em&gt; &lt;/p&gt; &lt;p&gt; &lt;strong&gt;On the Net:&lt;/strong&gt; &lt;/p&gt; &lt;p&gt; NASA's Apollo anniversary site: &lt;a href="http://www.nasa.gov/mission%28underscore%29pages/apollo/40th/index.html"&gt;http://www.nasa.gov/mission(underscore)pages/apollo/40th/index.html&lt;/a&gt; &lt;/p&gt; &lt;p&gt; NASA interactive site showing Apollo high points by state: &lt;/p&gt; &lt;p&gt; &lt;a href="http://www.nasa.gov/externalflash/ApolloNearYou/index.html"&gt;http://www.nasa.gov/externalflash/ApolloNearYou/index.html&lt;/a&gt; &lt;/p&gt; &lt;p&gt; NASA video of Apollo 11 landing on the moon: &lt;a href="http://history.nasa.gov/alsj/a11/A11Landing.mov"&gt;http://history.nasa.gov/alsj/a11/A11Landing.mov&lt;/a&gt; &lt;/p&gt;source: &lt;a href="http://www.thejakartapost.com/news/2009/07/19/40-years-later-moon-still-giant-leap-mankind.html"&gt;here&lt;/a&gt;&lt;br /&gt;&lt;span class="fullpost"&gt;&lt;br /&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6850314235614212710-2209962605715244346?l=newbieprogrammer.blogspot.com' alt='' /&gt;&lt;/div&gt;</description><app:edited xmlns:app="http://www.w3.org/2007/app">2009-07-28T19:49:59.206+07:00</app:edited><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">2</thr:total><enclosure url="http://history.nasa.gov/alsj/a11/A11Landing.mov" length="16492760" type="video/quicktime" /><media:content url="http://history.nasa.gov/alsj/a11/A11Landing.mov" fileSize="16492760" type="video/quicktime" /><itunes:subtitle>Seth Borenstein , The Associated Press , Washington | Sun, 07/19/2009 9:56 AM | Sci-Tech The measure of what humanity can accomplish is a size 9 1/2 bootprint. It belongs to Neil Armstrong, the first man on the moon. It will stay on the moon for millions </itunes:subtitle><itunes:author>noreply@blogger.com (Humble Mafiosi)</itunes:author><itunes:summary>Seth Borenstein , The Associated Press , Washington | Sun, 07/19/2009 9:56 AM | Sci-Tech The measure of what humanity can accomplish is a size 9 1/2 bootprint. It belongs to Neil Armstrong, the first man on the moon. It will stay on the moon for millions of years with nothing to wipe it away, serving as an almost eternal testament to a can-do mankind. Apollo 11 is the glimmering success that failures of society are contrasted against: "If we can send a man to the moon, why can't we ..." What put man on the moon 40 years ago was an audacious and public effort that the world hasn't seen before or since. It required rocketry that hadn't been built, or even designed, in 1961 when President John F. Kennedy declared the challenge. It needed an advance in computerization that had not happened yet. NASA would have to learn how to dock separate spaceships, how to teach astronauts to walk in space, even how to keep them alive in space - all tasks so difficult experts weren't sure they were possible. Forty years later, the moon landing is talked about as a generic human achievement, not an American one. But Apollo at the time was more about U.S. commitment and ingenuity. Historian Douglas Brinkley called the Apollo program "the exemplary moment of America's we-can-do-anything attitude." After the moon landing, America got soft, he said, looking for the quick payoff of a lottery ticket instead of the sweat-equity of buckling down and doing something hard. In years since, when America faces a challenge, leaders often look to the Apollo program for inspiration. In 1971, when President Richard Nixon declared a war on cancer, his staffers called it "a moon shot for cancer." Last year, then-candidate Barack Obama and former Vice President Al Gore proposed a massive effort to fight global warming, comparing it to Apollo 11. An environmentalists' project to tackle climate change and promote renewable energy took the name "Apollo Alliance." Those still-unfinished efforts recall May 25, 1961, when President Kennedy, fresh from a disastrous Bay of Pig invasion of Cuba, announced that America would land a man on the moon by the end of the decade and return him safely home. "I thought he was crazy," said Chris Kraft, when he heard Kennedy's speech about landing on the moon. Kraft was head of Mission Control. He was the man responsible for guiding astronauts to orbit (which hadn't been done yet) and eventually to the moon. Kraft first heard about a mission to the moon when Kennedy made the speech. "We saw that as Buck Rogers stuff, rather than reality that would be carried out in any time period that we were dealing with," Kraft recently told The Associated Press in a telephone interview from Houston. Less than three months later, Kraft was in the White House explaining to the president just how landing on the moon would be done. Kraft still didn't believe it would work. "Too many unknowns," he said. It was the Cold War and Russian Yuri Gagarin had just become the first man in space. Kennedy chose landing a man on the moon because experts told him it was the one space goal that was so distant and complicated at the time that the United States could catch up and pass the Soviet Union, Kennedy adviser Ted Sorensen said. The idea in a world where American capitalism was pitted against Soviet communism on a daily basis was "to prove to the world which system was best, which one was the future," Sorensen said. "It's not just the fact that the president wanted it done," Sorensen recalled. "It was the fact that we had a specific goal and a specific timetable." In another speech, Kennedy famously said America would go to the moon and try other tasks "not because they were easy, but because they were hard. Because that goal will serve to organize and measure the best of our energies and skills." They weren't just skills with rockets and slide rules. Bringing together countless aerospace companies, engineers, scientists, technicians, politicians and several NAS</itunes:summary><itunes:keywords>Cropped Article</itunes:keywords></item><item><title>www.excelprogrammer.com</title><link>http://newbieprogrammer.blogspot.com/2009/07/wwwexcelprogrammercom.html</link><author>noreply@blogger.com (Humble Mafiosi)</author><pubDate>Tue, 28 Jul 2009 05:45:59 PDT</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-6850314235614212710.post-3914628214995145320</guid><description>Please Visit my new Site: &lt;a href="www.ExcelProgrammer.com"&gt;www.ExcelProgrammer.com&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6850314235614212710-3914628214995145320?l=newbieprogrammer.blogspot.com' alt='' /&gt;&lt;/div&gt;</description><app:edited xmlns:app="http://www.w3.org/2007/app">2009-07-28T19:45:59.497+07:00</app:edited><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">1</thr:total></item><item><title>Chinese cheer as astronauts makes first spacewalk</title><link>http://newbieprogrammer.blogspot.com/2008/10/chinese-cheer-as-astronauts-makes-first.html</link><category>Cropped Article</category><author>noreply@blogger.com (Humble Mafiosi)</author><pubDate>Fri, 03 Oct 2008 22:43:51 PDT</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-6850314235614212710.post-4160526811685038898</guid><description>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.1.1.2/bmi/www.thejakartapost.com/files/images/china-space.full%20node%20view.jpg"&gt;&lt;img style="margin: 0pt 10px 10px 0pt; float: left; cursor: pointer; width: 283px; height: 212px;" src="http://1.1.1.2/bmi/www.thejakartapost.com/files/images/china-space.full%20node%20view.jpg" alt="" border="0" /&gt;&lt;/a&gt;Chinese celebrated their nation's first spacewalk Saturday, gathering at outdoor TV screens to cheer live video of the milestone for a program that has ambitions of building a space station and challenging the U.S. and Russia in offworld exploration.&lt;br /&gt;&lt;br /&gt;Stoking national pride one month after the close of the Beijing Olympics, state television's coverage reflected much of the glory onto president and Communist Party leader Hu Jintao, who was present at Thursday's launch and watched the spacewalk at Beijing's ground control center.&lt;br /&gt;&lt;br /&gt;"Your success represents a new breakthrough in our manned space program," Hu told the astronauts in a scripted exchange that was also broadcast live.&lt;br /&gt;&lt;br /&gt;"The motherland and the people thank you," said Hu, who is chairman of the powerful Communist Party and government military committees that oversee the space program.&lt;br /&gt;&lt;br /&gt;The spacewalk was mainly aimed at testing China's mastery of the technology. Mission commander Zhai Zhigang's sole task was to retrieve a rack attached to the outside of the orbital module containing an experiment involving solid lubricants.&lt;br /&gt;&lt;br /&gt;Tethered to handles attached to the Shenzhou 7 ship's orbital module, Zhai remained outside for about 13 minutes before climbing back inside through the open hatch.&lt;br /&gt;&lt;br /&gt;"Greetings to all the people of the nation and all the people of the world," Zhai said into an external camera he floated halfway out of the open hatch.&lt;br /&gt;&lt;br /&gt;Fellow astronaut Liu Boming also emerged briefly from the capsule to hand Zhai a Chinese flag. The third crew member, Jing Haipeng, monitored the ship from inside the re-entry module.&lt;br /&gt;&lt;br /&gt;While successful, the spacewalk wasn't without its anxious moments.&lt;br /&gt;&lt;br /&gt;Zhai, a 41-year-old fighter pilot, appeared to struggle with the hatch and then a fire alarm was triggered in the orbiter as he began the spacewalk.&lt;br /&gt;&lt;br /&gt;Wang Zhaoyao, deputy director of manned space flight, conceded the combined effects of weightlessness and depressurization on the hatch opening operation hadn't been fully anticipated. He blamed a faulty sensor for the fire alarm.&lt;br /&gt;&lt;br /&gt;"There were be no impact on the rest of the mission," Wang said.&lt;br /&gt;&lt;br /&gt;The spacewalk required astronauts to first depressurize and then repressurize the orbital module and proved the effectiveness of Zhai's Feitian space suit, produced by China at a cost of $4.4 million. Liu wore a nearly identical Russian-made Orlan suit, state media said.&lt;br /&gt;&lt;br /&gt;Following the spacewalk, the astronauts released an 88-pound satellite to circle the orbiter and send back images to mission control.&lt;br /&gt;&lt;br /&gt;The spacewalk was an opening step for China's plan to assemble a space station from two Shenzhou orbital modules, the next major goal of the manned space program. China is also pursuing lunar exploration and may attempt to land a man on the moon in the next decade - possibly ahead of NASA's 2020 target date for returning to the moon.&lt;br /&gt;&lt;br /&gt;China launched its first manned mission, Shenzhou 5, in 2003, becoming only the third country after Russia and the United States to launch a man into space. That was followed by a two-man mission in 2005.&lt;br /&gt;&lt;br /&gt;Along with challenging Russia and the U.S., the spacewalk ups the ante in China's competition with Asia's other aspiring space powers, Japan and India. China's advances have spurred space spending by those two nations, partly for bragging rights but also in search of economic benefits such as a bigger slice of the commercial satellite launching business.&lt;br /&gt;&lt;br /&gt;In step with its growing list of achievements, China's military-backed space program has grown progressively less secretive and officials have hinted in recent days at a desire for greater cooperation with other nations. China plans to mass produce the next version of the Shenzhou ship to service a future space station and says it may make such missions available to other countries.&lt;br /&gt;&lt;br /&gt;Cooperation between China and other nations has so far been limited. The U.S. has refused Chinese involvement in the international space station operated with Russia for fear Beijing could gain technical secrets applicable to its arms industry.&lt;br /&gt;&lt;br /&gt;A Chinese space program official said earlier that Russian technicians would assist in Saturday's spacewalk, but it wasn't clear what role they played.&lt;br /&gt;&lt;br /&gt;Since blasting off from the Jiuquan launch base in northwestern China, the astronauts had been largely occupied with preparing their suits and adapting to zero gravity. Cameras inside the re-entry vehicle showed them going through checklists and napping.&lt;br /&gt;&lt;br /&gt;Meals aboard the craft have followed a typical Chinese menu, featuring versions of kung pao chicken, shrimp and dried fruit, the official Xinhua News Agency said.&lt;br /&gt;&lt;br /&gt;Quote from &lt;a href="http://www.blogger.com/Chinese%20celebrated%20their%20nation%27s%20first%20spacewalk%20Saturday,%20gathering%20at%20outdoor%20TV%20screens%20to%20cheer%20live%20video%20of%20the%20milestone%20for%20a%20program%20that%20has%20ambitions%20of%20building%20a%20space%20station%20and%20challenging%20the%20U.S.%20and%20Russia%20in%20offworld%20exploration."&gt;here&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6850314235614212710-4160526811685038898?l=newbieprogrammer.blogspot.com' alt='' /&gt;&lt;/div&gt;</description><app:edited xmlns:app="http://www.w3.org/2007/app">2008-10-04T12:43:51.298+07:00</app:edited><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total></item><item><title>US senator urges Justice Department to monitor Google, Yahoo deal</title><link>http://newbieprogrammer.blogspot.com/2008/10/us-senator-urges-justice-department-to.html</link><category>Cropped Article</category><author>noreply@blogger.com (Humble Mafiosi)</author><pubDate>Fri, 03 Oct 2008 22:40:24 PDT</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-6850314235614212710.post-1560966994950868082</guid><description>A key senator is urging the Justice Department to keep up its investigation into the antitrust implications of the Internet advertising partnership that Google Inc. and Yahoo Inc. plan to launch this month.&lt;br /&gt;&lt;br /&gt;In a letter Thursday, Wisconsin Democrat Herb Kohl, chairman of the Senate Judiciary antitrust subcommittee, said his panel concluded that "important competition issues are raised by this transaction." He urged the Justice Department to "continue to monitor the state of competition in this industry."&lt;br /&gt;&lt;br /&gt;The Justice Department is already examining the deal to decide whether to intervene, and had no comment Thursday beyond reiterating that the review continues.&lt;br /&gt;&lt;br /&gt;Under the partnership, Google will sell some of the ads displayed alongside search results on Yahoo's Web site. Because Google's system for identifying and displaying ads is more lucrative than Yahoo's own approach, Yahoo has embraced this link with its rival as an alternative to a takeover by Microsoft Corp.&lt;br /&gt;&lt;br /&gt;But several advertisers have raised concerns about the deal, arguing that it will limit competition, raise prices and reduce choices in the online advertising market. Microsoft also has been lobbying the Justice Department to intervene.&lt;br /&gt;&lt;br /&gt;Kohl, who expressed concerns about the partnership when it was first disclosed and held a hearing in July, did not take a formal position Thursday on whether the deal should be blocked. But his letter urged the Justice Department to step in to protect competition if it determines that Google is "gaining a dominant market position" because of the agreement.&lt;br /&gt;&lt;br /&gt;He added that even if the department concludes that the partnership does not violate antitrust law, it "must be sure that this deal never in the future crosses the line into an unacceptable, anticompetitive collaboration among competitors which will harm consumers and advertisers."&lt;br /&gt;&lt;br /&gt;Google and Yahoo have ramped their own campaign to defend the partnership. They insist the deal will benefit consumers and advertisers by enabling both companies to deliver targeted ads that are more relevant to viewers.&lt;br /&gt;&lt;br /&gt;"We believe that this arrangement is good for competition and will benefit advertisers, Web site publishers and consumers," Google said in a statement.&lt;br /&gt;&lt;br /&gt;Responding to predictions that the deal will further cement Google's grip on the online advertising marketplace, the two companies have also stressed that it will be up to Yahoo to decide when and whether to show an ad from Google's inventory. And they maintain that by driving additional revenue for Yahoo, the partnership will make it a stronger competitor to both Microsoft and Google.&lt;br /&gt;&lt;br /&gt;Kohl is not the first member of Congress to weigh in. Last week, a handful of lawmakers from the San Francisco Bay area, where both Google and Yahoo are based, sent a letter to the Justice Department arguing that its intervention "could detrimentally affect the online advertising market and electronic commerce."&lt;br /&gt;&lt;br /&gt;And last week, 10 members of the House Judiciary Committee urged the department to examine the deal closely "to ensure that it promotes, and does not hinder competition."&lt;br /&gt;&lt;br /&gt;Shares of Google, based in Mountain View, Calif., fell $21.23, or 5.2 percent, to $390.49 Thursday. Shares of Yahoo, based in Sunnyvale, Calif., fell $1.38, or 8.1 percent, to $15.58 Thursday.&lt;br /&gt;&lt;br /&gt;Qoute from &lt;a href="http://www.thejakartapost.com/news/2008/10/03/us-senator-urges-justice-department-monitor-google-yahoo-deal.html"&gt;here&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6850314235614212710-1560966994950868082?l=newbieprogrammer.blogspot.com' alt='' /&gt;&lt;/div&gt;</description><app:edited xmlns:app="http://www.w3.org/2007/app">2008-10-04T12:40:24.308+07:00</app:edited><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">1</thr:total></item><item><title>Two sides - GPS Tracking</title><link>http://newbieprogrammer.blogspot.com/2008/06/two-sides-gps-tracking.html</link><category>Ideas</category><author>noreply@blogger.com (Humble Mafiosi)</author><pubDate>Thu, 05 Jun 2008 17:56:53 PDT</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-6850314235614212710.post-8271482062247519</guid><description>Last night I was watching serial tv “Prison Break”. In one episode, there is something interesting for me. They use GPS technology to tracking the money. So, there was a guy runs away with the money, but actually he doesn’t get away, because inside the bag has been put a &lt;a href="http://www.lightninggps.com/"&gt;GPS tracking&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;What interesting here is GPS tracking was? Do you ever think &lt;a href="http://www.lightninggps.com"&gt;GPS tracking&lt;/a&gt; can be bad and can be good for some conditions? What do you think?&lt;br /&gt;&lt;br /&gt;Here some example:&lt;br /&gt;Police place GPS to tracking down the drugs mafia in one drugs deal. They put GPS on the bag, and following them to get the base of the mafia. This is a good of &lt;a href="http://www.lightninggps.com"&gt;GPS Tracking&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;Now, another example again:&lt;br /&gt;Some bad guys plan to rob the bank. And in their plan, they must take a hostage, and the hostages are the family of the duty manager that day. In order to follow him, the bad guy places a GPS to track his address. This is a bad of &lt;a href="http://www.lightninggps.com"&gt;GPS tracking&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;If GPS tracking have two sides, and now how we maximize the useful of &lt;a href="http://www.lightninggps.com"&gt;GPS Tracking&lt;/a&gt; and minimize the bad of GPS tracking? Please place your comments to discuss this &lt;a href="http://www.lightninggps.com"&gt;GPS tracking&lt;/a&gt;. :)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6850314235614212710-8271482062247519?l=newbieprogrammer.blogspot.com' alt='' /&gt;&lt;/div&gt;</description><app:edited xmlns:app="http://www.w3.org/2007/app">2008-06-06T07:56:53.940+07:00</app:edited><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">2</thr:total></item><item><title>Simple Manipulation Database with VB Express 2008</title><link>http://newbieprogrammer.blogspot.com/2008/05/simple-manipulation-database-with-vb.html</link><category>Visual basic 2008</category><author>noreply@blogger.com (Humble Mafiosi)</author><pubDate>Tue, 09 Dec 2008 15:32:17 PST</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-6850314235614212710.post-5986374681191240246</guid><description>&lt;span xmlns=""&gt;&lt;p&gt;Ok. Let's try Linq with database now. Database I use was SQL Express 2005.&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Let's begin the lessons:&lt;br /&gt;&lt;/p&gt;&lt;p&gt;First, create new project, choose windows application.&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Second, choose data connection and data source of database we want to use.&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Third, add new item and choose Linq to SQL Classes. The file will create and drag the tables or stored procedure in it.&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Fourth, done. Hahaha.&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;And now, let's use Linq in database case. Here we can see how easy we can manipulate the code and the efficiency of writing code in vb 9.&lt;/p&gt;&lt;p&gt;&lt;span style=";font-family:Courier New;font-size:10;"  &gt;&lt;br /&gt;     &lt;span style="color:blue;"&gt;Dim&lt;/span&gt; presen = &lt;span style="color:blue;"&gt;From&lt;/span&gt; absensi &lt;span style="color:blue;"&gt;In&lt;/span&gt; db.Presensi(20&lt;/span&gt;&lt;span style=";font-family:Courier New;font-size:10;"  &gt;08, 4) &lt;span style="color:blue;"&gt;Select&lt;/span&gt; absensi&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;span style=";font-family:Courier New;font-size:10;"  &gt;     &lt;span style="color:blue;"&gt;For&lt;/span&gt;&lt;br /&gt;     &lt;span style="color:blue;"&gt;Each&lt;/span&gt; Presensi &lt;span style="color:blue;"&gt;In&lt;/span&gt;&lt;/span&gt;&lt;span style=";font-family:Courier New;font-size:10;"  &gt; presen&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=";font-family:Courier New;font-size:10;"  &gt;            Debug.Print(Presensi.nama_karyawan, Presensi.Uang_Makan)&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;span style=";font-family:Courier New;font-size:10;"  &gt;     &lt;span style="color:blue;"&gt;Next&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Those codes above will connect to presensi where the presensi was stored procedure in my database. Below is an example of dbml (LINQ TO SQL CLASSES). Hope you enjoy it.&lt;/p&gt;&lt;p&gt;&lt;span&gt;&lt;span xmlns=""&gt;&lt;span&gt;&lt;span xmlns=""&gt;&lt;span&gt;&lt;span xmlns=""&gt;&lt;span&gt;&lt;span xmlns=""&gt;&lt;span&gt;&lt;span xmlns=""&gt;&lt;span&gt;&lt;span xmlns=""&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_TMfqSbbL8eo/SD4xcATOgkI/AAAAAAAAAOw/RBp_yiW-DkU/s1600-h/dbml.JPG"&gt;&lt;img style="cursor: pointer;" src="http://3.bp.blogspot.com/_TMfqSbbL8eo/SD4xcATOgkI/AAAAAAAAAOw/RBp_yiW-DkU/s400/dbml.JPG" alt="" id="BLOGGER_PHOTO_ID_5205652576473612866" border="0" /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6850314235614212710-5986374681191240246?l=newbieprogrammer.blogspot.com' alt='' /&gt;&lt;/div&gt;</description><app:edited xmlns:app="http://www.w3.org/2007/app">2008-12-10T06:32:17.788+07:00</app:edited><media:thumbnail url="http://3.bp.blogspot.com/_TMfqSbbL8eo/SD4xcATOgkI/AAAAAAAAAOw/RBp_yiW-DkU/s72-c/dbml.JPG" height="72" width="72" /><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total></item><item><title>XML Code with VB Express 2008</title><link>http://newbieprogrammer.blogspot.com/2008/05/xml-code-with-vb-express-2008.html</link><category>Visual basic 2008</category><author>noreply@blogger.com (Humble Mafiosi)</author><pubDate>Wed, 28 May 2008 20:45:43 PDT</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-6850314235614212710.post-2067699914068476612</guid><description>&lt;span xmlns=""&gt;&lt;p&gt;&lt;span style=";font-family:Courier New;font-size:10;"  &gt;&lt;span style="color:blue;"&gt;Function&lt;/span&gt; CreateDocument()&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=";font-family:Courier New;font-size:10;"  &gt;Return_&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=";font-family:Courier New;font-size:10;"  &gt;&lt;span style="color: rgb(100, 100, 185);"&gt;   &amp;lt;?&lt;/span&gt;&lt;span style="color: rgb(132, 70, 70);"&gt;xml&lt;/span&gt;&lt;br /&gt;     &lt;span style="color: rgb(185, 100, 100);"&gt;version&lt;/span&gt;&lt;span style="color: rgb(100, 100, 185);"&gt;=&lt;/span&gt;&lt;span style="color: rgb(85, 85, 85);"&gt;"&lt;/span&gt;&lt;span style="color: rgb(100, 100, 185);"&gt;1.0&lt;/span&gt;&lt;span style="color: rgb(85, 85, 85);"&gt;"&lt;/span&gt;&lt;br /&gt;     &lt;span style="color: rgb(185, 100, 100);"&gt;encoding&lt;/span&gt;&lt;span style="color: rgb(100, 100, 185);"&gt;=&lt;/span&gt;&lt;span style="color: rgb(85, 85, 85);"&gt;"&lt;/span&gt;&lt;span style="color: rgb(100, 100, 185);"&gt;UTF-16&lt;/span&gt;&lt;span style="color: rgb(85, 85, 85);"&gt;"&lt;/span&gt;&lt;br /&gt;     &lt;span style="color: rgb(185, 100, 100);"&gt;standalone&lt;/span&gt;&lt;span style="color: rgb(100, 100, 185);"&gt;=&lt;/span&gt;&lt;span style="color: rgb(85, 85, 85);"&gt;"&lt;/span&gt;&lt;span style="color: rgb(100, 100, 185);"&gt;yes&lt;/span&gt;&lt;span style="color: rgb(85, 85, 85);"&gt;"&lt;/span&gt;&lt;span style="color: rgb(100, 100, 185);"&gt;?&amp;gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=";font-family:Courier New;font-size:10;"  &gt;&lt;br /&gt;     &lt;span style="color: rgb(100, 100, 185);"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: rgb(132, 70, 70);"&gt;organizer&lt;/span&gt;&lt;span style="color: rgb(100, 100, 185);"&gt;&amp;gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=";font-family:Courier New;font-size:10;"  &gt;&lt;br /&gt;     &lt;span style="color: rgb(100, 100, 185);"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: rgb(132, 70, 70);"&gt;contact&lt;/span&gt;&lt;br /&gt;     &lt;span style="color: rgb(185, 100, 100);"&gt;category&lt;/span&gt;&lt;span style="color: rgb(100, 100, 185);"&gt;=&lt;/span&gt;&lt;span style="color: rgb(85, 85, 85);"&gt;"&lt;/span&gt;&lt;span style="color: rgb(100, 100, 185);"&gt;home&lt;/span&gt;&lt;span style="color: rgb(85, 85, 85);"&gt;"&lt;/span&gt;&lt;span style="color: rgb(100, 100, 185);"&gt;&amp;gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=";font-family:Courier New;font-size:10;"  &gt;&lt;br /&gt;     &lt;span style="color: rgb(100, 100, 185);"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: rgb(132, 70, 70);"&gt;name&lt;/span&gt;&lt;span style="color: rgb(100, 100, 185);"&gt;&amp;gt;&lt;/span&gt;&lt;span style="color: rgb(85, 85, 85);"&gt;John Smith&lt;/span&gt;&lt;span style="color: rgb(100, 100, 185);"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: rgb(132, 70, 70);"&gt;name&lt;/span&gt;&lt;span style="color: rgb(100, 100, 185);"&gt;&amp;gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=";font-family:Courier New;font-size:10;"  &gt;&lt;br /&gt;     &lt;span style="color: rgb(100, 100, 185);"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: rgb(132, 70, 70);"&gt;address&lt;/span&gt;&lt;span style="color: rgb(100, 100, 185);"&gt;&amp;gt;&lt;/span&gt;&lt;span style="color: rgb(85, 85, 85);"&gt;New York&lt;/span&gt;&lt;span style="color: rgb(100, 100, 185);"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: rgb(132, 70, 70);"&gt;address&lt;/span&gt;&lt;span style="color: rgb(100, 100, 185);"&gt;&amp;gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=";font-family:Courier New;font-size:10;"  &gt;&lt;br /&gt;     &lt;span style="color: rgb(100, 100, 185);"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: rgb(132, 70, 70);"&gt;contact&lt;/span&gt;&lt;span style="color: rgb(100, 100, 185);"&gt;&amp;gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=";font-family:Courier New;font-size:10;"  &gt;&lt;br /&gt;     &lt;span style="color: rgb(100, 100, 185);"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: rgb(132, 70, 70);"&gt;contact&lt;/span&gt;&lt;br /&gt;     &lt;span style="color: rgb(185, 100, 100);"&gt;category&lt;/span&gt;&lt;span style="color: rgb(100, 100, 185);"&gt;=&lt;/span&gt;&lt;span style="color: rgb(85, 85, 85);"&gt;"&lt;/span&gt;&lt;span style="color: rgb(100, 100, 185);"&gt;home&lt;/span&gt;&lt;span style="color: rgb(85, 85, 85);"&gt;"&lt;/span&gt;&lt;span style="color: rgb(100, 100, 185);"&gt;&amp;gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=";font-family:Courier New;font-size:10;"  &gt;&lt;br /&gt;     &lt;span style="color: rgb(100, 100, 185);"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: rgb(132, 70, 70);"&gt;name&lt;/span&gt;&lt;span style="color: rgb(100, 100, 185);"&gt;&amp;gt;&lt;/span&gt;&lt;span style="color: rgb(85, 85, 85);"&gt;Layong&lt;/span&gt;&lt;span style="color: rgb(100, 100, 185);"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: rgb(132, 70, 70);"&gt;name&lt;/span&gt;&lt;span style="color: rgb(100, 100, 185);"&gt;&amp;gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=";font-family:Courier New;font-size:10;"  &gt;&lt;br /&gt;     &lt;span style="color: rgb(100, 100, 185);"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: rgb(132, 70, 70);"&gt;address&lt;/span&gt;&lt;span style="color: rgb(100, 100, 185);"&gt;&amp;gt;&lt;/span&gt;&lt;span style="color: rgb(85, 85, 85);"&gt;Indonesia&lt;/span&gt;&lt;span style="color: rgb(100, 100, 185);"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: rgb(132, 70, 70);"&gt;address&lt;/span&gt;&lt;span style="color: rgb(100, 100, 185);"&gt;&amp;gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=";font-family:Courier New;font-size:10;"  &gt;&lt;br /&gt;     &lt;span style="color: rgb(100, 100, 185);"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: rgb(132, 70, 70);"&gt;contact&lt;/span&gt;&lt;span style="color: rgb(100, 100, 185);"&gt;&amp;gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=";font-family:Courier New;font-size:10;"  &gt;&lt;br /&gt;     &lt;span style="color: rgb(100, 100, 185);"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: rgb(132, 70, 70);"&gt;contact&lt;/span&gt;&lt;br /&gt;     &lt;span style="color: rgb(185, 100, 100);"&gt;category&lt;/span&gt;&lt;span style="color: rgb(100, 100, 185);"&gt;=&lt;/span&gt;&lt;span style="color: rgb(85, 85, 85);"&gt;"&lt;/span&gt;&lt;span style="color: rgb(100, 100, 185);"&gt;work&lt;/span&gt;&lt;span style="color: rgb(85, 85, 85);"&gt;"&lt;/span&gt;&lt;span style="color: rgb(100, 100, 185);"&gt;&amp;gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=";font-family:Courier New;font-size:10;"  &gt;&lt;br /&gt;     &lt;span style="color: rgb(100, 100, 185);"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: rgb(132, 70, 70);"&gt;name&lt;/span&gt;&lt;span style="color: rgb(100, 100, 185);"&gt;&amp;gt;&lt;/span&gt;&lt;span style="color: rgb(85, 85, 85);"&gt;Jack Brock&lt;/span&gt;&lt;span style="color: rgb(100, 100, 185);"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: rgb(132, 70, 70);"&gt;name&lt;/span&gt;&lt;span style="color: rgb(100, 100, 185);"&gt;&amp;gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=";font-family:Courier New;font-size:10;"  &gt;&lt;br /&gt;     &lt;span style="color: rgb(100, 100, 185);"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: rgb(132, 70, 70);"&gt;address&lt;/span&gt;&lt;span style="color: rgb(100, 100, 185);"&gt;&amp;gt;&lt;/span&gt;&lt;span style="color: rgb(85, 85, 85);"&gt;London&lt;/span&gt;&lt;span style="color: rgb(100, 100, 185);"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: rgb(132, 70, 70);"&gt;address&lt;/span&gt;&lt;span style="color: rgb(100, 100, 185);"&gt;&amp;gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=";font-family:Courier New;font-size:10;"  &gt;&lt;br /&gt;     &lt;span style="color: rgb(100, 100, 185);"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: rgb(132, 70, 70);"&gt;contact&lt;/span&gt;&lt;span style="color: rgb(100, 100, 185);"&gt;&amp;gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=";font-family:Courier New;font-size:10;"  &gt;&lt;br /&gt;     &lt;span style="color: rgb(100, 100, 185);"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: rgb(132, 70, 70);"&gt;organizer&lt;/span&gt;&lt;span style="color: rgb(100, 100, 185);"&gt;&amp;gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=";font-family:Courier New;font-size:10;"  &gt;&lt;span style="color:blue;"&gt;End&lt;/span&gt;&lt;br /&gt;     &lt;span style="color:blue;"&gt;Function&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=";font-family:Courier New;font-size:10;"  &gt;The code above show us how to create XML code more easier and in one framework. Vb 9 can regconize the XML code and execute those code like vb do with their own code.&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=";font-family:Courier New;font-size:10;"  &gt;Those code will return the result in xml code with "organizer" as a root. What vb 9 can do with those xml code is truly amazing. We can play with xml code and generate the xml code again.&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=";font-family:Courier New;font-size:10;"  &gt;Here the example:&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=";font-family:Courier New;font-size:10;"  &gt;&lt;span style="color:blue;"&gt;Sub&lt;/span&gt; testingXML()&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=";font-family:Courier New;font-size:10;"  &gt;&lt;br /&gt;     &lt;span style="color:blue;"&gt;Dim&lt;/span&gt; doc() = CreateDocument()&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=";font-family:Courier New;font-size:10;"  &gt;        Console.WriteLine(doc(0))&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=";font-family:Courier New;font-size:10;"  &gt;&lt;br /&gt;     &lt;span style="color:blue;"&gt;Dim&lt;/span&gt; contacts = &lt;span style="color:blue;"&gt;From&lt;/span&gt; cont &lt;span style="color:blue;"&gt;In&lt;/span&gt; doc.Descendants(&lt;span style="color: rgb(163, 21, 21);"&gt;"organizer"&lt;/span&gt;) _&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=";font-family:Courier New;font-size:10;"  &gt;&lt;br /&gt;     &lt;span style="color:blue;"&gt;Where&lt;/span&gt; cont.Attribute(&lt;span style="color: rgb(163, 21, 21);"&gt;"category"&lt;/span&gt;).Value = &lt;span style="color: rgb(163, 21, 21);"&gt;"home"&lt;/span&gt; _&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=";font-family:Courier New;font-size:10;"  &gt;&lt;br /&gt;     &lt;span style="color:blue;"&gt;Select&lt;/span&gt; cont&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=";font-family:Courier New;font-size:10;"  &gt;&lt;br /&gt;     &lt;span style="color:blue;"&gt;Dim&lt;/span&gt; contacts2 = &lt;span style="color:blue;"&gt;From&lt;/span&gt; cont2 &lt;span style="color:blue;"&gt;In&lt;/span&gt; doc...&lt;span style="color: rgb(100, 100, 185);"&gt;&amp;lt;&lt;/span&gt;organizer&lt;span style="color: rgb(100, 100, 185);"&gt;&amp;gt;&lt;/span&gt; _&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=";font-family:Courier New;font-size:10;"  &gt;&lt;br /&gt;     &lt;span style="color:blue;"&gt;Select&lt;/span&gt; cont2&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=";font-family:Courier New;font-size:10;"  &gt;&lt;br /&gt;     &lt;span style="color:blue;"&gt;For&lt;/span&gt;&lt;br /&gt;     &lt;span style="color:blue;"&gt;Each&lt;/span&gt; contact &lt;span style="color:blue;"&gt;In&lt;/span&gt; contacts&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=";font-family:Courier New;font-size:10;"  &gt;            Console.WriteLine(contact)&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=";font-family:Courier New;font-size:10;"  &gt;&lt;br /&gt;     &lt;span style="color:blue;"&gt;Next&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=";font-family:Courier New;font-size:10;"  &gt;&lt;br /&gt;     &lt;span style="color:blue;"&gt;For&lt;/span&gt;&lt;br /&gt;     &lt;span style="color:blue;"&gt;Each&lt;/span&gt; contact2 &lt;span style="color:blue;"&gt;In&lt;/span&gt; contacts2.&lt;span style="color: rgb(100, 100, 185);"&gt;&amp;lt;&lt;/span&gt;contact&lt;span style="color: rgb(100, 100, 185);"&gt;&amp;gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=";font-family:Courier New;font-size:10;"  &gt;            Console.WriteLine(&lt;span style="color: rgb(163, 21, 21);"&gt;"{0,-40} {1,-20}"&lt;/span&gt;, contact2.&lt;span style="color: rgb(100, 100, 185);"&gt;&amp;lt;&lt;/span&gt;name&lt;span style="color: rgb(100, 100, 185);"&gt;&amp;gt;&lt;/span&gt;.Value, contact2.&lt;span style="color: rgb(100, 100, 185);"&gt;&amp;lt;&lt;/span&gt;address&lt;span style="color: rgb(100, 100, 185);"&gt;&amp;gt;&lt;/span&gt;.Value)&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=";font-family:Courier New;font-size:10;"  &gt;&lt;br /&gt;     &lt;span style="color:blue;"&gt;Next&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;        &lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=";font-family:Courier New;font-size:10;"  &gt;        Console.ReadKey()&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=";font-family:Courier New;font-size:10;"  &gt;&lt;br /&gt;     &lt;span style="color:blue;"&gt;End&lt;/span&gt;&lt;br /&gt;     &lt;span style="color:blue;"&gt;Sub&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=";font-size:10;color:blue;"  &gt;&lt;span style="font-family:Courier New;"&gt;Try it yourself what vb 9 get with those code. It's amazing. &lt;/span&gt;&lt;span style="font-family:Wingdings;"&gt;J&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6850314235614212710-2067699914068476612?l=newbieprogrammer.blogspot.com' alt='' /&gt;&lt;/div&gt;</description><app:edited xmlns:app="http://www.w3.org/2007/app">2008-05-29T10:45:43.437+07:00</app:edited><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total></item><item><title>Tips for choosing Powerpoint Projectors</title><link>http://newbieprogrammer.blogspot.com/2008/05/tips-for-choosing-powerpoint-projectors.html</link><category>Review</category><author>noreply@blogger.com (Humble Mafiosi)</author><pubDate>Sun, 25 May 2008 21:26:39 PDT</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-6850314235614212710.post-7937833937470481760</guid><description>When I got this website, it’s reminding me about my business now. First, when I setup my business, I must prepare likes computers, projector and etc. Especially for projector, I learn something here. There are so many kinds of projectors likes: video projectors, &lt;a href="http://wize.com/multimedia-projectors/for/powerpoint/361"&gt;powerpoint projectors&lt;/a&gt;, and etc.&lt;br /&gt;&lt;br /&gt;So, when I choose the projector, I must see my needs first. If we mostly use the projector for video, then you must choose the video projector, and if you only use the projector for presentation, the &lt;a href="http://wize.com/multimedia-projectors/for/powerpoint/361"&gt;powerpoint projectors&lt;/a&gt; is suit for your needs.&lt;br /&gt;&lt;br /&gt;There are some features you must consider if you choose &lt;a href="http://wize.com/multimedia-projectors/for/powerpoint/361"&gt;powerpoint projectors&lt;/a&gt;.&lt;br /&gt;• Choose Higher resolutions like SXGA (1,280x1,024) or minimally XGA (1024x768).&lt;br /&gt;• Choose projectors with the newer menu or features.&lt;br /&gt;• Set your color and brightness with counting the size of your room&lt;br /&gt;• Consider the font size too..&lt;br /&gt;&lt;br /&gt;So, now when you present your presentation, hopefully your audiences are happy to listen.&lt;br /&gt;&lt;br /&gt;Ups.. forgot. Review of this website: this website contains a lot of projectors. So, you can choose the right projectors for your needs. And gladly this website offers you the best price.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6850314235614212710-7937833937470481760?l=newbieprogrammer.blogspot.com' alt='' /&gt;&lt;/div&gt;</description><app:edited xmlns:app="http://www.w3.org/2007/app">2008-05-26T11:26:39.297+07:00</app:edited><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total></item><item><title>Join 2 variables with Linq (VB Express 2008)</title><link>http://newbieprogrammer.blogspot.com/2008/05/join-2-variables-with-linq-vb-express.html</link><category>Visual basic 2008</category><author>noreply@blogger.com (Humble Mafiosi)</author><pubDate>Wed, 21 May 2008 19:14:23 PDT</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-6850314235614212710.post-769536796509595457</guid><description>&lt;span xmlns=""  style="font-size:100%;"&gt;&lt;p&gt;&lt;span style=";font-family:Courier New;" &gt;&lt;span style="color:blue;"&gt;Class&lt;/span&gt; Person&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=";font-family:Courier New;" &gt;&lt;br /&gt;     &lt;span style="color:blue;"&gt;Public&lt;/span&gt; Age &lt;span style="color:blue;"&gt;As&lt;/span&gt;&lt;span style="color:blue;"&gt; Integer&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=";font-family:Courier New;" &gt;&lt;br /&gt;     &lt;span style="color:blue;"&gt;Public&lt;/span&gt; Name &lt;span style="color:blue;"&gt;As &lt;/span&gt;&lt;span style="color:blue;"&gt;String&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=";font-family:Courier New;" &gt;&lt;br /&gt;     &lt;span style="color:blue;"&gt;End &lt;/span&gt;&lt;span style="color:blue;"&gt;Class&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=";font-family:Courier New;" &gt;&lt;span style="color:blue;"&gt;    Sub&lt;/span&gt; TestingClass2()&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=";font-family:Courier New;" &gt;&lt;br /&gt;     &lt;span style="color:blue;"&gt;Dim&lt;/span&gt; People &lt;span style="color:blue;"&gt;As &lt;/span&gt;&lt;span style="color:blue;"&gt;New&lt;/span&gt; List(&lt;span style="color:blue;"&gt;Of&lt;/span&gt; Person)&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=";font-family:Courier New;" &gt;        People.Add(&lt;span style="color:blue;"&gt;New&lt;/span&gt; Person &lt;span style="color:blue;"&gt;With&lt;/span&gt; {.Age = 16, .Name = &lt;span style="color: rgb(163, 21, 21);"&gt;"Angie"&lt;/span&gt;})&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=";font-family:Courier New;" &gt;        People.Add(&lt;span style="color:blue;"&gt;New&lt;/span&gt; Person &lt;span style="color:blue;"&gt;With&lt;/span&gt; {.Age = 20, .Name = &lt;span style="color: rgb(163, 21, 21);"&gt;"Brandy"&lt;/span&gt;})&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=";font-family:Courier New;" &gt;&lt;br /&gt;     &lt;span style="color:blue;"&gt;Dim&lt;/span&gt; People2() = {&lt;span style="color:blue;"&gt;New&lt;/span&gt; Person &lt;span style="color:blue;"&gt;With&lt;/span&gt; {.Name = &lt;span style="color: rgb(163, 21, 21);"&gt;"Herry"&lt;/span&gt;, .Age = 16}, _&lt;br /&gt;&lt;br /&gt;     &lt;span style="color:blue;"&gt;New&lt;/span&gt; Person &lt;span style="color:blue;"&gt;With&lt;/span&gt; {.Name = &lt;span style="color: rgb(163, 21, 21);"&gt;"Jerry"&lt;/span&gt;, .Age = 25}}&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=";font-family:Courier New;" &gt;&lt;br /&gt;     &lt;span style="color:blue;"&gt;Dim&lt;/span&gt; peopleDet = &lt;span style="color:blue;"&gt;From&lt;/span&gt; peo &lt;span style="color:blue;"&gt;In&lt;/span&gt; People &lt;span style="color:blue;"&gt;Join&lt;/span&gt; peo2 &lt;span style="color:blue;"&gt;In&lt;/span&gt; People2 &lt;span style="color:blue;"&gt;On&lt;/span&gt; peo.Age &lt;span style="color:blue;"&gt;Equals&lt;/span&gt; peo2.Age _&lt;br /&gt;&lt;br /&gt;     &lt;span style="color:blue;"&gt;Where&lt;/span&gt; peo.Age = 16 &lt;span style="color:blue;"&gt;Select&lt;/span&gt; peo.Name, Name2 = peo2.Name&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=";font-family:Courier New;" &gt;&lt;br /&gt;     &lt;span style="color:blue;"&gt;For &lt;/span&gt;&lt;span style="color:blue;"&gt;Each&lt;/span&gt; peopleDet1 &lt;span style="color:blue;"&gt;In&lt;/span&gt; peopleDet&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=";font-family:Courier New;" &gt;            Console.WriteLine(peopleDet1.Name)&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=";font-family:Courier New;" &gt;            Console.WriteLine(peopleDet1.Name2)&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=";font-family:Courier New;" &gt;&lt;br /&gt;     &lt;span style="color:blue;"&gt;Next&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=";font-family:Courier New;" &gt;        Console.ReadKey()&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=";font-family:Courier New;" &gt;&lt;br /&gt;     &lt;span style="color:blue;"&gt;End &lt;/span&gt;&lt;span style="color:blue;"&gt;Sub&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;   &lt;br /&gt;&lt;/p&gt;&lt;p&gt;The codes above show us how to create variable with Person type/class. There are 2 ways how to add the value in it. Here the ways:&lt;br /&gt;&lt;/p&gt;&lt;p&gt;First way:&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=";font-family:Courier New;" &gt;&lt;span style="color:blue;"&gt;Dim&lt;/span&gt; People &lt;span style="color:blue;"&gt;As&lt;/span&gt;&lt;br /&gt;     &lt;span style="color:blue;"&gt;New&lt;/span&gt; List(&lt;span style="color:blue;"&gt;Of&lt;/span&gt; Person)&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=";font-family:Courier New;" &gt;People.Add(&lt;span style="color:blue;"&gt;New&lt;/span&gt; Person &lt;span style="color:blue;"&gt;With&lt;/span&gt; {.Age = 16, .Name = &lt;span style="color: rgb(163, 21, 21);"&gt;"Angie"&lt;/span&gt;})&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=";font-family:Courier New;" &gt;People.Add(&lt;span style="color:blue;"&gt;New&lt;/span&gt; Person &lt;span style="color:blue;"&gt;With&lt;/span&gt; {.Age = 20, .Name = &lt;span style="color: rgb(163, 21, 21);"&gt;"Brandy"&lt;/span&gt;})&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Second way:&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=";font-family:Courier New;" &gt;&lt;span style="color:blue;"&gt;Dim&lt;/span&gt; People2() = {&lt;span style="color:blue;"&gt;New&lt;/span&gt; Person &lt;span style="color:blue;"&gt;With&lt;/span&gt; {.Name = &lt;span style="color: rgb(163, 21, 21);"&gt;"Herry"&lt;/span&gt;, .Age = 16}, _&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=";font-family:Courier New;" &gt;&lt;span style="color:blue;"&gt;                 New&lt;/span&gt; Person &lt;span style="color:blue;"&gt;With&lt;/span&gt; {.Name = &lt;span style="color: rgb(163, 21, 21);"&gt;"Jerry"&lt;/span&gt;, .Age = 25}}&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;The codes up there is the same, but have a major different on it. First ways is easier when we insert the new record/value in people variable, but second ways, we easy to write because we can make it one line code, but difficult to read it and also second way not friendly if we want to insert the new record in the different line.&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Also, the codes above teach us how to join two variables in the simple way. I want to join 2 variables where the condition " age = 16 " and get the name of the person.&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=";font-family:Courier New;" &gt;&lt;span style="color:blue;"&gt;Dim&lt;/span&gt; peopleDet = &lt;span style="color:blue;"&gt;From&lt;/span&gt; peo &lt;span style="color:blue;"&gt;In&lt;/span&gt; People &lt;span style="color:blue;"&gt;Join&lt;/span&gt; peo2 &lt;span style="color:blue;"&gt;In&lt;/span&gt; People2 &lt;span style="color:blue;"&gt;On&lt;/span&gt; peo.Age &lt;span style="color:blue;"&gt;Equals&lt;/span&gt; peo2.Age _&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=";font-family:Courier New;" &gt;&lt;span style="color:blue;"&gt;                Where&lt;/span&gt; peo.Age = 16 &lt;span style="color:blue;"&gt;Select&lt;/span&gt; peo.Name, Name2 = peo2.Name&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;The result will return "Angie" and "Herry", because their age is same.&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Ok. Have a nice coding.. :)&lt;/p&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6850314235614212710-769536796509595457?l=newbieprogrammer.blogspot.com' alt='' /&gt;&lt;/div&gt;</description><app:edited xmlns:app="http://www.w3.org/2007/app">2008-05-22T09:14:23.285+07:00</app:edited><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total></item><item><title>First Project with Visual Basic Express 2008</title><link>http://newbieprogrammer.blogspot.com/2008/05/first-project-with-visual-basic-express.html</link><category>Visual basic 2008</category><author>noreply@blogger.com (Humble Mafiosi)</author><pubDate>Tue, 20 May 2008 04:17:46 PDT</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-6850314235614212710.post-4332081607082053138</guid><description>&lt;p class="MsoNormal"&gt;Today, I was trying visual basic express 2008. It’s free version from Microsoft but still powerful for creating simple software. As we know, Microsoft says in Visual Studio 2008 had new feature like LinQ. LinQ is code template like SQL Query but it’s more powerful. LinQ make us easier to query database, array, and even variables.&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;Okay let’s try it. This is my first try and if I got it wrong, feel free to tell me at the comment side.&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;To begin the first project, you need Visual Basic Express 2008, which you can download at: &lt;a href="http://www.microsoft.com/express/vb/"&gt;http://www.microsoft.com/express/vb/&lt;/a&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;Let’s begin to rock VB Express 2008. :)&lt;/p&gt;  &lt;p class="MsoListParagraphCxSpFirst" style="text-indent: 0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style=""&gt;&lt;span style=""&gt;1.&lt;span style=""&gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;Open your VB Express 2008&lt;/p&gt;  &lt;p class="MsoListParagraphCxSpMiddle" style="text-indent: 0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style=""&gt;&lt;span style=""&gt;2.&lt;span style=""&gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;Choose ConsoleApplication and choose “OK” button.&lt;/p&gt;  &lt;p class="MsoListParagraphCxSpMiddle" style="text-indent: 0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style=""&gt;&lt;span style=""&gt;3.&lt;span style=""&gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;Create a simple sub procedure like this:&lt;/p&gt;  &lt;p class="MsoListParagraphCxSpLast"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin: 0in 0in 0.0001pt;"&gt;&lt;span style=""&gt;Sub&lt;/span&gt;&lt;span style=""&gt; NumQuery()&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt;"&gt;&lt;span style=""&gt;&lt;span style=""&gt;        &lt;/span&gt;&lt;span style="color:blue;"&gt;Dim&lt;/span&gt; numbers() = {1, 4, 2, 7, 8, 9}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt;"&gt;&lt;span style=""&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt;"&gt;&lt;span style=""&gt;&lt;span style=""&gt;        &lt;/span&gt;&lt;span style="color:blue;"&gt;Dim&lt;/span&gt; evenNumbers = &lt;span style="color:blue;"&gt;From&lt;/span&gt; num &lt;span style="color:blue;"&gt;In&lt;/span&gt; numbers &lt;span style="color:blue;"&gt;Where&lt;/span&gt; num &lt;span style="color:blue;"&gt;Mod&lt;/span&gt; 2 = 1 &lt;span style="color:blue;"&gt;Select&lt;/span&gt; num&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt;"&gt;&lt;span style=""&gt;&lt;span style=""&gt;        &lt;/span&gt;Console.WriteLine(&lt;span style="color: rgb(163, 21, 21);"&gt;"Result :"&lt;/span&gt;)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt;"&gt;&lt;span style=""&gt;&lt;span style=""&gt;        &lt;/span&gt;&lt;span style="color:blue;"&gt;For&lt;/span&gt; &lt;span style="color:blue;"&gt;Each&lt;/span&gt; number &lt;span style="color:blue;"&gt;In&lt;/span&gt; evenNumbers&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt;"&gt;&lt;span style=""&gt;&lt;span style=""&gt;            &lt;/span&gt;Console.WriteLine(number)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt;"&gt;&lt;span style=""&gt;&lt;span style=""&gt;        &lt;/span&gt;&lt;span style="color:blue;"&gt;Next&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt;"&gt;&lt;span style=""&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt;"&gt;&lt;span style=""&gt;&lt;span style=""&gt;        &lt;/span&gt;Console.ReadKey()&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="text-indent: 0in;"&gt;&lt;span style=""&gt;End&lt;/span&gt;&lt;span style=""&gt; &lt;span style="color:blue;"&gt;Sub&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoListParagraphCxSpFirst" style="text-indent: 0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style=""&gt;&lt;span style=""&gt;4.&lt;span style=""&gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;Then, in “Sub Main()”, write this code like this:&lt;/p&gt;  &lt;p class="MsoListParagraphCxSpMiddle" style="margin-bottom: 0.0001pt;"&gt;&lt;span style=""&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoListParagraphCxSpLast" style="margin-bottom: 0.0001pt;"&gt;&lt;span style=""&gt;Sub&lt;/span&gt;&lt;span style=""&gt; Main()&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin: 0in 0in 0.0001pt 0.5in;"&gt;&lt;span style=""&gt;NumQuery()&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoListParagraphCxSpFirst"&gt;&lt;span style=""&gt;End&lt;/span&gt;&lt;span style=""&gt; &lt;span style="color:blue;"&gt;Sub&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoListParagraphCxSpMiddle"&gt;&lt;span style=""&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoListParagraphCxSpLast" style="text-indent: 0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style=""&gt;&lt;span style=""&gt;5.&lt;span style=""&gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;Done… hehehe&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;You can see at this line of code:&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt;"&gt;&lt;span style=""&gt;Dim&lt;/span&gt;&lt;span style=""&gt; evenNumbers = &lt;span style="color:blue;"&gt;From&lt;/span&gt; num &lt;span style="color:blue;"&gt;In&lt;/span&gt; numbers &lt;span style="color:blue;"&gt;Where&lt;/span&gt; num &lt;span style="color:blue;"&gt;Mod&lt;/span&gt; 2 = 1 &lt;span style="color:blue;"&gt;Select&lt;/span&gt; num&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;Which it mean: we choose data from &lt;span style="color: rgb(0, 112, 192);"&gt;numbers &lt;/span&gt;and place in the &lt;span style="color: rgb(0, 112, 192);"&gt;num&lt;/span&gt; variable where the condition &lt;span style="color: rgb(0, 112, 192);"&gt;num mod 2 = 1&lt;/span&gt;, and last the result of &lt;span style="color: rgb(0, 112, 192);"&gt;num&lt;/span&gt; will place on &lt;span style="color: rgb(0, 112, 192);"&gt;evenNumbers&lt;/span&gt; variable.&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt;"&gt;&lt;span style=""&gt;For&lt;/span&gt;&lt;span style=""&gt; &lt;span style="color:blue;"&gt;Each&lt;/span&gt; number &lt;span style="color:blue;"&gt;In&lt;/span&gt; evenNumbers&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt;"&gt;&lt;span style=""&gt;&lt;span style=""&gt;  &lt;/span&gt;Console.WriteLine(number)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style=""&gt;Next&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style=""&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style=""&gt;Those codes will execute and display the result in console mode.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style=""&gt;What do you think about this new feature of Visual Basic Express 2008. :)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style=""&gt;Have a nice day.&lt;/span&gt;&lt;span style="font-size:12;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6850314235614212710-4332081607082053138?l=newbieprogrammer.blogspot.com' alt='' /&gt;&lt;/div&gt;</description><app:edited xmlns:app="http://www.w3.org/2007/app">2008-05-20T18:17:46.349+07:00</app:edited><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total></item><item><title>Peazip – Great Compression Tool</title><link>http://newbieprogrammer.blogspot.com/2008/05/peazip-great-compression-tool.html</link><category>Review</category><author>noreply@blogger.com (Humble Mafiosi)</author><pubDate>Tue, 09 Dec 2008 15:32:18 PST</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-6850314235614212710.post-8994575234658529490</guid><description>&lt;p class="MsoNormal"&gt;&lt;a href="http://peazip.sourceforge.net/"&gt;Peazip&lt;/a&gt; is tool for compression. &lt;a href="http://peazip.sourceforge.net/"&gt;Peazip&lt;/a&gt; is free software and free to spread. &lt;a href="http://peazip.sourceforge.net/"&gt;Peazip&lt;/a&gt; can open and compress in 12 different type, likes: zip, 7z, pea, tar, etc. when I use &lt;a href="http://peazip.sourceforge.net/"&gt;peazip&lt;/a&gt;, I think &lt;a href="http://peazip.sourceforge.net/"&gt;peazip&lt;/a&gt; compression is not small than winzip or winrar, but now I change my mind. &lt;a href="http://peazip.sourceforge.net/"&gt;Peazip&lt;/a&gt; can do even better than winzip or winrar.&lt;/p&gt;  &lt;p class="MsoNormal"&gt;Benefits of &lt;a href="http://peazip.sourceforge.net/"&gt;peazip&lt;/a&gt; are:&lt;/p&gt;  &lt;p class="MsoListParagraphCxSpFirst" style="text-indent: 0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style=""&gt;&lt;span style=""&gt;1.&lt;span style=""&gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;Peazip is very small program (about 7 Mb).&lt;/p&gt;  &lt;p class="MsoListParagraphCxSpMiddle" style="text-indent: 0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style=""&gt;&lt;span style=""&gt;2.&lt;span style=""&gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;Peazip is user friendly. &lt;/p&gt;  &lt;p class="MsoListParagraphCxSpMiddle" style="text-indent: 0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style=""&gt;&lt;span style=""&gt;3.&lt;span style=""&gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;Peazip can compress good enough.&lt;/p&gt;  &lt;p class="MsoListParagraphCxSpMiddle" style="text-indent: 0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style=""&gt;&lt;span style=""&gt;4.&lt;span style=""&gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;Peazip is free.&lt;/p&gt;  &lt;p class="MsoListParagraphCxSpLast" style="text-indent: 0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style=""&gt;&lt;span style=""&gt;5.&lt;span style=""&gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;Peazip can support a lot of files type.&lt;/p&gt;  &lt;p class="MsoNormal"&gt;Now, I try to share a little about how to use peazip:&lt;/p&gt;  &lt;p class="MsoListParagraph" style="text-indent: 0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style=""&gt;&lt;span style=""&gt;1.&lt;span style=""&gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;Choose create archive or open archive&lt;/p&gt;&lt;p class="MsoListParagraph" style="text-indent: 0.25in;"&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_TMfqSbbL8eo/SCuUsnn0W_I/AAAAAAAAAN0/zkWx4-hd2_I/s1600-h/1.JPG"&gt;&lt;img style="cursor: pointer;" src="http://4.bp.blogspot.com/_TMfqSbbL8eo/SCuUsnn0W_I/AAAAAAAAAN0/zkWx4-hd2_I/s400/1.JPG" alt="" id="BLOGGER_PHOTO_ID_5200413689000516594" border="0" /&gt;&lt;/a&gt;&lt;/p&gt;&lt;p class="MsoListParagraph" style="text-indent: 0.25in;"&gt;  &lt;/p&gt;&lt;p class="MsoListParagraph" style="text-indent: 0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style=""&gt;&lt;span style=""&gt;1.&lt;span style=""&gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;Choose Add File&lt;/p&gt;&lt;p class="MsoListParagraph" style="text-indent: 0.25in;"&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_TMfqSbbL8eo/SCuVHnn0XAI/AAAAAAAAAN8/_-5Q34wi9JY/s1600-h/2.JPG"&gt;&lt;img style="cursor: pointer;" src="http://4.bp.blogspot.com/_TMfqSbbL8eo/SCuVHnn0XAI/AAAAAAAAAN8/_-5Q34wi9JY/s400/2.JPG" alt="" id="BLOGGER_PHOTO_ID_5200414152856984578" border="0" /&gt;&lt;/a&gt;&lt;/p&gt;    &lt;p class="MsoListParagraph" style="text-indent: 0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style=""&gt;&lt;span style=""&gt;2.&lt;span style=""&gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;Choose type of compress and level of compress &lt;/p&gt;&lt;p class="MsoListParagraph" style="text-indent: 0.25in;"&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_TMfqSbbL8eo/SCuVfXn0XBI/AAAAAAAAAOE/8LsUL0-HMC0/s1600-h/3.JPG"&gt;&lt;img style="cursor: pointer; width: 400px; height: 152px;" src="http://3.bp.blogspot.com/_TMfqSbbL8eo/SCuVfXn0XBI/AAAAAAAAAOE/8LsUL0-HMC0/s400/3.JPG" alt="" id="BLOGGER_PHOTO_ID_5200414560878877714" border="0" /&gt;&lt;/a&gt;&lt;/p&gt;    &lt;p class="MsoListParagraph" style="text-indent: 0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style=""&gt;&lt;span style=""&gt;3.&lt;span style=""&gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;Choose create .7z and type filename&lt;/p&gt;&lt;p class="MsoListParagraph" style="text-indent: 0.25in;"&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_TMfqSbbL8eo/SCuVfnn0XCI/AAAAAAAAAOM/XJo3TX8LoQk/s1600-h/4.JPG"&gt;&lt;img style="cursor: pointer;" src="http://4.bp.blogspot.com/_TMfqSbbL8eo/SCuVfnn0XCI/AAAAAAAAAOM/XJo3TX8LoQk/s400/4.JPG" alt="" id="BLOGGER_PHOTO_ID_5200414565173845026" border="0" /&gt;&lt;/a&gt;&lt;/p&gt;    &lt;p class="MsoListParagraph" style="text-indent: 0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style=""&gt;&lt;span style=""&gt;4.&lt;span style=""&gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;Progress bar of peazip compress&lt;/p&gt;&lt;p class="MsoListParagraph" style="text-indent: 0.25in;"&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_TMfqSbbL8eo/SCuVfnn0XDI/AAAAAAAAAOU/4teGMggts20/s1600-h/5.JPG"&gt;&lt;img style="cursor: pointer;" src="http://4.bp.blogspot.com/_TMfqSbbL8eo/SCuVfnn0XDI/AAAAAAAAAOU/4teGMggts20/s400/5.JPG" alt="" id="BLOGGER_PHOTO_ID_5200414565173845042" border="0" /&gt;&lt;/a&gt;&lt;/p&gt;          &lt;p class="MsoListParagraph" style="text-indent: 0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style=""&gt;&lt;span style=""&gt;.&lt;span style=""&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;Different between original file and peazip file&lt;/p&gt;&lt;p class="MsoListParagraph" style="text-indent: 0.25in;"&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_TMfqSbbL8eo/SCuVf3n0XEI/AAAAAAAAAOc/a--KESeFeG8/s1600-h/6.JPG"&gt;&lt;img style="cursor: pointer;" src="http://1.bp.blogspot.com/_TMfqSbbL8eo/SCuVf3n0XEI/AAAAAAAAAOc/a--KESeFeG8/s400/6.JPG" alt="" id="BLOGGER_PHOTO_ID_5200414569468812354" border="0" /&gt;&lt;/a&gt;&lt;/p&gt;&lt;p class="MsoNormal" style="margin-left: 0.25in;"&gt;Simple huh.. hehehe. &lt;span style=""&gt; &lt;/span&gt;Next time I will share how to extract with &lt;a href="http://peazip.sourceforge.net/"&gt;peazip&lt;/a&gt;.&lt;/p&gt;&lt;p class="MsoNormal" style="margin-left: 0.25in;"&gt;Thx. Good day.&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6850314235614212710-8994575234658529490?l=newbieprogrammer.blogspot.com' alt='' /&gt;&lt;/div&gt;</description><app:edited xmlns:app="http://www.w3.org/2007/app">2008-12-10T06:32:18.897+07:00</app:edited><media:thumbnail url="http://4.bp.blogspot.com/_TMfqSbbL8eo/SCuUsnn0W_I/AAAAAAAAAN0/zkWx4-hd2_I/s72-c/1.JPG" height="72" width="72" /><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total></item><item><title>SumatraPDF – Simple PDF Reader</title><link>http://newbieprogrammer.blogspot.com/2008/05/sumatrapdf-simple-pdf-reader.html</link><category>Review</category><author>noreply@blogger.com (Humble Mafiosi)</author><pubDate>Tue, 13 May 2008 20:15:20 PDT</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-6850314235614212710.post-6361838974932211765</guid><description>&lt;a href="http://blog.kowalczyk.info/software/sumatrapdf/"&gt;SumatraPDF&lt;/a&gt; is open-source software that useful to read a PDF files. &lt;a href="http://blog.kowalczyk.info/software/sumatrapdf/"&gt;SumatraPDF&lt;/a&gt; is very small software, even we didn’t need to install it. What we need just copy and paste &lt;a href="http://blog.kowalczyk.info/software/sumatrapdf/"&gt;SumatraPDF&lt;/a&gt; into our hard drive and run it. Here the look of &lt;a href="http://blog.kowalczyk.info/software/sumatrapdf/"&gt;SumatraPDF&lt;/a&gt;:&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://blog.kowalczyk.info/software/sumatrapdf/sumatra-shot-00.gif"&gt;&lt;img style="cursor: pointer; width: 325px; height: 434px;" src="http://blog.kowalczyk.info/software/sumatrapdf/sumatra-shot-00.gif" alt="" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://blog.kowalczyk.info/software/sumatrapdf/"&gt;SumatraPDF&lt;/a&gt; was created by &lt;a href="http://blog.kowalczyk.info/"&gt;Krzysztof Kowalczyk&lt;/a&gt;. Here the look when we open the PDF files:&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://blog.kowalczyk.info/software/sumatrapdf/sumatra-shot-01.gif"&gt;&lt;img style="cursor: pointer; width: 327px; height: 437px;" src="http://blog.kowalczyk.info/software/sumatrapdf/sumatra-shot-01.gif" alt="" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;The benefits of &lt;a href="http://blog.kowalczyk.info/software/sumatrapdf/"&gt;SumatraPDF&lt;/a&gt;:&lt;br /&gt;1. Simple because &lt;a href="http://blog.kowalczyk.info/software/sumatrapdf/"&gt;SumatraPDF&lt;/a&gt; didn’t need to be installed on our hard drive, &lt;a href="http://blog.kowalczyk.info/software/sumatrapdf/"&gt;SumatraPDF&lt;/a&gt; only need to be copied on our hard drive and run it.&lt;br /&gt;2. Free of Cost. Sumatra is free software that we can use and spread it.&lt;br /&gt;3. Fast. Because of this very small size of &lt;a href="http://blog.kowalczyk.info/software/sumatrapdf/"&gt;SumatraPDF&lt;/a&gt; make it very fast on opening the PDF files.&lt;br /&gt;&lt;br /&gt;The weakness of &lt;a href="http://blog.kowalczyk.info/software/sumatrapdf/"&gt;SumatraPDF&lt;/a&gt;:&lt;br /&gt;1. Sometimes &lt;a href="http://blog.kowalczyk.info/software/sumatrapdf/"&gt;SumatraPDF&lt;/a&gt; cannot open the new version of PDF Files.&lt;br /&gt;2. Result of &lt;a href="http://blog.kowalczyk.info/software/sumatrapdf/"&gt;SumatraPDF&lt;/a&gt; printing is not good (low resolution).&lt;br /&gt;3. Open the PDF files in new windows when we open the new files.&lt;br /&gt;&lt;br /&gt;Here the site where you can download &lt;a href="http://blog.kowalczyk.info/software/sumatrapdf/"&gt;SumatraPDF&lt;/a&gt;: &lt;a href="http://fastdl.org/SumatraPDF-0.8-install.exe"&gt;SumatraPDF-0.8-install.exe&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6850314235614212710-6361838974932211765?l=newbieprogrammer.blogspot.com' alt='' /&gt;&lt;/div&gt;</description><app:edited xmlns:app="http://www.w3.org/2007/app">2008-05-14T10:15:20.381+07:00</app:edited><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total></item><item><title>Display Network Search Dialog box with API and VB</title><link>http://newbieprogrammer.blogspot.com/2008/04/display-network-search-dialog-box-with.html</link><category>API</category><category>Visual Basic</category><author>noreply@blogger.com (Humble Mafiosi)</author><pubDate>Thu, 10 Apr 2008 06:50:56 PDT</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-6850314235614212710.post-2938332752017544915</guid><description>Today I want to share another post about API and VB again. How to show a network search dialog box with API in VB? &lt;br /&gt;&lt;br /&gt;Ok. I make it quick on this post, because the codes are very long.&lt;br /&gt;&lt;br /&gt;Here the declaration of API functions:&lt;br /&gt;&lt;br /&gt;Private Type BrowseInfo&lt;br /&gt; hWndOwner As Long&lt;br /&gt; pIDLRoot As Long&lt;br /&gt; pszDisplayName As Long&lt;br /&gt; ulFlags As Long&lt;br /&gt; lpfnCallback As Long&lt;br /&gt; lParam As Long&lt;br /&gt; iImage As Long&lt;br /&gt;End Type&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Public Enum BrowseType&lt;br /&gt; BrowseForFolders = &amp;H1&lt;br /&gt; BrowseForComputers = &amp;H1000&lt;br /&gt; BrowseForPrinters = &amp;H2000&lt;br /&gt; BrowseForEverything = &amp;H4000&lt;br /&gt;End Enum&lt;br /&gt;&lt;span class="fullpost"&gt;&lt;br /&gt;Public Enum FolderType&lt;br /&gt; CSIDL_BITBUCKET = 10&lt;br /&gt; CSIDL_CONTROLS = 3&lt;br /&gt; CSIDL_DESKTOP = 0&lt;br /&gt; CSIDL_DRIVES = 17&lt;br /&gt; CSIDL_FONTS = 20&lt;br /&gt; CSIDL_NETHOOD = 18&lt;br /&gt; CSIDL_NETWORK = 19&lt;br /&gt; CSIDL_PERSONAL = 5&lt;br /&gt; CSIDL_PRINTERS = 4&lt;br /&gt; CSIDL_PROGRAMS = 2&lt;br /&gt; CSIDL_RECENT = 8&lt;br /&gt; CSIDL_SENDTO = 9&lt;br /&gt; CSIDL_STARTMENU = 11&lt;br /&gt;End Enum&lt;br /&gt;&lt;br /&gt;Private Const MAX_PATH = 260&lt;br /&gt;&lt;br /&gt;Private Declare Sub CoTaskMemFree Lib “ole32.dll” (ByVal hMem As Long)&lt;br /&gt;Private Declare Function lstrcat Lib “kernel32.dll” Alias “lstrcatA” (ByVal lpString1 As String, ByVal lpString2 As String) As Long&lt;br /&gt;Private Declare Function SHBrowseForFolder Lib “shell32.dll” (lpbi As BrowseInfo) As Long&lt;br /&gt;Private Declare Function SHGetPathFromIDList Lib “shell32.dll” (ByVal pidList As Long, ByVal lpBuffer As String) As Long&lt;br /&gt;Private Declare Function SHGetSpecialFolderLocation Lib “shell32.dll” (ByVal hWndOwner As Long, ByVal nFolder As Long, ListId As Long) As Long&lt;br /&gt;&lt;br /&gt;Public Function BrowseFolders(hWndOwner As Long, sMessage As String, Browse As BrowseType, ByVal RootFolder As FolderType) As String&lt;br /&gt; Dim Nullpos As Integer&lt;br /&gt; Dim lpIDList As Long&lt;br /&gt; Dim res As Long&lt;br /&gt; Dim sPath As String&lt;br /&gt; Dim BInfo As BrowseInfo&lt;br /&gt; Dim RootID As Long&lt;br /&gt;&lt;br /&gt; SHGetSpecialFolderLocation hWndOwner, RootFolder, RootID&lt;br /&gt; BInfo.hWndOwner  = hWndOwner&lt;br /&gt; BInfo.lpszTitle = lstrcat (sMessage, “”)&lt;br /&gt; BInfo.ulFlags = Browse&lt;br /&gt; &lt;br /&gt; If RootID &lt;&gt; 0 Then BInfo.pIDLRoot = RootID&lt;br /&gt; lpIDList = SHBrowseForFolder (BInfo)&lt;br /&gt; &lt;br /&gt; If lpIDList &lt;&gt; 0 then&lt;br /&gt;  sPath = String (MAX_PATH, 0)&lt;br /&gt;  res = SHGetPathFromIDList (lpIDList, sPath)&lt;br /&gt;  Call CoTaskMemFree (lpIDList)&lt;br /&gt;  If Nullpos &lt;&gt; 0 Then&lt;br /&gt;   sPath = Left(sPath, Nullpos – 1)&lt;br /&gt;  End If&lt;br /&gt; End If&lt;br /&gt; BrowseFolders = sPath&lt;br /&gt;End Function&lt;br /&gt;&lt;br /&gt;Private Sub command1_click()&lt;br /&gt;&lt;br /&gt; Labe1.Caption = BrowseFolders(hWnd, “Choose your network”, BrowseForFolders, CSIDL_NETHOOD)&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;End Sub&lt;br /&gt;&lt;br /&gt;Fuih.. very long codes. :) &lt;br /&gt;Enjoy it…&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6850314235614212710-2938332752017544915?l=newbieprogrammer.blogspot.com' alt='' /&gt;&lt;/div&gt;</description><app:edited xmlns:app="http://www.w3.org/2007/app">2008-04-10T20:50:56.879+07:00</app:edited><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">2</thr:total></item><item><title>Copy function with API and VB</title><link>http://newbieprogrammer.blogspot.com/2008/03/copy-function-with-api-and-vb.html</link><category>API</category><category>Visual Basic</category><author>noreply@blogger.com (Humble Mafiosi)</author><pubDate>Sat, 29 Mar 2008 17:19:09 PDT</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-6850314235614212710.post-7602639114556784648</guid><description>Here we go, another article about API function and VB. For VB developer, maybe you all familiar with Filecopy function. Yes, that function is to use copy and paste file we want into the directory we want.&lt;br /&gt;&lt;br /&gt;Now, I want to make my own Filecopy with API function. In API, we can use CopyFile function, where the statement is:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-style: italic; color: rgb(51, 51, 255);"&gt;CopyFile(lpExistingFileName, lpNewFileName, bFailIfExists)&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;lpExistingFileName = Source of our file&lt;br /&gt;lpNewFileName = Destination of our file&lt;br /&gt;bFailIfExists = checked first if we gave value 1, and replace it if we gave value 0&lt;br /&gt;&lt;span class="fullpost"&gt;&lt;br /&gt;&lt;br /&gt;Now here the code:&lt;br /&gt;&lt;br /&gt;Declare Function CopyFile Lib “kernel32.dll” Alias “CopyFileA” (ByVal lpExistingFileName As String, ByVal lpNewFileName As String, ByVal bFailIfExists As Long)&lt;br /&gt;&lt;br /&gt;Application I want to make is copy file from source directory into destination directory, but checking first the existing of the file and return the message whatever success or not.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold; color: rgb(0, 0, 153);"&gt;Private Sub CopyData()&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold; color: rgb(0, 0, 153);"&gt;Dim ErrVal as Byte&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold; color: rgb(0, 0, 153);"&gt;ErrVal = CopyFile (“c:\autoexec.bat”, “d:\autoexec.bat”, 1)&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold; color: rgb(0, 0, 153);"&gt;If ErrVal = 0 then &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold; color: rgb(0, 0, 153);"&gt; Msgbox  “Operation Not Success. File already exist”&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold; color: rgb(0, 0, 153);"&gt;Else&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold; color: rgb(0, 0, 153);"&gt; Msgbox  “Operation Success.”&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold; color: rgb(0, 0, 153);"&gt; End If&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold; color: rgb(0, 0, 153);"&gt;End Sub&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Now we can modify our copy function with the rules we want. Enjoy it…&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6850314235614212710-7602639114556784648?l=newbieprogrammer.blogspot.com' alt='' /&gt;&lt;/div&gt;</description><app:edited xmlns:app="http://www.w3.org/2007/app">2008-03-30T07:19:09.525+07:00</app:edited><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">2</thr:total></item><item><title>Check free space of hard drive with API and VB</title><link>http://newbieprogrammer.blogspot.com/2008/03/check-free-space-of-hard-drive-with-api.html</link><category>API</category><category>Visual Basic</category><author>noreply@blogger.com (Humble Mafiosi)</author><pubDate>Tue, 25 Mar 2008 08:56:50 PDT</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-6850314235614212710.post-2655316643013926942</guid><description>Maybe we always see the message from the installer when our hard drive space doesn’t enough. We can get the free space of our hard drive with API function and integrate it with VB.&lt;br /&gt;&lt;br /&gt;We can use API function: GetDiskFreeSpace on Kernel32.&lt;br /&gt;&lt;br /&gt;Here the code:&lt;br /&gt;&lt;br /&gt;Declare Function GetDiskFreeSpace Lib “kernel32.dll” Alias “GetDiskFreeSpaceA” (ByVal lpRootPathName As String, lpSectorsPerCluster As Long, lpBytesPerSector As Long, lpNumberOfFreeClusters As Long, lpTotalNumberOfClusters As Long) As Long&lt;br /&gt;&lt;br /&gt;&lt;span class="fullpost"&gt;&lt;br /&gt;Private Sub CheckFreeSpace()&lt;br /&gt;Dim x As Long&lt;br /&gt;Dim Free As Long&lt;br /&gt;&lt;br /&gt; x = GetDiskFreeSpace (“c:/”, SecPerClus, BytePerSec, FreeClus, TotalClus)&lt;br /&gt; Free = SecPerClus * BytePerClus * FreeClus&lt;br /&gt;&lt;br /&gt; Msgbox “Free Space of Drive C:/ is: “ + Str(Free) + “ bytes”&lt;br /&gt;&lt;br /&gt;End Sub&lt;br /&gt;&lt;br /&gt;Simple.. huh.. &lt;br /&gt;&lt;br /&gt;Enjoy it…&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6850314235614212710-2655316643013926942?l=newbieprogrammer.blogspot.com' alt='' /&gt;&lt;/div&gt;</description><app:edited xmlns:app="http://www.w3.org/2007/app">2008-03-25T22:56:50.411+07:00</app:edited><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">1</thr:total></item><item><title>How to Beep PC with API and VB</title><link>http://newbieprogrammer.blogspot.com/2008/03/how-to-beep-pc-with-api-and-vb.html</link><category>API</category><category>Visual Basic</category><author>noreply@blogger.com (Humble Mafiosi)</author><pubDate>Fri, 21 Mar 2008 21:12:34 PDT</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-6850314235614212710.post-5864776121305763397</guid><description>Today I will post code still related windows API function with VB. Now, I will show you how to beep the PC with the code on VB&lt;br /&gt;&lt;br /&gt;First, we need declare an API function on VB:&lt;br /&gt;&lt;br /&gt;Public Declare Function Beep Lib “kernel32” (ByVal dwFreq as Long, ByVal dwDuration As Long) As Long&lt;br /&gt;&lt;br /&gt;That’s it. We just need it only to beep the PC.&lt;br /&gt;&lt;br /&gt;Now, how to use on VB code:&lt;br /&gt;&lt;span class="fullpost"&gt;&lt;br /&gt;&lt;br /&gt;Private Sub Command1_Click()&lt;br /&gt;Dim x As Byte&lt;br /&gt;&lt;br /&gt;For y = 1 to 100&lt;br /&gt;&lt;br /&gt;Beep y,100&lt;br /&gt;&lt;br /&gt;Next&lt;br /&gt;&lt;br /&gt;End Sub&lt;br /&gt;&lt;br /&gt;It will beep 100 times with 100 durations.&lt;br /&gt;&lt;br /&gt;Okay. Enjoy the Code….&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6850314235614212710-5864776121305763397?l=newbieprogrammer.blogspot.com' alt='' /&gt;&lt;/div&gt;</description><app:edited xmlns:app="http://www.w3.org/2007/app">2008-03-22T11:12:34.466+07:00</app:edited><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total></item><item><title>Total Solutions for Your Online Store</title><link>http://newbieprogrammer.blogspot.com/2008/03/total-solutions-for-your-online-store_18.html</link><category>Review</category><author>noreply@blogger.com (Humble Mafiosi)</author><pubDate>Tue, 18 Mar 2008 08:49:20 PDT</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-6850314235614212710.post-1324312662449899495</guid><description>Do you want to expand your business into e-store business with internet? Need &lt;span style="font-weight: bold;"&gt;shopping cart&lt;/span&gt; on your site? But, do you confuse to get the right software with your needs? To expensive buying a software or hire the programmer?&lt;br /&gt;&lt;br /&gt;GET READY. We can get what you need. Good &lt;a href="http://www.ashop.com.au"&gt;&lt;span style="font-weight: bold;"&gt;shopping cart software&lt;/span&gt;&lt;/a&gt; with a good price. Please visit us at: &lt;a href="http://www.ashop.com.au/"&gt;www.ashop.com.au&lt;/a&gt;. With us, CREATE YOUR ONLINE STORE. We can provide you a web based application with no installation needed, &lt;span style="font-weight: bold;"&gt;Affordable e commerce software&lt;/span&gt;, Accept credit cards online, Thousands of features, easy to use, Start selling your products online right now, Fully customizable design, 10 day free trial.&lt;br /&gt;&lt;br /&gt;&lt;span class="fullpost"&gt;&lt;br /&gt;There are 6 reasons why you should choose &lt;a href="http://www.blogger.com/www.ashop.com.au"&gt;Ashop Commerce&lt;/a&gt; as your partner for creating shopping cart software, are: &lt;span style="font-weight: bold; color: rgb(0, 153, 0);"&gt;AFFORDABLE, EASY, TECHNICAL SUPPORT AND CUSTOMER SERVICE, GET FOUND ON SEARCH ENGINES, CUSTOMIZABLE DESIGN WITHOUT RESTRICTIONS, and TOTAL SOLUTION.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Need to try first? We can provide you with a test drive with our demo version first. You can access it at &lt;a href="http://www.ashop.com.au/g/2515/test-drive.html"&gt;here&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;Find out our features &lt;a href="http://www.ashop.com.au/g/2500/software-features.html"&gt;here&lt;/a&gt; and get the right package on your needs &lt;a href="http://www.ashop.com.au/g/2501/ecommerce-store-pricing.html"&gt;here&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;With &lt;a href="http://www.blogger.com/www.ashop.com.au"&gt;AShop Commerce&lt;/a&gt;, we give our clients the best solutions and the best pricing. Over 4 years, we have developing shopping cart software regards functionality and usability. You can read our clients testimonials at &lt;a href="http://www.ashop.com.au/g/2519/shopping-cart-testimonials.html"&gt;here&lt;/a&gt;, and don’t hesitate to contact us, we are ready to help you to find a good solutions for your online store.&lt;br /&gt;&lt;br /&gt;Contact Us:&lt;br /&gt;&lt;br /&gt;International : +1(312) 239 0874&lt;br /&gt;Canada  : (312) 239 0874&lt;br /&gt;United Kingdom: (1582) 84 15 87&lt;br /&gt;USA  : (312) 239 0874&lt;br /&gt;Australia : 1300 726 360 and 02 9907 1981&lt;br /&gt;New Zealand : (612) 9907 1981&lt;br /&gt;&lt;br /&gt;Our Website: &lt;a href="http://www.blogger.com/www.ashop.com.au"&gt;www.ashop.com.au&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6850314235614212710-1324312662449899495?l=newbieprogrammer.blogspot.com' alt='' /&gt;&lt;/div&gt;</description><app:edited xmlns:app="http://www.w3.org/2007/app">2008-03-18T22:49:20.937+07:00</app:edited><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total></item><item><title>UpperCase and LowerCase with API in VB</title><link>http://newbieprogrammer.blogspot.com/2008/03/uppercase-and-lowercase-with-api-in-vb.html</link><category>API</category><category>Visual Basic</category><author>noreply@blogger.com (Humble Mafiosi)</author><pubDate>Tue, 18 Mar 2008 07:51:18 PDT</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-6850314235614212710.post-22786936016360155</guid><description>Uppercase and lowercase are general functions in every programming language. Now, I want to show how to use uppercase and lowercase in API functions.&lt;br /&gt;&lt;br /&gt;I do it with visual basic 6 and windows library ( user32.dll ).&lt;br /&gt;&lt;br /&gt;Okay, we start with uppercase first.&lt;br /&gt;&lt;br /&gt;Uppercase is a function to generate anything string into uppercase string.&lt;br /&gt;&lt;br /&gt;Here the code:&lt;br /&gt;&lt;br /&gt;Declare Function CharUpper Lib “user32.dll” Alias “CharUpperA”&lt;br /&gt;     (ByVal lpsz As String) As String&lt;br /&gt;&lt;br /&gt;Private sub command1_click()&lt;br /&gt;&lt;br /&gt; Text1.Text = CharUpper(“layong”)&lt;br /&gt;&lt;br /&gt;End Sub&lt;br /&gt;&lt;br /&gt;&lt;span class="fullpost"&gt;&lt;br /&gt;The result will be: “LAYONG”&lt;br /&gt;&lt;br /&gt;Okay. We move on the lowercase function. Lowercase is a function to change a string into the lowercase string.&lt;br /&gt;&lt;br /&gt;Here the code:&lt;br /&gt;&lt;br /&gt;Declare Function CharLower Lib “user32.dll” Alias “CharLowerA”&lt;br /&gt;    (ByVal lpsz As String) As String&lt;br /&gt;&lt;br /&gt;Private Sub Command1_Click()&lt;br /&gt;&lt;br /&gt; Text1.Text = CharLower (“LAYONG”)&lt;br /&gt;&lt;br /&gt;End Sub&lt;br /&gt;&lt;br /&gt;The result will be “layong”.&lt;br /&gt;&lt;br /&gt;Simple huh… :)&lt;br /&gt;&lt;br /&gt;Enjoy it…&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6850314235614212710-22786936016360155?l=newbieprogrammer.blogspot.com' alt='' /&gt;&lt;/div&gt;</description><app:edited xmlns:app="http://www.w3.org/2007/app">2008-03-18T21:51:18.637+07:00</app:edited><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total></item><item><title>Load Images from and Save Images to a Database</title><link>http://newbieprogrammer.blogspot.com/2008/03/load-images-from-and-save-images-to.html</link><category>Cropped Article</category><category>Visual Basic</category><author>noreply@blogger.com (Humble Mafiosi)</author><pubDate>Tue, 09 Dec 2008 15:32:19 PST</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-6850314235614212710.post-2959455184901221977</guid><description>Introduction&lt;br /&gt;&lt;br /&gt;Sometimes you need to store images in a database instead of as physical files. This sample application will show you how to build a Windows Forms interface that allows you to do the following:&lt;br /&gt;&lt;br /&gt;   * Browse for an image on your hard disk&lt;br /&gt;   * Load the selected image into a PictureBox control for viewing&lt;br /&gt;   * Save an image displayed in the PictureBox control to the database&lt;br /&gt;   * Select an image from a ListBox control, and load it from the database&lt;br /&gt;&lt;br /&gt;The new concepts in this article center around the abstract Stream class and how it's used to convert an image file to and from the Image data type that SQL Server uses to store images. Be sure not to confuse the Image data type with the word image, as if to imply that only images can be stored therein. Rather, the Image data type can store anything as variable-length binary data.&lt;br /&gt;&lt;br /&gt;A byte array is used to send data to an Image field. Thus, the main question is: How does one convert an image file—whether a JPEG, Bitmap, or other format—into an array of bytes? There are several ways to accomplish this in .NET. One of the easiest ways is to use a concrete implementation of the Stream class. A stream in .NET is essentially an abstraction of a sequence of bytes, whether these bytes came from a file, a TCP/IP socket, a database, or wherever. Stream classes allow you to work with binary data, reading and writing back and forth between streams and data structures (such as a byte array).&lt;br /&gt;&lt;br /&gt;Once the image is converted to a byte array, it's saved to a database by using coding.&lt;br /&gt;Creating Database&lt;br /&gt;&lt;br /&gt;The first step you have to do is to create a Database table name it Pic, which should contain the two, fields 1: Name 2: Picture. The data Type of the Name field is (nVarChar) and data type of Picture is (Image) in Sql Server 2000.&lt;br /&gt;&lt;br /&gt;   Note: This Database should be in SQLS erver. I have included the database file in the zip file that you can attach in SQL Server databases. The name of database file is Images_Data.&lt;br /&gt;&lt;br /&gt;&lt;span class="fullpost"&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_TMfqSbbL8eo/R9yOhUzKYfI/AAAAAAAAAIo/qUHh7xuMz3M/s1600-h/get_image.php.gif"&gt;&lt;img style="cursor: pointer;" src="http://2.bp.blogspot.com/_TMfqSbbL8eo/R9yOhUzKYfI/AAAAAAAAAIo/qUHh7xuMz3M/s320/get_image.php.gif" alt="" id="BLOGGER_PHOTO_ID_5178170374739354098" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Browsing for and Displaying an Image&lt;br /&gt;&lt;br /&gt;The first task is to find an image on your hard disk. To do this, use an OpenFileDialog object in conjunction with a standard Button control. In the btnBrowse_Click event handler, you can see how this is done. The first few lines of code merely set properties of the OpenFileDialog object.&lt;br /&gt;&lt;br /&gt;With OpenFileDialog1&lt;br /&gt;  .InitialDirectory = "C:\"&lt;br /&gt;  .Filter = "All Files|*.*|Bitmaps|*.bmp|GIFs|*.gif|JPEGs|*.jpg"&lt;br /&gt;  .FilterIndex = 2&lt;br /&gt;End With&lt;br /&gt;&lt;br /&gt;A pipe-delimited pair of file types is provided to determine the valid file types that can be accessed through the dialog box. Among other properties, you can also set FilterIndex to the default file type that you want to appear in the dialog box's Files Of Type menu. The index is not zero-based, so in this example, Bitmaps will appear as the default.&lt;br /&gt;&lt;br /&gt;The dialog box is not actually opened until its ShowDialogmethod is called, which can be combined in an If/Then statement to check which button was pressed and perform follow-on tasks:&lt;br /&gt;&lt;br /&gt;If OpenFileDialog1.ShowDialog() = DialogResult.OK Then&lt;br /&gt;  With PictureBox1&lt;br /&gt;     .Image = Image.FromFile(Me.OpenFileDialog1.FileName)&lt;br /&gt;     .SizeMode = PictureBoxSizeMode.CenterImage&lt;br /&gt;  End With&lt;br /&gt;&lt;br /&gt;End If&lt;br /&gt;Me.Label1.Text = Me.OpenFileDialog1.FileName.ToString&lt;br /&gt;&lt;br /&gt;Although an OpenFileDialog object contains an Open button instead of an OK button, there is no DialogResult enumeration for the Open button. Instead, use the OK enumeration. Once it's confirmed that the Open button has been clicked, properties of the PictureBox control are set. Notice how the Image property—which requires an object of type System.Drawing.Image—is assigned. The Image class is abstract and exposes a number of shared methods for working with images, one of which is FromFile. This method creates an Image object from a fully qualified path; although the OpenFileDialog.FileName property might lead you to think that it contains only the file name, it actually has the full path.&lt;br /&gt;&lt;br /&gt;Now that your image file is represented by an Image object, you can use a stream to convert it to a byte array. In the btnSave_Click event handler, the first line of code creates a MemoryStream object:&lt;br /&gt;&lt;br /&gt;Dim ms As New MemoryStream()&lt;br /&gt;&lt;br /&gt;A MemoryStream object is simply a stream that uses memory as its backup store instead of some other medium. As a result, a MemoryStream object usually provides better performance. Streams are flexible. You could, for example, have used a FileStream object to open the image file directly and read it in. There are certainly numerous other ways, too. The implementation here, however, is simple and straightforward.&lt;br /&gt;&lt;br /&gt;The MemoryStream is then passed as an argument to the Save method, another member of the Image class. You can optionally pass the image format—for example, by accessing the Image's read-only RawFormat property:&lt;br /&gt;&lt;br /&gt;picSave.Image.Save(ms, picSave.Image.RawFormat)&lt;br /&gt;&lt;br /&gt;The actual byte array conversion comes in the next line. GetBuffer returns an array of unsigned bytes being held by the stream.&lt;br /&gt;&lt;br /&gt;Dim arrImage() As Byte = ms.GetBuffer&lt;br /&gt;ms.Close()    'It is good to always close the stream rather than&lt;br /&gt;             ' to leave it for the garbage collector&lt;br /&gt;&lt;br /&gt;The last data-gathering task is to extract the filename from the full path; there is no need to store the entire path in the database:&lt;br /&gt;&lt;br /&gt;Dim strFilename As String = _&lt;br /&gt;   lblFilePath.Text.Substring(lblFilePath.Text.LastIndexOf("\")"+"1)&lt;br /&gt;&lt;br /&gt;This might look a bit complex and convoluted, but all you're doing is indicating that you want a substring of the full path that starts after the last backslash.&lt;br /&gt;&lt;br /&gt;With the filename extracted and the image converted to a byte array, you're now ready to use the ADO.NET practices you've already learned to push these to the database.&lt;br /&gt;&lt;br /&gt;Dim cnn As New SqlConnection(connectionString)&lt;br /&gt;Dim strSQL As String = _&lt;br /&gt;  "INSERT INTO Picture (Filename, Picture)" &amp;amp; _&lt;br /&gt;  "VALUES (@Filename, @Picture)"&lt;br /&gt;Dim cmd As New SqlCommand(strSQL, cnn)&lt;br /&gt;&lt;br /&gt;With cmd&lt;br /&gt;  .Parameters.Add(New SqlParameter("@Filename", _&lt;br /&gt;     SqlDbType.NVarChar, 50)).Value = strFilename&lt;br /&gt;  .Parameters.Add(New SqlParameter("@Picture", _&lt;br /&gt;     SqlDbType.Image)).Value = arrImage&lt;br /&gt;EndWith&lt;br /&gt;cnn.Open()&lt;br /&gt;cmd.ExecuteNonQuery()&lt;br /&gt;cnn.Close()&lt;br /&gt;&lt;br /&gt;As you can see, at this point there is nothing new except the use of the SqlDbType.Image enumeration. Set the value of the @Picture parameter to the byte array, and execute the INSERT statement as you would with any other type of data.&lt;br /&gt;Reading an image&lt;br /&gt;&lt;br /&gt;From this point forward, you're essentially reversing the process. To display an image, you have to convert it from a byte array to an Image, and then assign it to the PictureBox.Image property:&lt;br /&gt;&lt;br /&gt;Behind the ClickImagesInDatabase button, write this code:&lt;br /&gt;&lt;br /&gt;Me.SqlConnection1.Open()&lt;br /&gt;  Me.SqlDataAdapter1.Fill(Me.DataSet11.Pic)&lt;br /&gt;&lt;br /&gt;  With Me.ListBox1&lt;br /&gt;     .DataSource = Me.DataSet11.Pic&lt;br /&gt;     .DisplayMember = "Name"&lt;br /&gt;  End With&lt;br /&gt;  Me.SqlConnection1.Close()&lt;br /&gt;&lt;br /&gt;Choose from the SelectedIndexChanged Event from the Listbox event and write the code in the subroutine body:&lt;br /&gt;&lt;br /&gt;Private Sub ListBox1_SelectedIndexChanged(ByVal sender As Object, _&lt;br /&gt;                                         ByVal e As System.EventArgs) _&lt;br /&gt;                    Handles ListBox1.SelectedIndexChanged&lt;br /&gt;&lt;br /&gt;Dim arrayImage() As Byte =&lt;br /&gt;&lt;br /&gt;CType(Me.DataSet11.Tables(0).Rows(Me.ListBox1.SelectedIndex) _&lt;br /&gt;                                ("Picture"), Byte())&lt;br /&gt;  Dim ms As New MemoryStream(arrayImage)&lt;br /&gt;  With Me.PictureBox1&lt;br /&gt;     .Image = Image.FromStream(ms)&lt;br /&gt;     .SizeMode = PictureBoxSizeMode.CenterImage&lt;br /&gt;&lt;br /&gt;  End With&lt;br /&gt;End Sub&lt;br /&gt;&lt;br /&gt;The SelectedIndex property of the ListBox control is used to to retrieve the contents of the associated Picture field in the DataSet object, which is then explicitly cast to a byte array. Following this, a MemoryStream is created by passing the byte array to its constructor. The last step is to invoke the shared FromStream method to convert the stream contents to an Image, and then assign this to the PictureBox.Image property.&lt;br /&gt;&lt;br /&gt;Note: I have generated DataAdapter and Dataset via a wizard, but you can create the Dataset and DataAdapter objects explicitly and perform the required task.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;About the Author&lt;br /&gt;Fatima Ahmed is a B.S. in Computer Sciences and recently working in VC++ and .NET applications. Her interests include teaching, helping others, travelling, writing articles on different topics and studying more and more.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6850314235614212710-2959455184901221977?l=newbieprogrammer.blogspot.com' alt='' /&gt;&lt;/div&gt;</description><app:edited xmlns:app="http://www.w3.org/2007/app">2008-12-10T06:32:19.162+07:00</app:edited><media:thumbnail url="http://2.bp.blogspot.com/_TMfqSbbL8eo/R9yOhUzKYfI/AAAAAAAAAIo/qUHh7xuMz3M/s72-c/get_image.php.gif" height="72" width="72" /><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">2</thr:total></item><media:rating>nonadult</media:rating></channel></rss>
