ASUS Laptop User Manual Books Download

ASUS X54C Manual
ASUS X55 Manuals
X]

ASUS X55 series drivers download for Win XP 32bit

Here are Driver download links for ASUS X55 series laptops this includes X55A, X55C, X55CR, X55Sa, X55SR, X55SV, X55U, X55VD, X55VDR. Drivers for both 32bit and 64bit, Win XP and Win7 are also available. Some of the downloads are of different companies, because asus doesn't provide some drivers for Win XP(both 32bit and 64bit) and Win7 32bit.

1. VGA Driver X55

2. WiFi Driver X55

3. Chipset Drivers X55

4. Audio Drivers X55

5. Bluetooth Drivers X55

6. Ethernet Drivers X55

ASUS U46SV Drivers for Win XP, Win 7-32bit, 64bit

Download required drivers for your ASUS U46SV from the links given below. i've collected them from different manufacturers website. these drivers are tested with ASUS U46SV. They work fine.

U46SV VGA Driver
Size: 23.06 MB

Download: ASUS_VGA_32bit_64bit_XP.rar

U46SV Audio Driver
Size: 30 MB
Download: ASUS Audio Driver


U46SV WiFi Driver for Win_XP
Size: 37 MB
DownLoad: WiFi_Setup_x32.rar

[[Will be updated soon]]

CPP: Detecting and Connecting Bluetooth Devices

#include<Windows.h> #include<BluetoothAPIs.h> #pragma comment(lib,"Bthprops.lib") #define pwd TEXT("012345") int WINAPI WinMain(HINSTANCE hI, HINSTANCE hPI, LPSTR lpCL, int iCS) { BLUETOOTH_DEVICE_SEARCH_PARAMS sp; sp.cTimeoutMultiplier = (UCHAR)(1.28*5); sp.dwSize=sizeof(sp); sp.fReturnAuthenticated = false; sp.fIssueInquiry = true; sp.fReturnConnected = true; sp.fReturnRemembered = false; sp.fReturnUnknown = true; sp.hRadio = NULL; BLUETOOTH_DEVICE_INFO di; di.dwSize = sizeof(di); HBLUETOOTH_DEVICE_FIND hB_DF = BluetoothFindFirstDevice(&sp,&di); if(hB_DF=NULL) MessageBox(0,"An Error Occured","Error",0); char* msg =new char; char* res = new char; for(int i=0; i<=BLUETOOTH_MAX_NAME_SIZE; i++) { res[i]=di.szName[i]; res[i+1]='\0'; } wsprintf(msg,"%s",res); MessageBox(0,msg,"Info",0); DWORD result = BluetoothAuthenticateDevice(NULL,NULL,&di,(PWSTR)pwd,(ULONG)wcslen((PWSTR)pwd)); if(result != BTH_ERROR_SUCCESS){ wsprintf(msg,"Error in Authentication!\n Error Code is: %i",result); MessageBox(0,msg,"Error",MB_OK); return -1; } else { MessageBox(0,"Authenticated","Info",MB_OK); } return 0; }

Submit Forms without Refreshing Page

Using Javascript/jQuery we can submit any form on a webpage directly to required php script and show the result to the user. this can be achieved by using xmlHttpRequest in Javascript, or ajax request of jQuery. Let's see how it is possible: Consider the following form; <form id="post_comment"> Email Id: <input id="mail"/><br/> Password: <input id="pass"/><br/> Name: <input id="name"/><br/> Comment: <textarea id="cmmt"></textarea><br/> <input type="submit"/><br/> <div id="msg"></div> </form> Here the form has no common attributes such as mehod, action,etc. because we will be handling them through javascript or jQuery. Let's see how to Handle the above form using jQuery. Just add a script tag below the form. The code may be like this; <script> $(document).ready(function(){ $("#post_comment").submit(function(e){ e.preventDefault(); email = $("#mail").attr("value"); pass = $("#pass").attr("value"); name = $("#name").attr("value"); text = $("#cmmt").attr("value"); $.post('submit.php',{'email':email,'pass':pass,'name':name,'cmmt':text},function(result){ $("#msg").fadeOut(); $("#msg").html(result); $("#msg").fadeIn(); });})}); </script>

Creating a Stylish Login Form using CSS and JS

stylish login form using css

By the help of CSS/CSS3 now it became easy to design beautiful elements. also by the use of javascript, we can reduce server load by validating user input in client browser itself.

So, here we are going to design a beautiful login form with rounded edges and shadow, hovering and focusing effects, error messages, etc, by the help of CSS and Javscript. without veering off this, look at this example:

<div id="outer_wrap"> <div class="in_wrap"> Username: <input type="text" name="username" placeholder="Username" class="input"/> </div> <div class="in_wrap"> Password: <input type="password" name="password" placeholder="Password" class="input"/> </div> <div class="in_wrap"> Remember: <input type="CHECKBOX" name="remember"> </div> <div class="btn">Login</div> <div class="btn">Password Recovery</div> <div class="btn">Username Recovery</div> <div id="msg"></div> </div> The above code is html source code for login form. this is basic login form. now we have to beautify it by defining it's style using CSS. the style code is given below: <style> #outer_wrap{ border:solid 3px Silver; box-shadow:2px 2px 5px 3px grey; border-radius:5px; margin:10px 0px 10px 0px; padding:10px; postion:fixed; max-width:350px; height:150px;} #outer_wrap div{ margin:3px;} .input{ box-shadow:inset 0px 3px 5px silver; outline:0; border:solid 1px grey; border-radius:10px; padding:2px 2px 2px 10px; width:75%; margin-left:10px; } .input:focus{ } .in_wrap{ } #outer_wrap a{ text-decoration:none; } .btn{ font-size:90%; cursor:pointer; border-radius:5px; border:solid 1px grey; Padding:2px 5px 2px 5px; background-color:silver; box-shadow:2px 2px 3px 1px silver; float:right; } .btn:hover{ background-color:grey;} </style>

Easy WebDesign with Google Chrome

Google Chrome comes with excellent Developer's tool that has essential features. Many users may not observed it. Here i want to explain how to design a web page with Google Chrome's Developers tool. before that you should know how to use this tool and what all the things it can do:

Functionalities:

1. View code of a pericular element by a single click. along with css style information.

2. Excellent Javascript console, which is helpful for debugging

3. Javascript Error Highlighing

4. Resourse viewer

5. Modify Elements and view results in the page itself without reloading

To open this tool just Right Click on the perticular page and select 'Inspect Element' option, OR click 'Settings' Icon and goto Tools>Developer Tools. Here you can see different tabs such as Elements, resources, Network, Scripts, etc. Each section allows you to edit corresponding catagory items. In the elements section, you can edit the whole page.

To modify an element or html tag, just right click and select 'Edit as HTML' and make modufications. at the same time you can see results. You can also add CSS style codes to elements. It has it's own color picker that makes your task easy. after each modification is done, right click on it and copy the code and put it in your file.

Disabling PHP or MySQL Errors Display on Webpages

Showing Errors, Warnings, Notice, etc are very dangerous. because users (surfer) can reveal some secrets (like piece of php code, sql query, path of php file) and this may become helpful for the hackers to hack your site.They are required only when debugging.

Managing these error, warning, etc are very easy in php language. you can use the function error_reporting(). it takes following parameters:

ER_WARNING, ER_ERROR, ER_NOTICE,

By giving any one of the above will enable it. but we want to disable them. so we have to put a '~' symbol (NOT Operation) before them. You can manage multiple items by performing OR operation. The Examples are shown below:

// disable errors error_reporting(~ER_ERROR); // disable notice and warning error_reporting(~(ER_NOTICE | ER_WARNING));

MySQL: Adding Muliple Values Into Single Column in a Query

First we create a table: CREATE TABLE test_table(id INT PRIMARY KEY AUTO_INCREMENT, name VARCHAR(10), value VARCHAR(10)); If we want to add Some Values into "name" column only, then we can use this syntax: INSERT INTO test_table (name) values('name1'),('name2'),('namen'); The conclusion is : each values should be enclosed in seperate brackets, which are seperated by a comma.

In case of inserting into multiple columns, we can change it like this:

INESRT INTO test_table (name,value) values('name1','value1'),('name2','value2'),('namen','valuen');

CPP: Load Icons from dll and drawing them on Window

Loading icons and showing them on the screen is often required in applications. This concept is funny and interesting also.

Icons are loaded using LoadIcon function. LoadIcon function returns Handle to the icon. using this handle we can draw them on the required device context (eg: window). Here we will discuss about drawing standard icons and icons from dlls on the application window.

Standard Icons are those which are defined in windows header file.(eg: IDI_APPLICATION) and the icons which you have added into your project. We can draw them on the window very easily using LoadIcon() and DrawIcon() functions. The Example is given below:
<br /> // after creating window.. (Assuming window handle is: hWnd)<br /> {<br /> HDC reqDC = GetDC(hWnd); // to draw icons on a window.<br /> HICON reqICO = LoadIcon(NULL,IDI_APPLICATION); // Default Application Icon.<br /> DrawIcon(reqDC,10,10,reqICO);<br /> ReleaseDC(reqDC);<br /> }<br />
A very important thing should be noted here is when loading icons that are added to the project, you should use MAKEINTRESOURCE() macro. instead of using them directly like this:
<br /> LoadIcon(NULL,IDI_ICON1); // will cause error.<br />
In the previous code, i didn't used MAKEINTRESOURCE macro because IDI_APPLICATION is already defined as

<br /> #define IDI_APPLICATION MAKEINTRESOURCE(32512)<br />

When loading standard icons, first parameter(hInstance) can be NULL. In case of external files like dll or exe, it is the module handle of that file obtained from LoadLibrary() function.

To load icons from dll files, first load required dll, and then use MAKEINTRESOURCE macro as secound parameter of LoadIcon().

An example of loading all the icons from a dll and showing them in a window is given below:

<br /> #include <windows.h><br /> LRESULT CALLBACK WndProc(HWND, UINT, WPARAM, LPARAM);<br /> void UpdateWindow();<br /> HWND hWnd;<br /> #define PROG_NAME "ICON Loading Example"<br /> int _stdcall WinMain(HINSTANCE hInst, HINSTANCE hPInst, LPSTR lPCmdLine, int nCmdShow)<br /> {<br /> MSG Msg;<br /> WNDCLASSEX wc;<br /> wc.cbClsExtra = 0;<br /> wc.cbWndExtra = 0;<br /> wc.hbrBackground = (HBRUSH)16; <br /> wc.hCursor = LoadCursor(NULL,IDC_ARROW);<br /> wc.hIcon = LoadIcon(NULL,IDI_APPLICATION);<br /> wc.hInstance = NULL;<br /> wc.lpfnWndProc = WndProc;<br /> wc.lpszClassName = "Class_Win";<br /> wc.lpszMenuName = NULL;<br /> wc.style = 0;<br /> wc.cbSize = sizeof(WNDCLASSEX);<br /> wc.hIconSm = LoadIcon(NULL,IDI_APPLICATION);<br /> if(!RegisterClassEx(&wc)) {return 0;}<br /> hWnd = CreateWindowEx(0,<br /> "Class_Win",<br /> PROG_NAME,<br /> WS_OVERLAPPEDWINDOW,<br /> 0,0,<br /> 1300,<br /> 700,<br /> HWND_DESKTOP,<br /> NULL,<br /> NULL,<br /> NULL);<br /> <br /> if (!hWnd) {return 0;}<br /> ShowWindow(hWnd,nCmdShow);<br /> <br /> while(GetMessage(&Msg,NULL,0,0))<br /> {<br /> TranslateMessage(&Msg);<br /> DispatchMessage(&Msg);<br /> }<br /> return Msg.wParam;<br /> }<br /> <br /> LRESULT CALLBACK WndProc(HWND hwnd, UINT Msg,WPARAM wParam, LPARAM lParam)<br /> {<br /> switch(Msg)<br /> {<br /> case WM_CLOSE:<br /> PostQuitMessage(0);<br /> break;<br /> case WM_PAINT:<br /> UpdateWindow();<br /> default:<br /> return DefWindowProc(hwnd,Msg,wParam,lParam);<br /> }<br /> }<br /> <br /> void UpdateWindow()<br /> {<br /> HDC dc = GetDC(hWnd);<br /> HMODULE sh32 = LoadLibrary("shell32.dll");<br /> HICON ic;<br /> <br /> int c=1;<br /> for (int x=10; x<550; x +=35) { for (int y=10; y<1250; y=y+35) { ic = LoadIcon(sh32,MAKEINTRESOURCE(c)); DrawIcon(dc,y,x,ic); c++; } } ReleaseDC(hWnd,dc); FreeLibrary(sh32); }
cpp icons, cpp gdi, cpp win32 gdi,load icons,gui

How to Dissassemble ASUS X54C series laptops

Items Required: Screw drivers kit

Procedure:
. Eject the DVD drive
. Unplug from Power Socket
. Remove Battery.
. Detach the cap of DVD write's tray.
. Find out two screws at the gap, unscrew them.
. unscrew the screws from from the bottom.
. Remove bottom half panel by dragging.
. Now you can see further more screw points as shown in the figure. here you can find your Hard disk drive.

asus laptop repair


. Carefully detach the HDD.

asus laptop repair

. Now Detach your keyboard as shown in the figure. also disconnect keyboard cabel by gently pulling it.
asus laptop repair

. Here also you will find screw points.


asus laptop repair

. Now carefully detach the two cables which are connected to motherboard from touchpad and power button of top panel.
. Now you can remove top panel also. You have dissassembled your laptop!!


Tags: ASUS LAPTOPS, repair laptop, laptop service, upgrade laptop, asus disassemble

ASUS X54C Laptop Drivers for Win XP

please read 'installation_procedure.txt' file before installing any drivers

X54C VGA Driver
Size: 23.06 MB
Download: ASUS_VGA_32bit_64bit_XP.rar
X54C Audio Driver
Size: 30 MB
Download: WDM_R270.exe

X54C Chipset Drivers for Win7 and Vista 32bit
Size: 225 MB
DownLoad: Chipset_Intel_INFUpdate_Win7_32_64_Z9201021.zip

X54C WiFi Driver for Win_XP
Size: 37 MB
DownLoad: WiFi_Setup_x32.rar
[[Will be updated soon]]

C++: How to create and use control items in GUI

In windows, there are various predefined class names which are used to create controls in a window.Using these classes, controls can be created by calling the function CreateWindow() or CreateWindowEx().However some controls require additional things to be known. So i'm here to explain how to create them.

The syntax of CreateWindowEx() function is:

HWND CreateWindowEx(DWORD ExStyle, LPCSTR ClassName, LPCSTR WindowName, DWORD Style, int X,int Y,int Width,int Height, HWND hParentWindow, HMENU hMenu, HINSTANCE hInstance, LPVOID Param);

There are 7 parameters out of 12 which are important to us. Remaining can be set to NULL as shown in following examples.

How to create a Button

HWND hBtn = CreateWindowEx(0,"Button","Button Caption",WS_CHILD|WS_VISIBLE,x,y,Width,Height,hWnd,NULL,NULL,NULL);

How to create Static(Label) control

hLabel = CreateWindowEx(0,"Static","Static Caption",WS_CHILD|WS_VISIBLE,x,y,Width,Height,hWnd,NULL,NULL,NULL);

How to Create Edit control

HWND hEdit = CreateWindowEx(0,"EDIT",NULL,WS_CHILD|ES_MULTILINE|ES_LEFT|WS_VISIBLE|WS_BORDER,x,y,Width,Height,hWnd,NULL,NULL,NULL);

Similarly you can create other controls by giving thier predefined class names as second parameter.

As I told first, there are some expections in creating some controls like ProgressBar and ComboBox.To Create a progress bar you must add "ComCtl32.Lib" to your project. If you are using VC++, you can do it by adding following line:

#pragma comment(lib,"ComCtl32.Lib")

After adding ComCtl32.Lib, you should Initiate it like this.

INITCOMMONCONTROLSEX icc; icc.dwSize = sizeof(icc); icc.dwICC = ICC_PROGRESS_CLASS; InitCommonControlsEx(&icc);

Now you can create ProgressBar using CreateWindowEx() function.

When creating ComboBox, note that height must be greater than 50. Else it won't show dropdown list.

Handling Events, Setting States, and Reading Values.

As we know that WndProc function recieves different messages, these include Events from control items like button, Editbox, combobox, etc. the WndProc function recieves WM_COMMAND message, when control item events are occured. The information about these events can be obtained from WPARAM and LPARAM parameters, by performing bit shifting operations like HIWORD() and LOWORD(). extracting information about events is not same for all events. therefore you have to refer MSDN to know about them.

We can set States of control items by using SendMessage() function. This is reciprocal to the method of handling events.

There we get messages and process them, here we are sending messages. The Syntax of SendMessage() function is:

long SendMessage(HWND,UINT,WPARAM,LPARAM);

First Parameter(HWND) is the handle to the control to which we are sending message.

Second Parameter(UINT) is the message to be sent. and WPARAM and LPARAM should contain Additional Informations.

An Example of Setting ProgressBar's Progress is shown below:

SendMessage(hProgress, PBM_SETPOS, 50, 0);

This will set it's progress to 50% complete state. You can find out more messages in commctrl.h header file, or at MSDN.

To read values from control items like Edit, Combo, etc. you can use SendMessage(), GetDlgItemText(), GetDlgItemInt() etc functions. commonly the Message to be sent is WM_GETTEXT. Here is an example:

char* buff = new char; SendMessage(hEdit,WM_GETTEXT,(WPARAM)10,(LPARAM)buff); MessageBox(0,buff,"Item:Edit",MB_OK);

In the above example Third parameter of SendMessage() indicates the size of data to be read, and last param is the variable that holds the data.

C++: How to show system time and date in Windows

Windows local time and date can be obtained from SYSTEMTIME structure using GetLocalTime() function.

The SYSTEMTIME structure has the following members: wYear, wMonth,wDay, wDayOfWeek,wHour, wMinute,wSecond,wMilliseconds. All members are of type WORD.

The GetLocalTime() function has only one parameter. That is-- pointer to SYSTEMTIME structure. When this function is called, it sets the values to corresponding members. Then we can output them.

The following code shows how we can show running system time, date in the console.

#include<iostream> #include<windows.h> using namespace std; main() { loop: system("cls"); SYSTEMTIME st; GetLocalTime(&st); int hr = st.wHour; char* sfx = new char[3]; if (hr>=12) sfx="PM"; else sfx="AM"; if (hr>12) hr -= 12; cout <<"System Time Information"<<endl <<"Date :"<<st.wDay<<"/"<<st.wMonth <<"/"<<st.wYear<<endl <<"Time :"<<hr <<":"<<st.wMinute <<":"<<st.wSecond<<sfx<<endl; Sleep(1000); goto loop; }

MS-DOS: Switch Off Monitor

Switch off monitor using msdos program given below.
The monitor will be switched off untill some event like mousemove or key press occur.
You can set it to permanent off by calling this program using loop.
[DOWNLOAD MPOWR.ZIP]

Keyboard Shortcuts List

General Shortcuts: ALT+CTRL+ESC - Task Manager ALT+CTRL+DEL - Logon ( user accounts ) screen / taskmanager SHIFT+DEL - Permanent delete file CTRL+DRAG - Copy SHIFT+DRAG - Move ALT+DRAG - Create Shortcut ALT+ENTER - Properties CTRL+ESC - Start Menu WIN+R - Run WIN+M - Minimise/Restore ALT+TAB - Cycle tabs F1 - Help F2 - Rename F5 - Refresh F11 - Full Screen
Text Editor Shortcuts HOME/END - Start/End of Line CTRL+HOME/END - Start/End of page SHIFT+HOME/END - Select upto Start/End of line from that position CTRL+LEFT/RIGHT - Move Cursor between Re_Occuring symbols (ex: space to space)

How to: Command Windows with C

There are lot of programming and scripting languages in this IT world. If considering windows i think, the easiest and interesting code is bat code. It is nothing but series of windows commands. mostly win users first get known about bat codes. That is -- windows commanding.(If write a series of win commands into a file and set it's extension to .bat then it becomes bat file and it can be executed)

There are lot of things that can be done using bat codes. Ex: delete a file, move, copy files,format drives, show message box, end processes, start a program, shutdown, etc

if considering C language, we all know it is strict, and difficult to use. But if we use some system commands with this, it becomes interesting-funny and easy. We can easily execute external programs or commands and show results in console. For example, if we take file reading example, it's becomes little bit lengthy in C. But if we use the command 'TYPE [FILENAME]" from windows, then we can finish it off with a single line!!

In C (or C++) programming, we can execute windows commands ( or commands related to any other OSes) using ' system(); ' function. You have to include the header file 'iostream.h' for this function.

On the basis of this, I've given some examples for you:

Example 1: Shutdown Windows

#include using namespace std; int main() { cout << "\t\t Shutdown Windows \n\n"; cout << "Press any key to shutdown windows"; cin.get(); system("shutdown -r -t 0 -f"); return 0; }

Example 2: Show Special folders path

#include<iostream> using namespace std; int main() { system("echo Temporary Folder is: %temp%\n"); system("echo Windows in installed in: %systemdrive%\n"); system("echo Application data directory is: %appdata%\n"); system("echo The time and date: %time% and %date%\npause"); return 0; } Thus... What? Find out more yourself!!

[ List of Windows Commands with Syntax ]

Photoshop: Design Blended Logos

Open new Empty canvas with transperent background..



Fill background with black colour using Fill tool.
Create a new layer.
Select an area as a Circle using selection tool as shown in the figure.


Select gradient tool and select white color as First colour.
click on 'gradient configure' icon at the tool bar.
set another color as transperent..

Draw gradient from middle to bottom. and release ... ( Shift+ Drag to Straight Line)
Slightly decrease the opacity and Fill of the layer (nearly 70%)

Now copy that layer into two more layers.. ( ALT+Drag to Duplicate Layer)
Rotate them through 60° angle and adjust to suitable position.

Now select Circle Selection tool and Select Required Area as shown.
Then Make Inverse Selection (CTRL+SHIFT+I). And Press Delete Key. It may look like this:


Finally, Select Text Tool, and Select Required Font and write Logo Text.
Adjust to Suitable Transperency. Here is an Example for Final Image:



VBScript: File System Object Examples

1. Show List of drives

Dim oFS, colDrives, d, sDrvLst
Set oFS = CreateObject("Scripting.FileSystemObject")
Set colDrives = oFS.Drives
sDrvLst = ""
For each d in colDrives
sDrvLst = sDrvLst & d.driveLetter & " ( "
If d.IsReady Then
sDrvLst = sDrvLst & d.VolumeName & ")"
End If
sDrvLst = sDrvLst & vbCrLf
Next
MsgBox sDrvLst


2. Copy Files
Dim oFS, sFile_Source, sFile_Dest
Set oFS = CreateObject("Scripting.FileSystemObject")
sFile_Source = InputBox("Enter source file address")
sFile_Dest = InputBox("Enter destination file address")
oFS.CopyFile(sFile_Source, sFile_Dest, 0) ' 0 - Do not overwrite

MS DOS: Mouse click, move and drag

Now It is possible to move mouse pointer using MSDOS, Command Prompt or bat files. All you have to do is download a small program given below:

MouseMan.zip [350 Kb]

Here is how it works:

This program takes many parameters.

MouseMan /move /x:[x] /y:[y] /s[speed]
MouseMan /clickL:[n] /x:[x] /y:[y] /s:[speed]
MouseMan /clickR:[n] /x:[x] /y:[y] /s:[speed]
MouseMan /drag /x:[x] /y:[y] /s:[speed]

/move - move cursor to given coordinates [x],[y]
/clickL and /clickR - LEFT or RIGHT click number of times [n] at given point [x],[y]
/drag - Click and drag from current position to given position [x],[y]
/s - (optional) speed of clicking.


Examples :
1) mouseman /move /x:200 /y:300
2) mouseman /clickL:2 /x:20 /y:30
3) mouseman /drag /x:500 /y:800 /s:50

You have to provide at least three parameters for this program to work.

You may Also Read:
MS-DOS Program to Eject or Close CD-DVD Drives
Windows Commands Reference

How to: Hide or Disable a CD ROM Drive

We can Disable or Hide any drives like CD-ROM, Removable Disk, Virtual Drives, etc from Explorer's Home (My Computer) by this method.
You can Hide Annoying FDD (Floppy Disk Drive) by these steps.
Note that this isn't applicable to Local Drives.
1. Go to 'Properties' of any Drive
2. Click on 'Hardware' tab.
3. Select the required drive
4. Click 'Properties' button.
5. Click on Dropdown List, and then select 'Do not use this device' option.
6. Finish.

Are you a Windows 7 user..? then after 4th step, Click on Drivers tab. then click on Disable button.


We can Enable It any time by Entering 'Properties' of any Local Drive and repeating same procedure.

FIX: Can't open Local Drives in My Computer

This may be due to virus infection. You should search for autorun.inf file in that local drive. When you double click on that drive, it runs another program, instead of opening it. There is an alternate way to open that drive without double clicking. Just type the adress of that drive in the adress bar and press enter. Now that drive opens. Goto 'tools-folder options-view' and click on 'hide protected operating system files' option (disable it). Now you may see 'autorun.inf' file in that folder. Just delete it and restart your computer. But this is not a permanent fix because your pc is infected by a virus. You have to install better antivirus.

Related Contents:
Change Storage device icons using Autorun.inf

Storage Device Maintainance Tips

Performance, Life time, Health of Storage Devices depend on how we use them. Here are some points that are helpful in maintaining them.

* Always try to avoid formatting. It reduces the lifespan. If you must, then go for 'quick format'

* In case of storing large number of very small (<5KB) files, better to compress them into a single zip. This keeps file structure clean, constant perfomance, less defragement, etc.

* Learn how to Protect storage devices from being attacked by virus,trogen,etc. There are mainly two ways to do this:
1. Download and install Panda USB Vaccine in your PC. It disables autorun for your PC, and every time when you plug your USB drive, it fixes autorun for that device also(viruses spread using autorun.inf file from USB)(autorun is a part of windows service).
2. Create a folder named autorun.inf in your USB device. It protects from attack of most of viruses.

* Don't Simply Remove when being used. Just eject by clicking on 'Safely Remove' or 'Eject' option, otherwise sometimes it will be corrupted.

* Defrag every weak or month to get maximum performance..

* Don't forget to remove memory card first, if repairing your handset(removing circuit). Otherwise, it will struck inside it's slot and may crack.

* Always keep them in normal temperature. Don't keep them plugged all time, remove from the PC when not required.

Mobile Trick: How to Save Battery Power

Configuring your mobile in suitable ways help maintaining battery power for extra time. Here are some tips to do so.

1. Enable SLEEP MODE ( in Display settings )
2. Enable POWER SAVER
3. Always use DARK THEMES (less brightness)
4. If your phone supports BACKLIGHT BRIGHTNESS and DELAY adjustment, then adjust them to lowest possible value ( can be found in display settings)
5. Disable VIBRATION
6. If your phone's sound is higher than required, then decrease it. (ringing tone volume, etc).
7. Don't Enable BlueTooth and GPRS if not required.
10. If your phone has side lights, (eg: Nokia 6300) then Disable LIGHT EFFECTS in settings
11. Fully Discharge Phone's battery once Every weak.

Javascript: Show HTML code on a web page

The main problem in showing html code in a webpage is to write &lt; instead of < also &gt; instead of > .

A simple javascript code makes this easy.


<script>
function startReplacer(cls){
e = document.getElementsByClassName(cls);
for (var c=0; c<e.length; c++){
html = e[c].innerHTML;
e[c].innerText = html;}}
</script>


Just call this function [ startReplacer(class); ] with class name of element containing html code as parameter. If there are more than one elements with same class name then better to call the above function at end of web page like this:


<script>
startReplacer("classname"); </script>

Realated Contents:
Get source code of webpage using Javascript
Get source code across domain (any webpage) using Vbscript

VBScript: Fake Virus on Keyboard

Description:

An input box will popup asking you to enter a number(delay). After entering, it will switch all LEDs in keyboard ON and OFF for every 200millisec until the number you entered.


On Error Resume Next
Dim gShell,gRpt,gPmt,gTtl,gDft
Set gShell=WScript.CreateObject ("WScript.Shell")
gPmt="Enter the Delay:"
gTtl="Delay"
gDft="20"
gRpt=InputBox(gPmt,gTtl,gDft)
Do
For i = 1 To gRpt
gShell.SendKeys "{scrolllock}{numlock}{capslock}"
WScript.Sleep 200
Next
Exit

Javascript: Get Source Code of Current Web Page

Description:

1. Get inner Html of 'html' tag using document object
2. Replace all '<' by '&lt;' and all '>' by '&gt;'
3. Print It on the Screen.

Mobile App: Best File Manager in J2ME Platform

Mini Commander is a best file manager for j2me platform mobiles. Because it provides various functions like:

- Audio/ Video Player
- Archive manager
- Powerful Text Editor
- Bluetooth File Manager
- Supports .bat files
- Multi(Split) Screen

Tricks with this app:
- This app can edit/create Nokia themes (nth)
- Copy files from other's mobile via bluetooth

Download link:

[Mini Commander]

How to: Enable or Disable Thumbnails - Win 7

To Disable or Enable thumbnail view,
Click on 'Organize' button.
Go to 'Folder Options'
Un-Check 'Always show thumbnails, never icons' check box.

Thumbnail view is not good for slow computers.

Windows: Extend System Memory using pagefile

Windows OS provides a good option to increase System Memory by using Harddisk. i.e, it act as an Extra RAM.
If you enable this option, windows creates a 'pagefile.sys' file on your HDD. Extra memory is provided by this file.

Some multimedia softwares like Adobe Photoshop require pagefile, if RAM is less than 2GB. otherwise windows will show 'Low Memory' Error.

Managing Pagefile:

1. Go to System Properties.
2. Click on 'Advanced' tab.
3. Go to Performance Settings.

4. Click on 'Advanced' tab. and then 'Change Virtual Memory'



5. Tick the box indicating the automatic management of pagefile. or manually set how much memory has to be set on each drives. Click OK and Restart your Computer.

How to Install certificates to NOKIA for dual signed app support

I've posted articles about 'How to install dual signed apps to NOKIA mobiles' in some other websites.

later on i've recieved some emails asking help in installing certificates. So I'm going to give a simple procedure to do it.

You need to download following files:
1. cetrts_6300.zip
2. OxyCube_Setup

Now follow these steps :

1.Ensure that you have installed required drivers for your mobile else, download them from internet, or just download and install NOKIA PC Suite.
2. Connect your mobile to computer using data cable
3. Open certs_6300.zip and extract all files inside it.
4. Install and Run OxyCube. You will see a messagebox asking to configure connections. Select your mobile and click 'Connect' button.
5. Now go to Sections/File Browser from menu bar.
6. Open the folder "C:/hiddenfiles/certificates/auth". Make a backup of all files inside that folder and then delete all of them.Then Copy all the contents from "certs_6300/auth/" to this folder
5. Similarly do it for 'C:/hiddenfiles/certificates/user' folder.

Now you are done. If it doesn't works, then i suggest try copying certs from others' mobiles using OxyCube. That mobile should be of same model (Eg: Nokia 6300 <=> Nokia 6300).
I think no mobile comes without required certs, but it happens when you flash (installing new software) that mobile. So, you have to backup those certs before flashing

MS-DOS Program to Eject or Close CD-DVD Drives

I found many people asking for cd drive ejecting codes. So i created this program. This Program is useful to Eject or Close CD or DVD Drives using command prompt. It can be referred as an external dos command to do that. It takes two parameteres. The Syntax is:

dvdman [E or C] [DRIVE]

E - Eject
C - Close
DRIVE - Drive Number (For Multiple Drives)

Example:
1) To Eject First(primary) DVD Drive: dvdman E 0
2) To Close Secondary DVD Drive: dvdman C 1


Download:DVDMan.zip [350KB](FREE)

You may also read:
MS DOS Program to Click, Drag and Move the mouse

How to: Remove Blue selection from Desktop Icons

I can guess three reasons for this (type of problem).
1. You may have selected an Animated gif Image as desktop background.
2. You may have changed an option related to Desktop Icon Shadow.
3. You may have selected a linked item (image, link) in a webpage and copied, then pasted it directly on desktop.
(list will update this if i found any other reasons)


If any one of the above is true in your case, then you can try the following:

Case II
1. Goto Sytem Properties (WinKey+Pause Break) and Click on 'Advanced' tab.
2. Goto Performance settings. Here, Click on 'Visual Effects' tab.
3. Look for the option 'Use drop shadows for icon labels on desktop (last but one). Tick this checkbox and click OK.


Case III
1. Goto Desktop properties.
2. Click on Desktop tab.
3. Then click on Customise Desktop button.
4. Click on Internet tab.


5. Here you can see the list of links(if any) associated with desktop.
6. You either remove or disable them.

I think these hints are enough to solve this problem

How to: Protect Gmail account from being Hacked

Few days ago, when i logged into my Gmail account, i saw a notification saying 'Thousands of accounts are being hacked. Click here to make your account more secure'. I clicked that link and followed the instructions.

The plan is : They send a verification code to your mobile number when you are logging into your account. You must enter that code in order to complete login. By this way I got SMS verification codes several times when someone tried to hack my account !!

So, i suggest eueryone to activate this one. It's very easy to do. follow the steps given below:

  • Just sign in to your Gmail Account.
  • Goto google.com
  • Click on 'Account Settings'
  • Click on 2-Step Verification Process(Edit).
  • Enter required informations such as phone number, backup phone number.
  • Also note down some important datas like Backup Codes, which are helpful if you have lost your phone.

HTML: Writing Mathematical Equations

There are few techniques for coding mathematical expressions in html. I am giving out some of them here. We can make use of <sub> and <sup> tags to write simple equations containing powers(squares, qubes) and numbered constants. Here is an example for such equation: a1x2+b2x+c3 = 0
a<sub>1</sub>x<sup>2</sup>+b<sub>2</sub>x+c<sub>3</sub> = 0
For Squres and qubes , you can use &sup2; and &sup3; codes instead of using <sub> tags. Moving on to Fractions, we face problem in arrage numerator and denominators in required position. This can be solved if you make use of html tables. For Example

y = x.tanθ - gx²

u²cos²θ

The above formula is purely written in HTML using table. Source Code:

Note: In HTML, in some cases, such as in tables, no closing tags are required.

Change Icons, Version Informations, etc of an EXE File

Every Exe (software) file contains some resources such as icon, bitmap images, avi animations,Version Informations, etc. These can be edited, extracted or replaced using 'Resource Hacker'.

Open 'Resource Hacker'. Then open required exe file with Resource Hacker. then focus on the key named 'ICON'.
if you want to change existing icon, then expand that key and right lick on the icon. then click 'Replace resource..'.
Then select the icon you want and then click File>save.
If you want to insert a new icon, then you have to click on Action>Add a new Resource. Then Open Required Icon,
In 'Resource Name' feild, Enter 1033 and press Enter. then Click File>Save. Similarly you can change or insert other resources.

How to: Start Windows with Safe Mode

'Safe Mode' is very helpful in troubleshooting critical errors.
In Safe Mode, Virus activity is very less, because, no software can start itself unless commanded by user. Also it helps us in modifying software configurations like, startup programs, anti viruses etc which cannot be done in normal mode.

To Start windows with safe mode, press F8 button on your keyboard before windows booting starts. It will show various options along with 'Safe Mode', 'Safe Mode with Networking' Options.

How To Add 'Safe Mode' option to Windows XP Boot Menu


Open Command Prompt
Type the following:
cd /d %systemdrive%\
echo multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Windows XP - Safe Mode" /safeboot:minimal>>boot.ini
echo. >>boot.ini

This will Add the lines coming after 'echo' to your 'boot.ini' file.
Note: Make Sure that last line of your 'boot.ini' file is similar to the code which you are adding. For example, if your 'boot.ini' shows 'partition(2)' then it means that XP is installed in Second Partition. Then you have to change your code.

Easy Screenshot without any Software.

If you want to take a screenshot of current screen, then you have to do is just press 'Print Screen' button in Keyboard and open Paint and press Ctrl+Paste. Now you can see the screenshot image in paint window. And then.. Do whatever you want..

PS: This trick is applicable to all OS

Hidden Server Settings in Opera Mini

In addition to usual setting, opera mini provides a hidden settings menu, which is known as Power user Settings. To open this, just type 'opera:config' in address bar and press ok. Now it will show Power User Settings Screen. Here you can see following adjustments:

Large placeholders
for images

Should the colored
placeholder rectangles for images (used when
not loading images) keep the original image size?

Fit text to screen
If disabled, text will no longer be fit to your phone screen, making it much harder to read.
Loading timeout
If a webserver does not send any data in this many seconds, the loading will be aborted.
Site patches and user-agent masking
Enables site patches and user-agent masking.
Keep styling in RSS feeds
If enabled, most CSS/HTML styling will be kept in feed articles.
Show feedindex
Show a list of pagefeeds at the top of the page
Fold linklists
Should the transcoder proxy try to detect long lists of links in mobile view, and if one is found, fold it into a single line that can be expanded?
Phone number detection
Should text that looks like phone numbers be converted to phone number links?
Minimum phone
number length

If telephone number detection is enabled, a number will need to be at least this long to be
considered to be a
phone number

Use bitmap fonts for complex scripts
If enabled, text written with complex scripts will be rendered on the
server instead of in
your device.

How to: Convert a file into System file

System files have some special characteristics.
Sometimes it is necessary to convert a normal file into system file, for example, If you want to set a background photo to a folder, then you have to create a 'desktop.ini' file, which must be converted into system file in order to make it working.
Procedure:
First open cmd prompt.
Change pointer to required path using cd command.
Eg: cd /d c:\

Use this Command to convert your file:
attrib +s
Eg: attrib +s desktop.ini

If you want to hide that file, just use this command instead of above:
attrib +s +h

Shorthand: attrib +s +h "c:\desktop.ini"

Autorun.inf: Change Storage Device Icon


Without any software, you can do this. It also applies to DVDs and CDs.... First create an inf file using notepad. It should be like this(copy it) :


[autorun]
icon=NameofIcon.icon


Now save it as 'Autorun.inf'.
Put both files together in the required storge device. and re-insert it. or restart windows. If you want to do it for a DVD or CD, then while burning, add these files together.

Remember:

  • The name and extension must be exact.It shouldn't be in 'txt' format.
  • Autorun.inf file must NOT be kept in any folders. It should be in main Disk itself.

BSNL: How to use Internet Apps like Opera Mini

How to use Internet Applications like Opera Mini

The following steps guide you how to make it working in NOKIA (apn setting)

  • Settings / Configuration / Personal Config. Sett.
  • Options / Add New / Access Point
  • Set Account Name (any).
  • Access Point Settings / Bearer Settings / Packet data acc. pt
  • Important: Now give any of these value: bsnlnet, bsnllive (OR for others service providers, put corresponding APN. Examples: airtel- airtelgprs.com, idea- internet, vodafone- www
  • Goto Settings / Configuration / Preffered acc. pt and confirm that your acc.pt is selected. Else, Activate it.

Now goto applications like opera mini, ucbrowser, Facebook and enjoy..!

(You can use similar method to other Handsets)

Command Prompt: Quick Format Storage Devices

Format Devices Quickly Using Command Prompt

The syntax is :


Format /Q X:

Here X indicates drive letter. and /Q is one of the parameters of format command, which makes it quick.

Eg: If you want to Format D: drive, just change it to Format /Q D:

You can make it further simple using bat file.


@echo off
echo Enter Drive Letter and Press Enter.
set /p ltr=
echo You are about to format %ltr% drive.
Pause
Format /Q %ltr%:
echo Format Compleated.
Pause

Command Prompt: To Hibernate Windows

Hibernate Windows using Command Prompt

In fact there is no direct command (internal) to Hibernate Windows. However, you can hibernate through Command Prompt or bat files.

This method uses a basic dll (powerprof.dll) function.

By calling this function through command prompt - using rundll32 command, you can do it.

Here is the command:

Rundll32 powerprof.dll,SetSuspendState

Related Contents:

Search and delete files using Command Prompt
Create Thousands of folders in a second (bat looping example)
Hide Files inside Files (Multi-Extension Files)

VBScript: Get Source Code of a Web Page

This method will work only in Internet Explorer. Also, this is only the way to get cross-domain source code. However, you can use this code externally also.


<script type="text/vbscript">
Dim url, src, http
Set http = ObjCreate("winhttp.winhttprequest.5.1")
http.open("GET",url)
http.send()
src = http.Responsetext
document.write('<textarea>'+src+'</textarea>')
</script>

If you want to use this code externally, then you should save it as name.vbs. But you should remove the last line. Instead, you can try alternate ways like msgbox, filewrite, etc to show the output. For example, replace last line by this:

MsgBox(src)

This will show the source code directly in a messagebox.

CSS: Creating Beautiful Buttons with Hovering Effect

The CSS Buttons are most commonly used in websites, because of their unique features such as Hovering Effect, Color settings, borders, opacity etc. Buttons have vital role in attracting users. So they should be designed properly. Here i'm going to explain step by step about how to create Stylish Beatiful and attractive buttons using CSS.

Step 1:
Simply Create a DIV using >div< tag and give an id or class name.
Step 2:
Now just create a simple css style code that points out your button's style.
Step 3:
Also create another css style that sets the style of button during Mouse Hover.
Step 4:
Now you can define your own styles one by one to each of them.
Step 5:
To Create a border, Use the following code:
border:style top right bottom left color;
where,
style can be one of the following: solid, dotted, dashed
color is color name or color-code
remaining 4 are thickness of border in 4 sides.
Step 6:

Click Me!!

bat code: Search and delete files

DEL [FILENAME] /S /Q /F Use the above command to delete all files (name should be given) in a directory tree. The [FILENAME] can be replaced by directory name or asterisk. If you put asterisk instead, then it will delete all the files. You can try also like this: *.ext filename.* file*name.* *name.ext this will delete any file, that contains any other words in the place of *. Note that this command will not delete folders. To delete folders, you can use 'rd' command.

VBScript: Mount Folders as Virtual Drive

This VBSCript code is based on basic windows command

SUBST [X:] [A:\B\]

X is Drive Letter. A:\B\ indicates Folder Mounting. There are many other ways to do this, I'll publish them here later.

Method 1:
Use this VBScript code:

You may also like: VBSCript Speaker using sAPI.SPVoice object
Get Html source code of any webpage using vbs
Key board Lights fake virus using vbs

Tags: vbs virtual drive, vbs mount

VBScript: Speak out the Contents of Text File.

Here is a VBScript Code using SAPI and FileSystem object, to Read Contents of a text file, and then Convert it into Audio

On Error Resume Next
Dim gh, gFile, gFso, gData
Set gFso = CreateObject("Scripting.FileSystemObject")
gFile = InputBox("Enter The
File Name to Read","Ebook Reader","Exmple.txt")
Set gh = gFso.OpenTextFile(File,1,True,0)
gData = gh.ReadAll
WScript.CreateObject
("SAPI.SPVoice").Speak gData

Vbscript: Run a Program

Description
1. Asks Name of the program/command to run
2. Runs that Program.
3. If Program name is not given, then Execution stops.


On Error Resume Next ' Skip Errors
Dim gProg, gWS, gAsk, gStyle, gTitle, gCheck ' Variables Declaration

Set gWS =WScript.CreateObject ("WScript.Shell") ' WScript Object
Do ' Start Looping
gProg = ""
gProg = Inputbox("Enter The Name of The File", "Run", "cmd") ' Get Name of Program from User
If gProg = "" Then WScript.Quit
gWS.Run gProg
Loop

Hide Files Inside Files!!

I can say it simply as merging two files into another file, whithout making them unreadable.

You can use such files by opening it with corresponding softwares. For example, if you hide an Archive file in a PDF file, then you can Access Files inside that using WinRAR, or Read It it using PDF Reader

Here is an Example :
1. Create a rar file(archive). Add some files to it. keep it in a folder. Now bring a pdf file into that folder.
2. Now open Command Prompt and bring the pointer to that folder by cd command.(cd /d "folderpath")
3. Now type the command given below:
copy /b "file1.ext1"+"file2.ext2"
"output.ext"


By pressing Enter you have been created that special file.
To test it, Right Click on that file and select "Open With" and then select "WinRAR". You can see the files in it. Also you can open the same
file in PDF reader by double clicking on it and you can read that pdf file.




using this trick you can create so many types of files containing another file(s) in them.
For example: pdf in jpg(photo), songs in jpg.

Javascript: Add 'Read More' Links to Articles

This type of Setting in your article body is very helpful to show entire article without reloading whole page. It maintains simplicity of your blog.

There is an easy way to add 'Read More' Link to your posts. Look at this Example:



Post Heading

Small Description about this post

Read More


The Result may be like this:

Post Heading

Small Description about this post

Read More



You may also read:
Hide Navigation Bar from your Blog
Javascript: Avoid Repeated use of HTML Tags
Create Stylish Active Buttons in CSS
Javascript: Get Source Code of Current Web Page
How to sho HTML codes on a webpage

js div, read more link, web design

Blogger Trick: Delete Navigation Bar from your Blog

Wanna delete Blogger's navigation bar at the top of your blog?

Just go to Design->Edit HTML. Then search for 'CDATA' part.

Here you will find CSS Codes. In between these just paste the code given below: Then Click 'Save Template' Button. You are done!!

css, blogger tricks,