Can’t believe that I’ve spend the weekend watching the Matrix Trilogy. Back in those days when “The Matrix” was released in 1999, and followed by “Matrix Reloaded” and “Matrix Revolution” both in 2003, apart from enjoying the action, CG and FX, I have limited clue to knowing exactly clear or what was really happening behind the story. [Read more…]
Archives for December 2007
Break and Continue Statements in VB.NET
I was developing with VB.NET and it feels so natural to exit a loop using the “break” statement, but unfortunately VB.NET doesn’t have the “break” statement. “Continue” still works as it’s meant to be but in order to have a C equivalent of “break” in VB.NET, you will have to use the “exit” statement.
ExtJS: Cool Javascript Library
If you have been digging your head long enough into Javascript, you probably had heard of prototype and scriptalicious by now. They are by far two of the most popular javascript libraries and together build cool effects and enhance usability. Considering adding this into your portfolio of exisiting javascript libraries – ExtJS [Read more…]
Anti Spam Strategy
I have been managing my websites and having seperate emails for each different domain. The bad thing about emails is that you are faced with the possibilities of getting spam emails from spammers. And let’s be honest, those spammers are not stupid people, and they know how to use whatever proxy or blackbox they have back in their underground secret tunnel to send us their useless piece of garbage in their best possible ways [Read more…]
Enable Scroll Mouse Wheel Support in Visual Basic 6 IDE
By default, the VB6 IDE doesn’t have support for wheel mouse scrolling, and you will actually need to press the up and down button on your keyboard or the scroll bar of the VB6 IDE itself to browse throguh the code. This can be quite tedious and unproductive if you’re dealing with a large piece of code with hundreds and thousands of line. [Read more…]
VB6: Write Better Code with Option Explicit
In Visual Basic 6, you can use a variable in code without declaring it, sometimes also known as implicit declaration. While it can be useful in some ways, it’s certainly not a good way of making sure that each variable exists and are being used where and when you want it to be used.
If you include the Option Explicit statement in a module, then VB will require explicit declarations for all variables in that module. Any misspelled variables, instead of being created as a new variable with a type of Variant which will happen if you’re using the implicit declaration mode, are now flagged as syntax errors when you try to run the program, and then you can make the necessary corrections. Place the Option Explicit statement at the start of each module (before any procedures). You can make this automatic by selecting Tools | Options and and selecting the Require Variable Declaration option.
Most Useless Property For Sale Advertisemt
This is by far the most ridiculous property for sale advertisement that I’ve ever seen (click here). What for taking pictures of trees and grass when you’re actually selling a property!? The sales agent must be joking or he/she might be just better off selling a farm or orchard yard.
How To Reset Rapidshare and Megaupload Download Timer
Rapidshare and Megaupload are both popular online file storage provider. Thanks to that, lots of software, movies, comics and animes are hosted with them which attracts lots of downloaders due to their contents.
As a user, you can choose between the premium or free account to download these files. Usually, people just choose the free option. But the problem is that there are limits and usually you have to wait between files if you are downloading large ones. [Read more…]
Firehouse Subs Expanding, Taste Better than Subway
Firehouse subs were one of the tastiest food that I’ve ever had when I was travelling to Huntsville, Alabama for a training in October. In a short period of 2 weeks, I had been there 4 times just to try the different variety of subs that they offered, and of course, their HOT sauces! [Read more…]
SCRIPT or IFRAME Tags
Both <script> and <iframes> are HTML tags. However, there are some differences between them:
– IFRAME tags are recommended if you are coding them directly to your page. IFRAMEs load independently of the page and that means faster page load times. The major drawback of IFRAMEs is that it does not support expandable rich media, combo tags or contextual networks (such as Adsense or YPN).
– Script tags are recommended if you are placing them in any other adserver or as a default in another network interface. Script tags supports expandable rich media, combo tags and contextual networks (such as Adsense or YPN). They will work fine when coded to the webpage, but they sometimes cause a minor lag for the user who’s loading the web page since it’s loaded inline with the page.
However, so far, this site has only Google Adsense which uses the <script> tag. Millions of people are using Google Adsense to monetize their website and the side-effect of that minor lagging time in serving script tag is pretty negligible.