How to change a column without dropping a table in SQL 2008

In SQL Server 2008, go to Tools >> Options. In the little window, click "Designer". Uncheck "Prevent saving changes that require ..." source : stackoverflow
Baca Selanjutnya - How to change a column without dropping a table in SQL 2008

Trick buat internet yg suka putus karena DNS Mati

Download aplikasi Terminal Emulator pada Google Play
kemudian ketik mantra2 berikut :

su -c "setprop net.dns1 8.8.8.8"
su -c "setprop net.dns2 8.8.4.4"
su -c "setprop net.pdp0.dns1 8.8.8.8"
su -c "setprop net.pdp0.dns2 8.8.4.4"

sumber : di sini

Semoga berhasil
Baca Selanjutnya - Trick buat internet yg suka putus karena DNS Mati

Resolve "Microsoft JET Database Engine error '80004005'

To resolve this problem on an IIS 7.0 Web server that is running on Windows Server 2008 or Windows Vista with SP1 or later versions, follow these steps:

1. Click Start, click All Programs, click Accessories, right-click Command Prompt, and then click Run as administrator.
2. When you are prompted for an administrator password or for a confirmation, type the password or click Continue.
3. Type the following command, and then press ENTER:
icacls %SystemDrive%\Windows\Temp /grant Users:(CI)(S,WD,AD,X)

Note This command enables every user to create files and directories in the temporary directory.
4. Type the following command, and then press ENTER:
icacls %SystemDrive%\Windows\Temp /grant "CREATOR OWNER":(OI)(CI)(IO)(F)

Note The user who creates a file or a directory in the temporary directory is the CREATOR OWNER. The CREATOR OWNER access control entry grants a user complete control over the file or over the directory. Other users cannot access these files and directories because they are not the CREATOR OWNER.
Baca Selanjutnya - Resolve "Microsoft JET Database Engine error '80004005'

Solution for Runtime Error 429 : ActiveX Component Can't Create Object

RegSvr32 C:\progra~1\common~1\micros~1\dao\dao350.dll
Baca Selanjutnya - Solution for Runtime Error 429 : ActiveX Component Can't Create Object

Uploading a file using Curl in PHP

Source : dtbaker.com

$ch = curl_init();
curl_setopt($ch, CURLOPT_HEADER, 0);
curl_setopt($ch, CURLOPT_VERBOSE, 0);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_USERAGENT, "Mozilla/4.0 (compatible;)");
curl_setopt($ch, CURLOPT_URL, _VIRUS_SCAN_URL);
curl_setopt($ch, CURLOPT_POST, true);
$post = array(
"file_box"=>"@/path/to/myfile.jpg",
);
curl_setopt($ch, CURLOPT_POSTFIELDS, $post);
$response = curl_exec($ch);
?>
notice the @ infront of the file path, this is the magic part.
Baca Selanjutnya - Uploading a file using Curl in PHP