| Narasimha Vedal...'s profileA Glitch in Code Saves N...BlogLists | Help |
A Glitch in Code Saves None DepartmentBioethical Debugging, Trusted Computing and everything in between. |
||||||||||||||||||||||||||||||||||||||||||||||||||||
iFIRE.exeFed up with crashing Search and Replace tool from Funduc guys, I've written my own command line tool. S&R crashes when working on unicode files. I've written iFIRE tool to work on files with different encodings. You can specify search replace terms on command line, or write them all in a script file and pass that to the tool. If you want this tool, you can request me via mail narasimha (dot) vedala (at) gmail (dot) com Below is the help output from the tool (format of the text sucks, sorry for that): =========================================================
Vista Aero design philosophy or a bug?As far as I know, from Windows 2000 onwards, calling MessageBox API with MB_OK, MB_OKCANCEL shows the message dialog with [X] (close, cross)button enabled, while, using MB_YESNO shows it with [X] button disabled. I thought Design Philosophy behind this would be, X button is more or less to dismiss the dialog (which is same as canceling it). While, NO would not exactly mean canceling the dialog and hence X button is disabled. Here is the interesting (or buggy?) part: On Vista, same MessageBox API with MB_YESNO shows dialog with [X] button disabled in non-aero or classic look, while, turning on the AERO effect, we see this [X] button enabled. Nothing happens when we click on it. Is this a bug or Aero design philosophy? only Microsoft can answer. Vista Windows Update - proxy problem solvedProxy servers in our company are pretty old. Windows Update on Vista gives 0x80072eef and other related errors and it was just not working. My previous post explains how to solve this. Basically the lmCompatabilityLevel setting in Vista is higher than what old proxy server support (authentication schemes). Setting this value appropriately makes Windows Update work (you must restart). (Before doing update you must clean update directories: Stop Windows Update Service --delete WINDOWS\SoftwareDistribution folder and WindowsUpdate.log file -- start Windows Update Service.) Getting NETMassDownloader to work behind proxyAfter struggling for few minutes, I added code to NETMassDownloader to provide proxy credentials. Steps: Download NETMassDownloader source from CodePlex. Open the solution in Visual Studio. In DownloadLibrary project open PDBWebClient.cs. In the constructor add the following code: public PDBWebClient() { //... //... base.Proxy = new System.Net.WebProxy(new Uri("webproxyUri")); base.Proxy.Credentials = new System.Net.NetworkCredential("username", "password", "domain"); } Build the solution and run it. It should work without hitches. |
Blogs I read
|
|||||||||||||||||||||||||||||||||||||||||||||||||||
|
|