howto

How to reveal password which is hidden behind asterisks


Win *

edit box

Typical case is for example when password is forgotten for dial up connection (and when moreover password is not secret).

If Delphi's winspy32 utility is installed, open it and in object

How to hide account in logon window


WinXP

Windows

XP

Any account may be hidden in logon window when DWORD zero, named as account being hidden, is created in key: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\SpecialAccounts\UserList.

How to disable CapsLock


WinXP

system

XP

Any key can be disabled or remapped using HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Keyboard Layout key and binary value "Scancode map", see http://www.microsoft.com/whdc/device/input/w2kscan-map.mspx.

In this case:

"00 00 00 00 00 00 00 00 02 00 00 00 00 00 3A 00 00 00 00 00"

Scancodes:

Key                 Scancode
[^]                 29 00
[1]                 02 00
[2]                 03 00
[3]                 04 00
[4]                 05 00
[5]                 06 00
[6]                 07 00
[7]                 08 00
[8]                 09 00
[9]                 0A 00
[0]                 0B 00
[ß]                 0C 00
[´]                 0D 00
[Q]                 10 00
[W]                 11 00
[E]                 12 00
[R]                 13 00
[T]                 14 00
[Z]                 15 00
[U]                 16 00
[I]                 17 00
[O]                 18 00
[P]                 19 00
[Ü]                 1A 00
[+]                 1B 00
[<]                 2B 00
[A]                 1E 00
[S]                 1F 00
[D]                 20 00
[F]                 21 00
[G]                 22 00
[H]                 23 00
[J]                 24 00
[K]                 25 00
[L]                 26 00
[Ö]                 27 00
[Ä]                 28 00
[Y]                 2C 00
[X]                 2D 00
[C]                 2E 00
[V]                 2F 00
[B]                 30 00
[N]                 31 00
[M]                 32 00
[,]                 33 00
[.]                 34 00
[-]                 35 00
[Enter]             1C 00
[Shift] left        2A 00
[Shift] right       36 00
[Ctrl] left         1D 00
[Ctrl] right        1D E0
[Alt] left          38 00
[Alt] right         38 E0
[Num Lock]          45 00
[Backspace]         0E 00
[Tab]               0F 00
[Caps Lock]         3A 00

Nemuric pad:

[7]                 47 00
[4]                 4B 00
[1]                 4F 00
[8]                 48 00
[5]                 4C 00
[2]                 50 00
[0]                 52 00
[*]                 37 00
[9]                 49 00
[6]                 4D 00
[3]                 51 00
[,]                 53 00
[-]                 4A 00
[+]                 4E 00
[Enter]             E0 1C

How activate "Fast Web View" options


Ghost script

8.14

PDF document that has been generated by Ghostscript has not got Fast Web View feature activated. This feature is also known as linearized or optimized PDF.

In Ghostscript (>6.20?) does exist Ghost\gs8.14\lib\pdfopt.bat batch that optimizes already existing PDF document.

Note that in Ghost\gs8.14\lib\gssetgs.bat must be configured correct Ghostscript pathes.

Example script pdfopt_self.bat that will optimize a PDF file that can be executed for example from Total Commander start menu using %P%N parameters:

@echo off
if "%~x1/" == ".pdf/" goto doit
if "%~x1/" == ".PDF/" goto doit
if "%~x1/" == ".Pdf/" goto doit
echo File name is not a PDF file %1
exit /B
:doit

Cannot map remote disk on SAMBA server


WinXP

Windows

XP

First change key HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\netlogon\parameters "RequireSignOrSeal"=dword:00000001 to dword:00000000 (http://us1.samba.org/samba/ftp/docs/Registry/WinXP_SignOrSeal.reg).

Cannot map remote disk


WinXP

Windows

XP

Connection of a notebook (guest, non-domain) failed - cannot map shared resources of a computer in domain. (NET USE X: \\REMOTE\C$)
  1. add remote machine name to hosts
  2. add new notebook address in LAN range (it switches card to promiscuite mode, reboot required), now ping should work
  3. add WINS server of LAN
  4. RESTART cmd.exe (cmd.exe does not accept changes)
  5. NET USE X: \\REMOTE\C$ /USER:remote_user

"Error: incomplete setup Check Phone number" when establishing GPRS connection via IrDA


Palm OS

IrDA

When establishing GPRS communication via IrDA and mobile (Siemens S55) error "Error: incomplete setup Check Phone number" or "PPP timeout error" are raised. Log says that the error occurs at random place during PPP communication. IrDA transmiters probably interfere each other, they are sending in the same time. Solution: change script as noted bellow (Wait for: OK):

How to change synchronization folder


Win *

Pocket Mirror/Hosync

It's necessary to change in registry key "HKEY_CURRENT_USER\Software\U.S. Robotics\Pilot Desktop\Core" the value of "Path".

Either BOF or EOF is True, or the current record has been deleted. Requested operation requires a current record


Win *

Delphi 5/ADO

5

This error is raised when attempting operation on ADO dataset. There is mistake in ADODB.PAS libary. Patch is available at http://info.borland.com/devsupport/delphi/mdac26.html. Or compare procedure TCustomADODataSet.InternalClose; with D6.

Bad encoding of some central-european chars


Win 9x/NT/2000

Outlook

2002/XP

Error: emails sent from Outlook has unreadable (bad code page) particular characters, that are diferent in ISO-8859-2 and Windows-1250 code pages. Change of code page does not help.

There was no code page information in received email headers similar to: