RSS feed [root] /weblog /microsoft




login:

password:

title search:




 


Sat Nov 14 00:26:36 HKT 2015

microsoft



(google search) (amazon search)
second
download zip of files only

Mon Apr 24 18:09:36 HKT 2017 From /weblog/microsoft

development


Check why process take a lot of CPU - http://javaeesupportpatterns.blogspot.ca[..]java-thread-cpu-analysis-on-windows.html

Creating Windows Runtime Components in C++ - http://msdn.microsoft.com[..]rary/windows/apps/hh441569(v=VS.85).aspx

dbg_x86 - Offical Windows debugger - http://www.google.com.hk[..]0000FF%3BGIMP%3A0000FF%3BFORID%3A1&hl=en
ntsd - Symbolic Debugger for Windows - http://www.google.com.hk[..]0000FF%3BGIMP%3A0000FF%3BFORID%3A1&hl=en
symchk - verify the .pdb matched your dll - http://www.google.com.hk[..]0000FF%3BGIMP%3A0000FF%3BFORID%3A1&hl=en
windbg - interface from dbg - http://www.google.com.hk[..]0000FF%3BGIMP%3A0000FF%3BFORID%3A1&hl=en

Run windbg.exe and open memory.dmp into windbg (File->Open Crash Dump)

Memory limits of windows applications - http://software.intel.com[..]icles/memory-limits-applications-windows

http://programmers.stackexchange.com[..]s-that-every-developer-should-know-about

Code for creating ISO Image - http://dotnet-snippets.com[..]/create-iso-image-from-cddvd-SID641.aspx

Code for creating virtual drive - http://dotnet-snippets.com/dns/create-a-virtual-drive-SID632.aspx

UnitTest framework for .NET - http://blog.dotnetdude.net/2012/09/net-testing-frameworks.html

Complete example of building a REST base service and GUI on Win8 device - http://www.drdobbs.com[..]icleId=240144594&siteSectionName=windows

Use msvsmon for remote debugging - https://www.google.com/search?q=msvsmon

C# chart library comparison - http://quant.stackexchange.com[..]reate-charts-in-wpf-finance-applications

CLR profiler - http://www.microsoft.com/en-us/download/details.aspx?id=16273

Debugging multi-thread program in VS - http://www.drdobbs.com[..]icleId=240158201&siteSectionName=testing

Walk through the DLL dependence - http://www.dependencywalker.com/

Debugging windows service - http://www.drdobbs.com[..]042?elq=debf26dfe54f4342a26157cc533d8209

How to skip the default init for windows programs - http://www.bigmessowires.com/2015/10/02/what-happens-before-main/

Create executable file by hand - http://www.bigmessowires.com[..]m/2015/10/08/a-handmade-executable-file/

Using var maybe costly - http://www.nimaara.com[..]6/beware-of-the-idictionary-tkey-tvalue/

Performance tuning - https://alexandrnikitin.github.io[..]blog/high-performance-dotnet-by-example/

(google search) (amazon search)


Fri Sep 02 10:33:22 HKT 2016 From /weblog/microsoft

time


Windows timezone - https://technet.microsoft.com[..]en-us/library/cc749073%28v=ws.10%29.aspx

Time precision - http://www.automatedtrader.net[..]/156138/precision-timekeeping-on-windows

(google search) (amazon search)


Wed Aug 10 11:08:10 HKT 2016 From /weblog/microsoft

shell


Environment variable - http://technipages.com/article132.html

Win command cheat sheet - http://www.indrayam.com/archives/systems/000910.php

Windows Powershell tutorial, can work with Excel thought OLE - http://www.ddj.com[..]l?articleID=206900601&dept_url=/windows/

Windows power shell tips - http://www.techrepublic.com[..]ll-commands-you-should-already-know/4031

Overview of 65 CMD commands - http://blog.taragana.com[..]ws-networks-and-systems-in-a-better-way/

GUI development with PowerShell script, with ShowUI - http://www.drdobbs.com[..]gui-applications-in-powershell/240049898

http://superuser.com[..]ackslash-to-escape-characters-in-cmd-exe <- replace '|' by "^|"

scripting the schedule task - https://msdn.microsoft.com[..]y/windows/desktop/bb736357(v=vs.85).aspx

(google search) (amazon search)


Mon Jun 20 09:31:33 HKT 2016 From /weblog/microsoft

system


How to use code to turn off LCD:
 SendMessage(FindWindow(Nothing, Nothing).ToInt32, Me.WM_SYSCOMMAND, Me.SC_MONITORPOWER, 2) 

http://www.dreamincode.net/forums/showtopic148684.htm
http://www.blogsdna.com[..]easeus-partition-master-professional.htm

Control Windows Service

C:\Documents and Settings\carfield>sc
DESCRIPTION:
SC is a command line program used for communicating with the
NT Service Controller and services.

see
http://discuss.joelonsoftware.com/default.asp?design.4.329534

How to check process start time:
 wmic process get caption,creationdate 

http://serverfault.com[..]0369/run-time-of-a-process-in-windows-xp

The overview of NT kernal - http://research.microsoft.com[..]nd/events/wincore2010/Dave_Probert_1.pdf

"I Contribute to the Windows Kernel. We Are Slower Than Other Operating Systems. Here Is Why." - http://blog.zorinaq.com/?e=74

The GetTempFileName method will raise an IOException if it is used to create more than 65535 files without deleting previous temporary files. - https://msdn.microsoft.com[..]rary/system.io.path.gettempfilename.aspx

Look like it is useful to record all keys we use, but first we need to find out our pattern - https://www.autohotkey.com/ http://www.thegeekstuff.com[..]for-windows-productivity-tip2-for-geeks/ http://www.thegeekstuff.com/2016/03/alt-tab-autohotkey/

(google search) (amazon search)



Mon Aug 10 10:44:38 HKT 2015 From /weblog/microsoft

csharp


http://www.philosophicalgeek.com[..]rnative-to-double-checked-locking-lazyt/

http://www.codeproject.com[..]ence-Between-Int-Parse-Convert-ToInt-and

(google search) (amazon search)


Wed Jan 21 23:59:12 HKT 2015 From /weblog/microsoft

utilities


Launchy: The Open Source Keystroke Launcher - http://www.launchy.net/index.php

Recover from register currupt - http://www.windowsdevcenter.com/lpt/a/6643

Introduce a utility to clean up profile and speed up shutdown time (probably more than that) - http://www.intelliadmin.com[..]-windows-takes-so-long-to-shut-down.html

DD for windows - http://sourceforge.net/projects/windd/

Free file recovery - http://www.softperfect.com/products/filerecovery/ http://www.softpedia.com[..]m/Back-Up-and-Recovery/Restoration.shtml

File unlocker: If you get message that don't allow you to open / delete file as it is in use, may be you can use this tool and make it editable / deletable - http://ccollomb.free.fr/unlocker/ Other than that, if you have file name that is too long and cannot be deleted, this tool can help either.

Remote command runner - http://technet.microsoft.com/en-us/sysinternals/bb897553.aspx

Snapit, capture text at screen to clipboard, amazing~ http://www.techsmith.com/screen-capture.asp

Better than [alt + tab] - http://www.blogsolute.com[..]y-to-switch-between-windows-alttab/5779/

Scan disk on xp - http://www.blogsolute.com[..]ive-2010-scan-fix-hard-disk-errors/6074/

ImDisk ( Virtual Disk Driver ) and others - http://www.ltr-data.se/opencode.html/

Watch directory change - http://leelusoft.blogspot.com/2010/07/watch-4-folder-22.html

Virtual Desktop Manager - http://virtuawin.sourceforge.net/

forfile , like "for" in unix - http://technet.microsoft.com/en-us/library/cc753551(v=ws.10).aspx

Recover deleted file - http://www.puransoftware.com/File-Recovery.html

(google search) (amazon search)


Sun Feb 10 11:57:37 HKT 2013 From /weblog/microsoft

bill


Observations on meeting with Bill Gate - http://marginalrevolution.com[..]bservations-on-meeting-bill-gates-2.html

(google search) (amazon search)


Tue Jan 22 13:09:37 HKT 2013 From /weblog/microsoft

performance


Tips for Windows Server 2008 - http://blog.monitis.com[..]e-most-out-of-windows-server-2008-part3/

Some say putting this parameter at boot.ini can enable 3.5 GB memory on 32bit Windows XP [/NoExecute=AlwaysOff /nolowmem /PAE "/3GB /userva=3030"]

Stop system service is not use, http://www.blackviper.com/WinXP/servicecfg.htm and http://www.theeldergeek.com/services_guide.htm and

Enabling DMA - http://windows7themes.net/how-to-enable-dma-in-windows-7.html

Here is NTFS tuning tips: http://www.windowsdevcenter.com/lpt/a/5606

Some more links should check
http://tweaks.com/
http://www.windowsnetworking.com[..]WindowsNTMemorymanagementparameters.html
http://www.pcstats.com/articleview.cfm?articleid=1590&page=11
http://www.pcstats.com/articleview.cfm?articleid=1590&page=9
http://www.pcstats.com/articleview.cfm?articleID=1590


(google search) (amazon search)


Sun Jun 24 17:41:25 HKT 2012 From /weblog/microsoft

azure


Overview - http://www.redmond-recap.com[..]012/06/18/what-is-the-new-windows-azure/

(google search) (amazon search)


Mon May 28 23:15:08 HKT 2012 From /weblog/microsoft

troubleshooting


My friend have a webapp cannot run. The problem is MS sql server service cannot start, and the error message is: "cannot found path specify".

The only hint I have is the database fail to start after scandisk. When I look into the installation path, it is show as: "d:\progra~1\micros~2\mssql", but it should be d:\progra~1\micros~1\mssql. Thus, scandisk in fact may re-generate the 8 characters path for windows file system which will may break some services or programs.

===

Sometime DLL cannot be loaded because there is strong name setting, we can disable it using "sn -Vr" - http://msdn.microsoft.com/en-us/library/k5b5tt23(v=vs.80).aspx


(google search) (amazon search)


Mon May 28 23:13:59 HKT 2012 From /weblog/microsoft

security


A very useful document of how to do more secure access to VNC and may be other SSH server - http://docs.cs.byu.edu/docs/sshtunnels/3.php

Don't login as ADMIN - http://www.codinghorror.com/blog/archives/000891.html#comments


(google search) (amazon search)


Sun May 29 01:16:01 HKT 2011 From /weblog/microsoft

zipfile


Having file name with unicode in a zip file often causing zip file cannot be decompressed. Someone say that winrar able to handle that: http://discuss.joelonsoftware.com/default.asp?joel.3.354545

(google search) (amazon search)


Fri Dec 25 22:51:13 HKT 2009 From /weblog/microsoft

mount


substituting paths on physical and logical drives as virtual drives - http://www.brettbrewer.com/content/view/94/45/ http://en.wikipedia.org/wiki/Subst

(google search) (amazon search)


Tue Sep 15 01:43:25 HKT 2009 From /weblog/microsoft

download


http://www.dkszone.net[..]est-and-free-rapidshare-downloaders.html

(google search) (amazon search)


Mon Sep 14 22:38:41 HKT 2009 From /weblog/microsoft

cygwin


How to let cygwin xwindow work with dual monitor : XWin -multiwindow -multiplemonitors -screen 0 2560x1024 -clipboard -silent-dup-error &


The single greatest resource of cygwin, simple and cover most needed resource - http://www.weiqigao.com[..]steps_to_higher_cygwin_productivity.html

[weiqi@gao] $ head -1 ChangeLog > /dev/clipboard - http://www.weiqigao.com/blog/2004/08/24/1093391695000.html

Open bash at explorer - http://www.weiqigao.com/blog/2004/10/17/1098020474000.html

X server access deny [$ AUDIT: Fri Sep 14 11:06:29 2007: 4108 XWin: client 1 rejected from IP 10.152.209.19] , solution: [xhost +]

How to setup sshd, basically
1) set CYGWIN=binmode tty ntsec
2) ssh-host-config (should done all setup)
2) cygrunsrv -I sshd -P /usr/sbin/sshd (if you like to manually add service)

http://ncyoung.com/entry/389

Cygwin X tutorial - http://jura.wi.mit.edu/bio/education/docs/cygwin_setup.html

(google search) (amazon search)


Mon Dec 29 16:01:20 HKT 2008 From /weblog/microsoft

lock


http://blog.taragana.com[..]-to-lock-your-folder-without-a-software/

(google search) (amazon search)


Thu Oct 16 00:02:29 HKT 2008 From /weblog/microsoft

registry


How is the data structure - http://home.eunet.no/pnordahl/ntpasswd/WinReg.txt

(google search) (amazon search)


Fri May 02 19:00:49 HKT 2008 From /weblog/microsoft

ssh


Map ssh path and winxp drive - http://smithii.com/map_a_network_drive_over_ssh_in_windows

(google search) (amazon search)


Thu Feb 21 19:54:59 HKT 2008 From /weblog/microsoft

office


Increase or Decrease font size - http://www.zeigen.com/shortcuts/2007/06/28/font-size/

Divide in Excel - http://spreadsheets.about.com/od/tipsandfaqs/qt/divide_excel.htm

Default to paste unformatted - http://office.microsoft.com/en-us/help/HA010429611033.aspx

Reference of MS office file type and format - http://www.microsoft.com/interop/docs/OfficeBinaryFormats.mspx

Background of why MS office are so complicate to work with, with some solutions
1) Call office as external service , few details mentioned in the articles
2) Use other format that office support

http://www.joelonsoftware.com/items/2008/02/19.html

(google search) (amazon search)


Tue Jul 10 22:27:25 HKT 2007 From /weblog/microsoft

boot


How windows boot up - http://blogs.msdn.com[..]w-windows-starts-up-part-the-second.aspx

(google search) (amazon search)


Thu Apr 12 00:15:28 HKT 2007 From /weblog/microsoft

monitoring


Using SNMP - http://jroller.com[..]try=monitoring_windows_servers_with_snmp

Or using Windows Powershell - http://www.microsoft.com[..]ogies/management/powershell/default.mspx

registry-tweaks-for-servers - http://www.windowsdevcenter.com[..]6/07/25/registry-tweaks-for-servers.html

A good articles of introducting Windows process monitor - http://www-106.ibm.com[..]loperworks/library/j-memusage/index.html

(google search) (amazon search)


Sat Mar 03 12:36:44 HKT 2007 From /weblog/microsoft

ui



See how to tune cleartype font display

http://www.microsoft.com/typography/cleartype/tuner/1.htm

(google search) (amazon search)


Wed Aug 23 11:30:36 HKT 2006 From /weblog/microsoft

startup


One of the complicate issue of windows is there are so many way to put startup running task, this is a nice article that explain all ot those

http://www.windowsdevcenter.com[..]8/22/how-to-remove-startup-programs.html

(google search) (amazon search)


Thu Aug 17 14:50:16 HKT 2006 From /weblog/microsoft

service


The path is c:\WINDOWS\system32\drivers\etc>

(google search) (amazon search)