Darren’s Blog

Think Tank


28 Jun

Change Port for Remote Desktop


If you run multiple RD’s on your LAN, you may need more ports to access these boxes:

Start Registry Editor (Regedt32.exe).
Locate the following key in the registry:
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control
\TerminalServer\WinStations\RDP-Tcp\PortNumber

On the Edit menu, click Modify, click Decimal,

type the new port number, and then click OK.
Quit Registry Editor.


No Response Filed under: Uncategorized
28 Jun

Call function in Popup to Parent


This is a fun one. If you want to call a function in your parent window from a popup:

parent windw:

function test(){

}

in popup:

window.opener.test();


No Response Filed under: Uncategorized
28 Jun

MySQL 5.0


Make sure your SQL table aliases and joins are written correctly. If not, don’t expect to use mySQL 5.0 which is set in Strict Mode by default.


No Response Filed under: Uncategorized