Skip to content
Winston Lee

Winston Lee

  • Home
  • Blog
Winston Lee
Winston Lee

Development

C Sharp | Development

Note on capturing value of a variable in an anonymous function

Extraction from “C# programming language 4th edition” When not captured, there is no way to observe exactly how often a local variable is instan-tiated: Because the lifetimes of the instantiations are disjoint, it is possible for each instantiation to simply…

Read More Note on capturing value of a variable in an anonymous functionContinue

Development

How To: Remove a Project from Source Control in Visual Studio

To (permanently) remove a project or solution from source control 1.      In Visual Studio, click File, click Source Control, and then click Change Source Control. 2.      In the Change Source Control dialog box, select the project and/or solution you want to remove from source control, and then…

Read More How To: Remove a Project from Source Control in Visual StudioContinue

C Sharp | Development

How to cope with designer errors in Visual Studio

From time to time, when you have some errors in your controls, Visual may just stop responding altogether and forces you to restart without any indicator on what happened and how to fix it. To overcome this, there is two…

Read More How to cope with designer errors in Visual StudioContinue

Development | Java

Debug on Android device

I once thought I just have to plug the device in, install all the driver and when it appeared in ADT’s device window I can just start debugging; but sadly this is not the case. Here’s a very informative guide…

Read More Debug on Android deviceContinue

C Sharp | C++ | Development

Why specifying the call type when performing P/Invoke is important

I was working on a C# project that required interaction between unmanaged and managed code. It’s nothing complex, just calling various functions in a DLL through a wrapper class, then I hit this exception: Strange thing is, this “stack unbalanced”…

Read More Why specifying the call type when performing P/Invoke is importantContinue

Desktop | Development

A quick review of Microsoft SQL Server object types

Tables are the source of your data Views are transformations of data. They are usually used to combine information from multiple tables, but they can’t have parameters in them, so they are not what to use if you want to…

Read More A quick review of Microsoft SQL Server object typesContinue

Desktop | Development

Pointers to defeat EAP

This post servers as kind of a note to myself 🙂 EAP stands for extensible authentication protocol. It may be used in 802.11x connections to provide a secure connection. My school currently uses this to provide internet access to various…

Read More Pointers to defeat EAPContinue

C Sharp | Development

Remove empty lines in Visual Studio

This will remove empty lines and lines with blank characters (space, tab, …) only

Read More Remove empty lines in Visual StudioContinue

Development

Direct download link for flash player

I hate it when I get the “Flash player needs updating” message nowadays. I have to go to Adobe’s site and install some clumsy “download manager” (an ActiveX control for IE, or an add-on for Firefox) that doesn’t even support…

Read More Direct download link for flash playerContinue

Development | Java

Java snippets of the day

Palindrome test import java.util.Scanner; public class PalindromeTest { static boolean isPalindrome(String source) { // Trivial case if (source == null) return false; // We ignore case when checking for palidrome String toTest = source.toLowerCase(); // We start at the two…

Read More Java snippets of the dayContinue

Page navigation

Previous PagePrevious 1 2 3 4 5 Next PageNext

I’m an English / Vietnamese / Korean speaking software solution provider living in Korea

Get In Touch

To reach me, please use the contact form

Scroll to top
  • Home
  • Blog