Skip navigation

Sign up | Lost password? | Help

INFO

IT & Lifestyle

STICKY POST

Windows XP - PATH Mapping INFO

,

Example local path:

- Operating system: Windows XP
- Profile Name: USER
- Windows directory: C:\WINDOWS

[%APPDATA%] - C:\Documents and Settings\USER\Application Data\

[%COMMON_APPDATA%] - C:\Documents and Settings\All Users\Application Data\

[%COMMON_DESKTOPDIRECTORY%] - C:\Documents and Settings\All Users\Desktop\

[%COMMON_DOCUMENTS%] - C:\Documents and Settings\All Users\Documents\

[%COMMON_FAVORITES%] - C:\Documents and Settings\All Users\Favorites\

[%COMMON_PROGRAMS%] - C:\Documents and Settings\All Users\Start Menu\Programs\

[%COMMON_STARTMENU%] - C:\Documents and Settings\All Users\Start Menu\

[%COMMON_STARTUP%] - C:\Documents and Settings\All Users\Start Menu\Programs\Startup\

[%COOKIES%] - C:\Documents and Settings\USER\Cookies\

[%DESKTOPDIRECTORY%] - C:\Documents and Settings\USER\Desktop\

[%FAVORITES%] - C:\Documents and Settings\USER\Favorites\

[%FONTS%] - C:\WINDOWS\Fonts\

[%INTERNET_CACHE%] - C:\Documents and Settings\USER\Local Settings\Temporary Internet Files\

[%LOCAL_APPDATA%] - C:\Documents and Settings\USER\Local Settings\Application Data\

[%MYMUSIC%] - C:\Documents and Settings\USER\My Documents\My Music\

[%MYPICTURES%] - C:\Documents and Settings\USER\My Documents\My Pictures\

[%MYVIDEO%] - C:\Documents and Settings\USER\My Documents\My Videos\

[%NETHOOD%] - C:\Documents and Settings\USER\NetHood\

[%PERSONAL%] - C:\Documents and Settings\USER\My Documents\

[%PRINTHOOD%] - C:\Documents and Settings\USER\PrintHood\

[%PROFILE%] - C:\Documents and Settings\USER\

[%PROFILE_TEMP%] - C:\Documents and Settings\USER\Local Settings\Temp

[%PROFILEPATH%] - C:\Documents and Settings\USER\

[%PROGRAM_FILES%] - C:\Program Files\

[%PROGRAM_FILES_COMMON%] - C:\Program Files\Common Files\

[%PROGRAMFILES%] - C:\Program Files\

[%PROGRAMS%] - C:\Documents and Settings\USER\Start Menu\Programs\

[%RECENT%] - C:\Documents and Settings\USER\Recent\

[%RESOURCES%] - C:\WINDOWS\resources\

[%SENDTO%] - C:\Documents and Settings\USER\SendTo\

[%STARTMENU%] - C:\Documents and Settings\USER\Start Menu\

[%STARTUP%] - C:\Documents and Settings\USER\Start Menu\Programs\Startup\

[%SYSTEM%] - C:\WINDOWS\system32\

[%USER_RECYCLING_BIN%] - c:\Recycler\S-*

[%WINDOWS%] - C:\WINDOWS\

STICKY POST

Tweaking Settingan Opera

URLFILTER.INI ditaruh disini, bro :

C:\Documents and Settings\username\Application Data\Opera\Opera\profile

http://userjs.org/
user javascript buat opera
http://operawiki.info/OperaPerformance
http://widgets.opera.com/widget/8532/

TAR Archive

, , , ...

tar [parameter] {namafile}.tar.gz
Parameter :
-x means Extract
-v means Verbose (list extracted file)
-f means choose file that want to extract

Decompression
.gz
gunzip {namafile}.gz
.bz2
bunzip2 {namafile}.bz2
(.tar).GZ
tar cvfz {namafile}.tar.gz {folder}
(.tar).Bz2
tar cvfj {namafile}.tar.bz2 {folder}

Repair, Remove Full House VIRUS

[Version]  Signature="$Chicago$"  Provider=Vaksincom Oyee     [DefaultInstall]  AddReg=UnhookRegKey  DelReg=del     [UnhookRegKey]  HKCR, batfile\shell\open\command,,,"""%1"" %*"  HKCR, comfile\shell\open\command,,,"""%1"" %*"  HKCR, exefile\shell\open\command,,,"""%1"" %*"  HKCR, piffile\shell\open\command,,,"""%1"" %*"  HKCR, lnkfile\shell\open\command,,,"""%1"" %*"  HKCR, scrfile\shell\open\command,,,"""%1"" %*"  HKCU, Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced,  HKLM, SOFTWARE\Classes\exefile\DefaultIcon,,,""%1""  HKLM, SOFTWARE\Classes\exefile,,,"Application"  HKLM, Software\CLASSES\exefile\shell\open\command,,,"""%1"" %*"  HKLM, Software\CLASSES\regfile\shell\open\command,,,"regedit.exe "%1""     [del]  HKLM, SOFTWARE\Microsoft\Windows\CurrentVersion\policies\Explorer\Run, Task Manager  HKCU, Software\Microsoft\Windows\CurrentVersion\Policies\Explorer\Run, Manager Task  HKCR, exefile, NeverShowExt  HKCR, CLSID\{10020D75-0000-0000-C000-000000000000}  HKLM, SOFTWARE\Classes\CLSID\{10020D75-0000-0000-C000-000000000000}

Repair Windows XP Troubleshooting

,

Repair Boot Sector (Hard)Disk
Error Message : "Verifying DMI Pool Data"
Solution :
- boot CD Windows and running Restore-console
- for reparation MBR(Master Boot Record)/Table Partition
Type : fixmbr
or
- boot from floppy disk boot (DOS)
Type : fdisk /mbr
- for reparation Boot Sector
Type : fixboot x:
x is your Windows Installation Drive


Menu with Picture (Picture Box Control) - Visual Basic 6

Option Explicit

Private Declare Function GetMenu Lib "user32" ( ByVal hwnd As Long ) As Long
Private Declare Function GetMenuItemID Lib "user32" (ByVal menu As Long, ByVal nPos As Long ) As Long
Private Declare Function GetSubMenu Lib "user32" ( ByVal menu As Long, ByVal nPos As Long ) As Long
Private Declare Function SetMenuItemBitmaps Lib "user32" ( ByVal menu As Long, ByVal posisi As Long, _ ByVal wFlags as Long, ByVal hBitmapUnchecked As Long, By Val hBitmapChecked as Long ) As Long

Form_Load()
Private Sub Form_Load()
Dim menu As Long, submenu As Long, posisi As Long
Dim i As Long, x As Long

menu = GetMenu(Me.hwnd)
submenu = GetSubMenu(menu, 0)
For i = 0 To 2
posisi = GetMenuItemID(submenu, i)
' Use Picture Box control
x = SetMenuItemBitmaps(menu, posisi, 0, CLng(PictureBox1(i).Picture), CLng(PictureBox1(i).Picture))
' Use Image List control
x = SetMenuItemBitmaps(menu, posisi, 0, CLng(ImageList1.ListImages.Item(i).Picture), CLng(ImageList1.ListImages.Item(i).Picture))
Next
End Sub

Command List Shortcut - Run Windows XP

,

Windows XP


Click Start Menu > Run… and type in the command to run


Application = Command

Accessibility Controls = access.cpl
Add Hardware Wizard = hdwwiz.cpl
Add/Remove Programs = appwiz.cpl
Administrative Tools = control admintools
Automatic Updates = wuaucpl.cpl
Bluetooth Transfer Wizard = fsquirt
Calculator = calc
Certificate Manager = certmgr.msc
Character Map = charmap
Check Disk Utility = chkdsk
Clipboard Viewer = clipbrd
Command Prompt = cmd
Component Services = dcomcnfg
Computer Management = compmgmt.msc
Date and Time Properties = timedate.cpl
DDE Shares = ddeshare
Device Manager = devmgmt.msc
Direct X Control Panel (If Installed)* = directx.cpl
Direct X Troubleshooter = dxdiag
Disk Cleanup Utility = cleanmgr
Disk Defragment = dfrg.msc
Disk Management = diskmgmt.msc
Disk Partition Manager = diskpart
Display Properties = control desktop/desk.cpl
Dr. Watson System Troubleshooting Utility = drwtsn32
Driver Verifier Utility = verifier
Event Viewer = eventvwr.msc
File Signature Verification Tool = sigverif
Findfast = findfast.cpl
Folders Properties = control folders
Fonts = control fonts
Fonts Folder = fonts
Free Cell Card Game = freecell
Game Controllers = joy.cpl
Group Policy Editor (XP Prof) = gpedit.msc
Hearts Card Game = mshearts
Iexpress Wizard = iexpress
Indexing Service = ciadv.msc
Internet Properties = inetcpl.cpl
IP Configuration = ipconfig
Java Control Panel (If Installed) = jpicpl32.cpl
Java Application Cache Viewer (If Installed) = javaws
Keyboard Properties = control keyboard
Local Security Settings/Policy = secpol.msc
Local Users and Groups = lusrmgr.msc
Logs You Out Of Windows = logoff
Microsoft Chat = winchat
Minesweeper Game = winmine
Mouse Properties = control mouse
Mouse Properties = main.cpl
Network Connections = control netconnections
Network Connections = ncpa.cpl
Network Setup Wizard = netsetup.cpl
Notepad = notepad
Nview Desktop Manager (If Installed) = nvtuicpl.cpl
Object Packager = packager
ODBC Data Source Administrator = odbccp32.cpl
On Screen Keyboard = osk
Opens AC3 Filter (If Installed) = ac3filter.cpl
Password Properties = password.cpl
Performance Monitor = perfmon.msc
Performance Monitor = perfmon
Phone and Modem Options = telephon.cpl
Power Configuration = powercfg.cpl
Printers and Faxes = control printers
Printers Folder = printers
Private Character Editor = eudcedit
Quicktime (If Installed) = QuickTime.cpl
Regional Settings = intl.cpl
Registry Editor = regedit
Registry Editor = regedit32
Remote Desktop = mstsc
Removable Storage = ntmsmgr.msc
Removable Storage Operator Requests = ntmsoprq.msc
Resultant Set of Policy (XP Prof) = rsop.msc
Scanners and Cameras = sticpl.cpl
Scheduled Tasks = control schedtasks
Security Center = wscui.cpl
Services = services.msc
Shared Folders = fsmgmt.msc
Shuts Down Windows = shutdown
Sounds and Audio = mmsys.cpl
Spider Solitare Card Game = spider
SQL Client Configuration = cliconfg
System Configuration Editor = sysedit
System Configuration Utility = msconfig
System File Checker Utility = sfc
System Properties = sysdm.cpl
Task Manager = taskmgr
Telnet Client = telnet
User Account Management = nusrmgr.cpl
Utility Manager = utilman
Windows Firewall = firewall.cpl
Windows Magnifier = magnify
Windows Management Infrastructure = wmimgmt.msc
Windows System Security Tool = syskey
Windows Update Launches = wupdmgr
Windows XP Tour Wizard = tourstart
Wordpad = write

Easier to Resize/Arrange (Column) Table


Press Alt drag at the ruler.

Structure Class of c++

, ,

class class_name
{
private:
variable declarations;
function declarations; ??
public:
variable declarations;
function declarations;
protected:
variable declarations;
friend function declarations;
}variable a,b,c;

class = a way to binding data and function there have / are related,
allows data & functions for protected from function or data from another class.

Early binding = where does object is bound when processor compile the source code.
Dynamic binding = after processor compile the appropriate function is finished, that might a pointer to object.

Saldo Inheritance

#include <iostream.h>
#include <conio.h>

class pelanggan{
protected:
long saldo;
public:
pelanggan(){
saldo = 0;
}

pelanggan(long bilAwal){
saldo = bilAwal;
}

void tambahSaldo(long bilTambah){
saldo = bilTambah;
}

long cekSaldo(){
return saldo;
}
};

class pelangganVIP:public pelanggan{
public:
void kurangSaldo(long biayaMain){
saldo = saldo - (biayaMain - 0.1*biayaMain);
}
};

class pelangganBiasa:public pelanggan{
public:
void kurangSaldo(long biayaMain){
saldo = saldo - biayaMain;
}
};

void main(){
clrscr();
pelangganVIP p1;
pelangganBiasa p2;
cout<< "Saldo Awal\n";
cout<< "==========\n";
cout<< "Saldo Pelanggan 1: "<<p1.cekSaldo()<<"\n";
cout<< "Saldo Pelanggan 2: "<<p2.cekSaldo()<<"\n";
//--
long besarTambahanSaldo;
cout<< "\nPelanggan tersebut menambah saldo\n";
cout<< "=================================\n";
cout<< "Masukkan besar saldo yang akan ditambahkan Pelanggan 1: ";
cin>> besarTambahanSaldo;
p1.tambahSaldo(besarTambahanSaldo);
cout<< "Masukkan besar saldo yang akan ditambahkan Pelanggan 2: ";
cin>> besarTambahanSaldo;
p2.tambahSaldo(besarTambahanSaldo);

cout<< "\nJumlah saldo masing2 pelanggan\n";
cout<< "==============================\n";
cout<< "Saldo pelanggan 1 : "<<p1.cekSaldo()<<"\n";
cout<< "Saldo pelanggan 2 : "<<p2.cekSaldo()<<"\n";
//--
cout<< "\nPelanggan 1 dan 2 main basket(1500) --pertama\n";
cout<< "=============================================\n";
p1.kurangSaldo(1500);
p2.kurangSaldo(1500);
cout<< "Saldo pelanggan 1 : "<<p1.cekSaldo()<<"\n";
cout<< "Saldo pelanggan 2 : "<<p2.cekSaldo()<<"\n";

cout<< "\nPelanggan 1 dan 2 main basket(1500) --kedua\n";
cout<< "===========================================\n";
p1.kurangSaldo(1500);
p2.kurangSaldo(1500);
cout<< "Saldo pelanggan 1 : "<<p1.cekSaldo()<<"\n";
cout<< "Saldo pelanggan 2 : "<<p2.cekSaldo()<<"\n";
getch();
}
December 2009
M T W T F S S
November 2009January 2010
1 2 3 4 5 6
7 8 9 10 11 12 13
14 15 16 17 18 19 20
21 22 23 24 25 26 27
28 29 30 31