12 Juni 2012

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

11 April 2012

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"
su -c "setprop net.dns2"
su -c "setprop net.pdp0.dns1"
su -c "setprop net.pdp0.dns2"

sumber : di sini

Semoga berhasil

19 Maret 2012

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.

03 Januari 2012

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

RegSvr32 C:\progra~1\common~1\micros~1\dao\dao350.dll

25 November 2011

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(
curl_setopt($ch, CURLOPT_POSTFIELDS, $post);
$response = curl_exec($ch);
notice the @ infront of the file path, this is the magic part.

Most Trending