Installing Classic ASP on Windows Server 2008 or Windows Server 2008 R2

  1) Click Start, point to Administrative Tools, and then click Server Manager. 2) In the Server Manager hierarchy pane, expand Roles, and then click Web Server (IIS). 3) In the Web Server (IIS) pane, scroll to the Role Services section, and then click Add Role Services. 4) On the Select Role Services page of …

Continue reading ‘Installing Classic ASP on Windows Server 2008 or Windows Server 2008 R2’ »

Using Bookmarks and Ask fields in Word

1) Click to place cursor somewhere in the beginning of the document and select Insert –> Bookmark   2) Assign name (use letters, not digits) and click Add   3) Select Insert –> Quick Parts –> Field –> Ask and select bookmark name   4) Insert Prompt and Click OK   5) Click in document …

Continue reading ‘Using Bookmarks and Ask fields in Word’ »

BackUp using Scheduler and VBScript

Create vbs file: Dim objFSO Const OverWriteFiles = True Set objFSO = CreateObject(“Scripting.FileSystemObject”) objFSO.CopyFile “C:\Users\kent\Documents\*.xlsx”, “\\NAS_Name\Public\Documents\BackUp\” objFSO.CopyFile “C:\Users\kent\Documents\*.xls”, “\\NAS_Name\Public\Documents\BackUp\” objFSO.CopyFile “C:\Users\kent\Documents\*.doc”, “\\NAS_Name\Public\Documents\BackUp\” objFSO.CopyFile “C:\Users\kent\Documents\*.docx”, “\\NAS_Name\Public\Documents\BackUp\” objFSO.CopyFile “C:\Users\kent\Documents\*.pdf”, “\\NAS_Name\Public\Documents\BackUp\” objFSO.CopyFolder “C:\Users\kent\Documents\OneNote Notebooks” , “\\NAS_Name\Public\Documents\BackUp\OneNote Notebooks” , OverWriteFiles objFSO.CopyFolder “C:\Users\kent\Documents\Tips og tricks” , “\\NAS_Name\Public\Documents\BackUp\Tips og tricks” , OverWriteFiles WScript.Echo “Doc BackUp performed” — Then create a Scheduled …

Continue reading ‘BackUp using Scheduler and VBScript’ »

Change DNS using bat-file

E.g. change to UnblockUS DNS servers: netsh interface ipv4 add dnsserver “Wireless Network Connection” address=208.122.23.22 index=1 netsh interface ipv4 add dnsserver “Wireless Network Connection” address=208.122.23.23 index=2 Where “Wireless Network Connection” is the name of the active network adapter:

PHP Session error

How to Fix: Warning: session_start() [function.session-start]: Cannot send session cache limiter. Don’t save your UTF-8 files with BOM as it creates problems. Notepad++ has a menu item to select encoding UTF-8 without BOM. Textastic seems to add BOM, but the developers says it should not.

Filed under PHP