­

Assembly ‘X’ could not be uninstalled because it is required by another application

0 Comments
Remove the keys from following location in registry then you can now uninstall them from the GAC.Step 1:Goto - Start - Run -RegeditStep 2: HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Installer\Assemblies\GlobalStep 3 :delete the class name as in assemblyStep 4:Uninstall from assembly ...

Continue Reading

Naming Conventions for .NET / C# Projects

0 Comments
Reference URL : http://www.akadia.com/services/naming_conventions.html Capitalization Styles Defined We define three types of capitalization styles:Pascal caseThe first letter in the identifier and the first letter of each subsequent concatenated word are capitalized.Example:BackColor, DataSetCamel caseThe first letter of an identifier is lowercase and the first letter of each subsequent concatenated...

Continue Reading

Downloading xml data from web server and reading in C#

0 Comments
Help URL: http://msdn.microsoft.com/fr-fr/library/system.net.webresponse.getresponsestream(VS.80).aspx // Create a 'WebRequest' object with the specified url. WebRequest myWebRequest = WebRequest.Create("http://phoenixswsolutions.com/app.xml"); //Credentials for accessing the information myWebRequest.Credentails = System.Net.CredentailsCache.DeafultCredentails; // Send the 'WebRequest' and wait for response.WebResponse myWebResponse = myWebRequest.GetResponse(); // Obtain a 'Stream' object associated with the response object. Stream ReceiveStream =...

Continue Reading

Creating Custom Editor Part for Sharepoint Webpart

0 Comments
Referred from URL:http://sharepointconsultant.blogspot.com/2009/04/creating-custom-editor-part-for.htmlWhat is Editor part and why do we need them?Well for this question to answer, basically all webparts will have a property pane when we select modify this webpart. This tool/property pane allows to set properties to webparts.Now what if we need to customize this property...

Continue Reading

Running operating system inside a Virtual PC with specific date/time

0 Comments
Manually change the .vmc file:The .vmc files contain the configuration of each virtual machine.You have to make 2 changes in the right .vmc file:A. Disable the time synchronization:Under the following mouse configuration:trueAdd this:falseB. Set the desired date/time:You have to find the time_bytes value inside the .vmc file, which...

Continue Reading