2009/08/20

Watch DLL Function Names

1. Start -> All Programs -> Visual Studio 2005 -> Visual Studio Tools -> Visual Studio 2005 Command Prompt
2. type "dumpbin /exports [path\filenames.dll]"
!

2009/08/19

Dynamic Link Library (DLL)

From Wikipedia,

Dynamic-link library (also written without the hyphen), or DLL, is Microsoft's implementation of the shared library concept in the Microsoft Windows and OS/2 operating systems. These libraries usually have the file extension DLL, OCX (for libraries containing ActiveX controls), or DRV (for legacy system drivers). The file formats for DLLs are the same as for Windows EXE files — that is, Portable Executable (PE) for 32-bit and 64-bit Windows, and New Executable (NE) for 16-bit Windows. As with EXEs, DLLs can contain code, data, and resources, in any combination.

In the broader sense of the term, any data file with the same file format can be called a resource DLL. Examples of such DLLs include icon libraries, sometimes having the extension ICL, and font files, having the extensions FON and FOT.

!

2009/08/18

Remove Advertisement from Gmail in FireFox

Opera / Firefox User:
1. Install add-on stylish.
2. Select "write new style" option, and add the following code to build a css file.

RemoveGmailAd.css
.ii.gt,.ii.gt *{font-size:14px !important;line-height:1.5 !important}
/*Hide Advertisement*/
table.T1HY1.nH.iY{width:100% !important;}
table.Bs.nH.iY td.Bu:last-child{display:none;}
/*Hide Quick Action*/
table.T1HY1.nH.iY td.tELAdc:last-child{/*position:absolute !important;top:-65px !important;left:0 !important;*/display:none}
table.T1HY1.nH.iY td.tELAdc:last-child .nH{width:auto !important}
table.T1HY1.nH.iY td.tELAdc:last-child .hk{float:left !important;margin-left:1em !important;}
/*Hide Sending Invitation to Friends*/
.nH.pp.ps .pY{display: none !important;}


!

2009/08/14

HashTable vs. HashMap

Both provide key-value access to data. The Hashtable is one of the original collection classes in Java. HashMap is part of the new Collections Framework, added with Java 2, v1.2.

1. The key difference: Access to the Hashtable is synchronized on the table while access to the HashMap isn't. You can add it, but it isn't there by default.

2. Iterator in the HashMap is fail-safe while the enumerator for the Hashtable isn't. If you change the map while iterating, you'll know.

3. HashMap permits null values in it, while Hashtable doesn't.


2009/08/13

Java Beans

From Wikipedia,

JavaBeans
are reusable software components for Java that can be manipulated visually in a builder tool. Practically, they are classes written in the Java programming language conforming to a particular convention. They are used to encapsulate many objects into a single object (the bean), so that they can be passed around as a single bean object instead of as multiple individual objects. A JavaBean is a Java Object that is serializable, has a nullary constructor, and allows access to properties using getter and setter methods.
!

Model View Controller (MVC)

From Wikipedia,

Model–view–controller (MVC) is an architectural pattern used in software engineering. The pattern isolates business logic from input and presentation, permitting independent development, testing and maintenance of each.

An MVC application is a collection of model/view/controller triplets (a central dispatcher is often used to delegate controller actions to a view-specific controller). Each model is associated with one or more views (projections) suitable for presentation (not necessarily visual presentation). When a model changes its state, it notifies its associated views so they can refresh. The controller is responsible for initiating change requests and providing any necessary data inputs to the model.

MVC is frequently and needlessly convoluted by tying it directly to a graphical user interface. That a controller is often driven indirectly from a GUI is incidental. Likewise, rendering views graphically is an application of MVC, not part of the pattern definition. A business-to-business interface can leverage an MVC architecture equally well.


2009/08/12

MySQL Visualized Client - HeidiSQL

Official Site: http://www.heidisql.com
!

cmd - MySQL Login

Start -> Run -> cmd
-> mysql -u user -p
-> password
!

2009/08/07

VM - Copy and Paste between XP Desktop and XP on Virtual Machine

1. Start installed Windows XP on VM
2. VM -> Install VM Tools
3. Install VM Tools and reboot XP on VM
4. Copy and Paste is set up
!

Run Command - Event Viewer

Start -> Run -> eventvwr.msc

Watch Local Event:
Application Error Records,
Security Audit Records,
System Error Records,
Custom Log Records,
...
!

2009/08/04

cmd - Show IP Address

Start -> Run -> cmd -> ipconfig
!

Run Command - Open Regedit

Start -> Run -> regedit
!

Google Analytics

Blog Archive

Followers