Dec 8, 2010

Write Windows Event Log using Command Line

Last week I’ve created this small application using VS 2010, targeted to Microsoft.NET Framework 3.5. It’s a small application with simple code, but it’s very useful to Log your message to Windows Event Log in a DOS Batch file environment.

Click to download EventLogger.exe

It’s very simple to use. See the example below.

image 
To create an event log entry with “Error” flag.

image
To create an event log entry with “Warning” flag.

image 
To create an event log entry with “Information” flag.

SharePoint Open in Windows Explorer Too Slow?

When you try to open SharePoint Library with Open in Windows Explorer feature, sometimes we feel that the process are too slow. This thing is really really frustrating and annoying if you work with bigger files, maybe more than 100 MBs. I’ve found in the internet, couldn’t remember the links, but this is the tips, just turn off the “Automatically detect settings” in LAN Settings in Internet Options. What??? What is that? Here’s the short instructions (for you who don’t know where it is) …

  1. Open your Internet Explorer or Open your Control Panel
  2. Open Internet Options (in Control Panel). From Internet Explorer, you need to browse to the Tools menu before you see Internet Options menu.
  3. Open Connections tab, and click LAN Settings.
  4. Uncheck the Automatically detect settings. Click OK.
  5. You’ve done your job.