Windows linux Software Super Tips

All Tips For Os & Software

 
Home
Add to Technorati Favorites

How to disable right click on mouse
Friday, February 2, 2007
Start Munu Select Run Type regedit Enter

Move to HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer
From the Edit menu, select New - DWord Value
Enter the name NoViewContextMenu and press enter
Double click the new value and set the value to 1 and click OK
Close the registry editor
Logout and Login again
To remove this, just delete the value NoViewContextMenu
and logout and login again (or set it to 0)
 
แก้ไขปัญหา Nick Karaoke WinXP
Thursday, February 1, 2007

จอสีฟ้าในคาราโอเกะ Pro 4.4

วิธีแก้ปัญหา เมื่อ Double Click ที่ไอคอนของ คาราโอเกะ Pro 4.4 บน DeskTop แล้ว พบว่าจอมืดไปเลย แก้อย่างนี้ครั

1. กดปุ่ม Enter หนึ่งครั้ง รอจนเสียงเพลงบรรเลงดังขึ้น

2. จากนั้นกดปุ่ม Alt ค้างไว้แล้วตามด้วยปุ่ม Enter หนึ่งครั้งเพื่อกลับสู่หน้าจอวินโดว์ XP

3. กดปุ่ม Alt ค้างไว้แล้วตามด้วยปุ่ม Tap อีกครั้งหนึ่ง เพื่อกลับไปที่ Nick Karaoke ตอนนี้หน้าจอยังเป็นสีฟ้าอยู่

4. พิมพ์ชื่อเพลงลงไปเลย แล้วกดปุ่ม Enter เพลงก็จะขึ้นข้อความแล้วเล่นเพลงต่อไป

หมายเหตุ ก่อนเปิด Nick Karaoke ควรเปิดโปรแกรมทุกตัวที่เปิดใช้อยู่

เปลี่ยนภาษาไทยใน Nick Karaoke

กดปุ่ม shift ค้างไว้แล้วกดปุ่ม ~

การจบการทำงานของโปรแกรม

กดปุ่ม Ctrl และปุ่ม Q ค้างไว้ แล้วกดปุ่ม Y
 
php test switch case
Wednesday, January 31, 2007
CODE::
CódigoPHP:
<html>
<head>
<title>WebModular</title>
<metahttp-equiv="Content-Type"content="text/html;charset=iso-8859-1">
</head>

<body>
<tablewidth="100%"border="0"cellpadding="5">
<tr>
<tdcolspan="2">CabeceradenuestraWeb</td>
</tr>
<tr>
<td><ahref="index.php?id=1">Secci?n1</a><br>
<ahref="index.php?id=2">Seccion2</a></td>
<td>
<?
$id=$_GET['id'];

switch($id){
case1:
include("pagina1.php");
break;
case2:
include("pagina2.php");
break;
case3:
include("pagina3.php");
break;
default:
include("pagina_por_defecto.php");
//estadodefault..nosdeterminaelestado
//"sinoesningunaopciondelasanteriores".
}
?>
</td>
</tr>
<tr>
<tdcolspan="2">Piedep?gina</td>
</tr>
</table>
</body>
</html>

Tags: php test switch case
 
Disable Taskbar Windows XP
Tuesday, January 30, 2007
Taskbar

Taskbar - Context Menus - Disable Taskbar Context Menus

This setting removes the context menus (right click on the taskbar) for the system tray, including the Start button, Tab control, and Clock. Open your registry (Start/Run/Regedit) and find the key below. You may need to create the key if it does not already exist.

Create a new DWORD value, or modify the existing value, called 'NoTrayContextMenu' and edit the value according to the settings below.

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer]
[HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer]

Value Name: NoTrayContextMenu
Data Type: REG_DWORD (DWORD Value)
Value Data: (0 = disabled, 1 = enabled)

Exit your registry, you may need to restart or log out of Windows for the change to take effect.

Taskbar - Hide Clock (Notification Area)

This setting allows you to remove the clock from the system tray on the taskbar. Open your registry (Start/Run/Regedit) and find the key below. You may need to create the key if it does not already exist.

Create a new DWORD value, or modify the existing value, called 'HideClock' and edit the value according to the settings below.

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer]
[HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer]

Value Name: HideClock
Data Type: REG_DWORD (DWORD Value)
Value Data: (0 = Show Clock, 1 = Hide Clock)

Exit your registry, you may need to restart or log out of Windows for the change to take effect.

Taskbar - Remove the Toolbars on the Taskbar

This restriction is used to remove all the toolbars, including Quick Launch, from the taskbar. It also restricts the ability to re-enable them. Open your registry (Start/Run/Regedit) and find the key below. You may need to create the key if it does not already exist.

Create a new DWORD value, or modify the existing value, called 'NoToolbarsOnTaskbar' and edit the value according to the settings below.

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer]
[HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer]

Value Name: NoToolbarsOnTaskbar
Data Type: REG_DWORD (DWORD Value)
Value Data: (0 = default, 1 = enable restriction)

Exit your registry, you may need to restart or log out of Windows for the change to take effect.

Taskbar - Remove Notification Tray Items from Taskbar

This setting removes and restricts access to the tray icons normally found next to the clock on the taskbar. Open your registry and find the key below. You may need to create the key if it does not already exist.

Create a new DWORD value, or modify the existing value, called 'NoTrayItemsDisplay' and edit the value according to the settings below.

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer]
[HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer]

Value Name: NoTrayItemsDisplay
Data Type: REG_DWORD (DWORD Value)
Value Data: (0 = default, 1 = enable restriction)
 
php edit vhost and restart apache
Monday, January 29, 2007
Code:vhost.php
<FORMMETHOD=POSTACTION="">
<B>Domain</B> <INPUTTYPE="text"NAME="sn"size="12"value="www."><BR>
<B>Folder</B> <INPUTTYPE="text"NAME="na"size="12"><BR>
<INPUTTYPE="submit"value="add">
</FORM><BR>
<AHREF="reset.php">RestartApache</A>
<?
if($sn==\"\"|$na==\"\"){
echo\"AddDomainByGitem\";
}
else{
$path=\"www\";
$pad=\"/WM\";
$userfile=\"/WM/Apache-2.0.52/conf/httpd\";
$fp=fopen($userfile,\"a\");
fputs($fp,\"
<VirtualHost*:80>
DocumentRoot $pad/$path/$na
ServerName $sn
<Directory $pad/$path/$na>
Options Indexes MultiViews
AllowOverride All
Orderallow,deny
Allowfrom all
</Directory>
</VirtualHost>
\");
fclose($fp);
echo\"$sn Compile\";
}
?>

Code:reset.php
<?php
exec(\"gitem.bat\");
?>

Code:gitem.bat
net stop apache
net start apache
 
Disable Explorer Thumbnail View
If you want disable the Explorer's ability to show the Thumbnail View ,

Start Regedit

Go to
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced\

Change ClassicViewState to 1
 
Stop Password Expiration
If you want to do this for all users, enter:

Start / Run / net accounts /maxpwage:unlimited

Added 3/18/02

If you are getting an error message that your password is about to expire:

Right click on the My Computer icon
Select Manage
Go to Local Users and Groups / Users
Right-click on the user you want to change
Select Properties
On the General tab, check Password never expires
Click OK
 
Search



Previous Post
Archives
Links
    Add to My Yahoo! Subscribe with Bloglines Subscribe in NewsGator Online Add to My AOL Add to Technorati Favorites!
Powered by

BLOGGER

© 2005 Windows linux Software Super Tips
eXTReMe Tracker