Category Archives: Technical

Decompiling Powershell CmdLet Code


Many of us are involved in writing scripts, be it for development or testing or deployment. We make use of different scripting languages. One of them is Powershell. As the name suggests, it’s really powerful. You can accomplish so many … Continue reading

Posted in Powershell, Technical | Tagged , , , , , , | Leave a comment

Activation error occured while trying to get instance of type Database, key “” | EntLib


The title of this post may sound a bit strange for those who have not faced this problem but it may sound a Sweet Tune Music 🙂 to those who want to resolve this nasty error in their application. If … Continue reading

Posted in .NET | Tagged , , , , , | 4 Comments

Task Scheduler in C#.Net


This article describes a way to create the Scheduled tasks in a system pro-grammatically for Windows Vista, Windows 7 etc Operating Systems using C#.NET language. Windows operating systems, though, already provide a User Interface to see a complete list, to … Continue reading

Posted in .NET, Technical | Tagged , , , , , | 20 Comments

Playaround with an address of object reference variable


Well, rarely you will have to find an address of a variable in C#.NET. Though C#.NET allows use of pointers but anyone hardly use them. .NET base library and Compiler have done a beautiful job, abstracting the complex use of … Continue reading

Posted in .NET, Common Technical Problems, Technical | Tagged , , , , , , , , , | 4 Comments

How to Reference or use same fully qualified class name from different assemblies


Two or more different assemblies can contain a type with a same name and same namespace. What will happen if you reference those assemblies in your project? Well, referencing won’t result into any error. 🙂 But. How about making an … Continue reading

Posted in Common Technical Problems | Tagged , , , , , , , , , | Leave a comment

Customize or Override core.js file functions in Sharepoint


Core.js JScript file located @ 12 or 14 hive , depending upon the SharePoint version installed on a system, provides several in-built javascript functions. This is an out-of-box aka OOB sharepoint file. [12/14 hive is @ %PROGRAMFILES%\Common Files\Microsoft Shared\Web Server … Continue reading

Posted in Javascript, Sharepoint, Technical | Tagged , , , , , , , , , | Leave a comment

Setting Custom Permission Levels in Sharepoint Programmatically


Before going into How part, lets first understand What is a Permission Level (known as Site Groups prior to WSS 3.0) in Sharepoint? Why do we need it? What is a Permission Level? It is a group or set of … Continue reading

Posted in Sharepoint, Technical | Tagged , , , , , , , , , , | Leave a comment

XSLTListViewWebpart in Sharepoint 2010 Uncovered


Successor and much more powerful webpart than Dataform or ListViewWebpart provided in Sharepoint 2010, yes, that’s true. As mentioned in msdn, it handles view rendering for lists which can be document libraries as well as announcements. As the name suggests, … Continue reading

Posted in Sharepoint, Technical | Tagged , , , , , , , , , , , , , , , , | 26 Comments

How to read or write excel file using ACE OLEDB data provider?


This article describes the way to read or write into the excel workbook(or a file, used interchangeably) pro-grammatically using C#.NET language and ACE Oledb data providers by Microsoft. This covers the following topics: System Requirements Development Environment Versions of Excel … Continue reading

Posted in .NET, Technical | Tagged , , , , , , , , , , , , , , | 44 Comments

Modify App Configuration while running application , C#.NET


Each application has it’s own configuration file, be it a windows based application or web based. This application configuration file defines information which can be used by application to make decisions, to load some other information or may contain the … Continue reading

Posted in .NET, Technical | Tagged , , , , , | Leave a comment