Welcome to DetlefGrohs.com Sign in | Join | Help

Wednesday, September 26, 2007 - Posts

Glad that I have an XBox360

There is much to be thankful for lately if you have an XBox360. I am still trying to complete BioShock on hard for the achievement and then I will have to go through one more time to get the last achievements that I am missing. I am also putting a lot
posted by detlef | 0 Comments
Filed Under:

WriteToLog Code Snippet

A quick method to write a message to the Event Log. I use this when I can't use the Logging Application Block or when I just need to a quick message in the event log when debugging an issue. public static void WriteToLog(string message, EventLogEntryType
posted by detlef | 0 Comments
Filed Under:

GetWebPage Code Snippet

I use the following method to get a web page as a string for processing. private static string GetWebPage(string requestURL) { HttpWebRequest request = (HttpWebRequest)WebRequest.Create(requestURL); request.UseDefaultCredentials
posted by detlef | 0 Comments
Filed Under:

Adding a Lookup Field to a SharePoint 2007 List Code Snippet

This code snippet will add a lookup field to a list in SharePoint 2007. Change the false in the AddLookup call to true if you want to make it a required field. I will be posting a long post on how to add or modify any field type through the API in SharePoint.
posted by detlef | 0 Comments
Filed Under: