Pages

Saturday, August 28, 2010

Windows Registry Modification

Here are some Windows registries that you can do the modification to get a powerful Windows, specially for Security matters.

All you have to do first, it's DO THE BACKUP !!! Run the regedit.exe and click File menu then EXPORT.
And please remember before you do some modifications, do it with your own risk !

Thursday, August 26, 2010

Using .NET object in Powerbuilder

For all of you who still using Powerbuilder version 9.0 to above, and want to using .NET object, you can try this trick to do that.

You'll need Microsoft Visual Studio (in this case, I'm using version 2005 with .NET 2.0 framework). And also, you must download Interop Forms Toolkit version 2.1 at Microsoft MSDN site.

Tuesday, August 24, 2010

Turn off the autorun of removable drive

Flash Drive, USB Drive, External Hard drive an Memory Card are an easy target for computer viruses entry into the computer system in the PC / notebook of us.

The present computer viruses can infect our system just when you plug the external devices. All could be happen because in the Windows Operating System, there is a technology call Autorun, which make possible to computer or system to run all the applications inside the external disk, automatically.

Monday, August 23, 2010

Twitter with Powerbuilder

Inspired from this article, I trying to made a simple script to post to Twitter from Powerbuilder. All you need is msxml2.dll which located at c:\windows\system32.

And also, you need to create a Twitter's account. Using an OleObject object, try this simple script:

Saturday, August 21, 2010

How to fix Facebook for Blackberry notification

Blackberry just releases the new version of Facebook for Blackberry. The new version is 1.80.49. You can download via Blackberry Application World.

Some of my friends facing that after they downloaded the new version, they didn't receive the online notifications.

Here is the step that may help you if you are facing the same problem above:

Friday, August 20, 2010

Creating Outlook Calendar Appointment with Powerbuilder

Microsoft Outlook is a popular Personal Information Management application. It is part of Microsoft Office package, which many users use it. Fortunately, Microsoft, as the maker Microsoft Outlook, has prepared the SDK to allows programmers to create their own applications that can interact seamlessly into the application Microsoft Outlook

One of the Outlook's feature is Calendar which it make possible to user to create their own schedule and will remind for it. It's very useful for people who has many schedules in their life.

Thursday, August 19, 2010

Microsoft Agent programming with Powerbuilder

According of wikipedia site, Microsoft Agent is a technology developed by Microsoft which employs animated characters, text-to-speech engines, and speech recognition software to enhance interaction with computer users. Thus it is an example of an embodied agent. It comes preinstalled as part of Microsoft Windows 2000 through Windows Vista (it is not part of Windows 7). Microsoft Agent functionality is exposed as an ActiveX control that can be used by web pages.

Powerbuilder function to get business day

The function is to get total business days between 2 dates, it means we ignore the Saturday and Sunday.
The function need 2 parameters to pass with datetime type, called: adt_awal and adt_akhir, and will return Long type.

Array in Powerbuilder

Array is an indexed collection of elements of a single data type. An array can have one or more dimensions. One-dimensional arrays can have a fixed of variable size; multidimensional array always have a fixed size.

In Powerbuilder, any simple variable declaration becomes an array when you specify brackets [] after the variable name. For fixed-size arrays, you specify the sizes of the dimensions inside those brackets.

Wednesday, August 18, 2010

Money in Word function with Powerbuilder

Usually, we must write down the value of money in Invoice Document, to prevent user to cheat the value. Let say, US$ 99,80 will write as Ninety Nine Dollar and Eighty Cent.

This is the function script to write the money value in string.

Monday, August 16, 2010

Powerbuilder Structure

One of Powerbuilder's feature is Structure. Structure is a object which made possible for the programmer to store and passing the parameters in different types.

The example below is to explain how to use Structure in Powerbuilder

Let say, you need to passing 4 parameters which have 3 different data types: string, datetime and decimal, when you open a new window.

Connection String

For every database programmer, Connection String is a MUST term to be remembered. Connection string is one of way to connect to database.

Since we provided by the multi databases type, some times the programmers forget about how to fill the Connection String.

Thursday, August 12, 2010

How to delete recently keyword in Windows Explorer search

In Vista and 7, Windows will store your search keyword that you've typed in a list.





If you want to delete all the recently keywords, you must to this registry tricks.

Tuesday, August 10, 2010

How to disassembly Toshiba Portege M900 - Part 10

Remove Display Assembly
To remove the DISPLAY ASSEMBLY, the Left, Right speakers and the LAN board has to be removed first.

Monday, August 9, 2010

How to disassembly Toshiba Portege M900 - Part 9

Remove Cooling Module

Remove 6pcs x F3 screws



Installing Cooling Module
The sequence of installation is as follows. The screw installing sequences are also marked on the cooling module.


Remove ATi Graphic Card
Remove 2pcs x F3 screws. Card will “pop” up by itself.

CPU grease usage
For CPU and ATi graphic the grey grease can be applied
After removing the CPU or ATI card from the cooling module, wipe the old grease off. Apply with fresh new grease.



Continue to Part 10

Part 1 || Part 2 || Part 3 || Part 4 || Part 5 || Part 6 || Part 7 || Part 8 || Part 9 || Part 10 || Part 11

Friday, August 6, 2010

How to build web application with Powerbuilder 11.5

One of the feature in Sybase Powerbuilder version 11.5 is a native build the application into the web-based. You don't need to change the scripts, you can migrate directly from window based into web-based. All you need are IIS (Internet Information System) and AJAX installed on the computer, and of course Powerbuilder version 11.5

I'll try explain how to build your window based application into web-based. I'm using the sample application which come with Powerbuilder installer, named: Solutions. It should be on : your documents directory with Sybase\Powerbuilder 11.5\Tutorial as sub directory.

How to disassembly Toshiba Portege M900 - Part 8

Wire harness routing on mainboard
There are white lines on the mainboard to assist in routing the wire harness during assemble process.

Thursday, August 5, 2010

Beep Codes on your PC

When you turn on your PC, there's a beep code that usually heard. Each beep code has a meaning.

If your PC run normal, you just hear once short beep only.
If you hear not once short beep, that mean your PC has the problem(s)

How to disassembly Toshiba Portege M900 - Part 7

Remove Mainboard

Overview of mainboard and LAN board

Wednesday, August 4, 2010

How to disassembly Toshiba Portege M900 - Part 6

View Of The TouchPad Button and Fingerprint PCB
Fingerprint PCB is separate from TouchPad Button PCB

TouchPad button and Fingerprint PCB

Monday, August 2, 2010

How to disassembly Toshiba Portege M900 - Part 4

Remove ODD
a. Remove 1 x F3 screw
b. Push ODD from location A, pull the ODD bezel carefully from location B