Category Archives: Programming tips

Tips about programming technique

Các Design Patterns trong lập trình hướng đối tượng

(Bài viết này được viết dựa trên kinh nghiệm thực tế + tham khảo “Gang of Four”) Trong lập trình hướng đối tượng nói chung, các design pattern được phân chia làm 3 loại: – Creational patterns – Structural patterns … Continue reading

Posted in .NET, Java, Programming tips | Tagged , , | Leave a comment

Error “The requested opreation requires elevation” while installing a program

You got the error “The requested operation requires elevation” while trying to install a program on your computer. Cause: The advanced User Access Control (UAC) introduced in the more recent operating systems like Windows Vista, Windows 7, Windows 2008 & … Continue reading

Posted in Programming tips | Leave a comment

Resolve error while install/uninstall SQL server Express 2005: Failed to load sqlspars.dll

1. By REGEDIT tool: open HKLM\Software\Microsoft\Microsoft SQL Server\90\Bootstrap 2. View the parameter WYukonBootstrapDir (it seems to be Local Settings\Temp in your profile) 3. Copy there sqlspars.dll from c:\program files\microsoft sql server\90\setup bootstrap to the path that is the value of … Continue reading

Posted in Programming tips | Tagged , , | Leave a comment

Access to shared folders on network which credential authentication required

The advantage of this method is that you can login to any shared resource regardless same domain or not. You will not also need to impersonate to any account. All you need is just to put this code in (C# language) into the top … Continue reading

Posted in .NET, Programming tips | Tagged , , | Leave a comment