Archive for Uncategorized

Searching the Java RunTime for Vista 64-bit

// August 31st, 2007 // No Comments » // Uncategorized

I had a hard time finding the correct JRE for my Vista 64-bit installation. Apparantly it’s not on the Www.Java.Com site, at least I couldn’t find it on the downloads page, and don’t get me started on the automated detection/installation procedure at that site. I had more luck on the Sun-site, follow the path of downloads, category, Java, Java 2 Platform Standard Edition, Latest Release (in the top blue header part) for some reason it redirects me first to the Java 5 downloads, Java Runtime 6 update X and there on the bottom the 64-bit for Windows AMD.

I want to store more items

// January 24th, 2007 // No Comments » // Uncategorized

I’m running Vista and Office 2007. Previously I used Newsgator for all my blogreading, but the new Windows RSS platform in combination with Outlook 2007 brings me the exact same functionality.

It appears that the feeds have a limit for the number of items they can contain, this limit is by default set at 200. That’s not enough for me. You can set the limit by modifying the feed properties, but that would mean I needed to right-click al the feeds (100+) so I needed another way to modify all the feeds. Of course the Windows RSS Platform has an API, so some programming will come to the rescue. I originally thought that this would be an excellent opportunity to delve into Powershell, but it appears that Powershell is not yet available for Vista at this moment :-(

So some JavaScript to the rescue. Run it using cscript, and all feeds will be modified.

  var feedsManager, rootFolder;
  feedsManager = new ActiveXObject("Microsoft.FeedsManager");
  rootFolder = feedsManager.RootFolder;
  iterateFolders(rootFolder);

  function iterateFolders(folder)
  {
    if (null == folder) return;
    var currentFolder;
    var e = new Enumerator(folder.Subfolders);
    for(;!e.atEnd();e.moveNext())
    {
      currentFolder = e.item();
      iterateFolders(currentFolder);
    }
    iterateFeeds(folder);
  }

  function iterateFeeds(feedFolder)
  {
    if (null == feedFolder) return;
    var feed;
    var e = new Enumerator(feedFolder.Feeds);
    for(;!e.atEnd();e.moveNext())
    {
      feed=e.item();
      //feed.MaxItemCount = feedsManager.ItemCountLimit;
      feed.MaxItemCount = 0;
      WScript.Echo(feed.Name + ": " + feed.MaxItemCount);
    }
  }

Update: I previously set the MaxItemcount to the ItemCountLimit (2500), set it to 0 to set it to unlimited

Let’s get started

// July 17th, 2006 // No Comments » // Uncategorized

Back from vacation and ready to go. Welcome on my Blog.

This is the first ever public blog I’m running. Not that this is my first blogpost, I used to work for a company where every employee has his own blog and loved sharing information that way.

I work for LogicaCMG in the Netherlands as a Microsoft Consultant and for the past decade I’ve been building, designing, teaching, presenting and architecting software systems on the Microsoft platform. Starting at VB4 16-bit in 1996 up till the .Net framework 3.0 now and I ain’t gonna quit very soon :-)

 

PHVsPjxsaT48c3Ryb25nPndvb19hYm91dDwvc3Ryb25nPiAtIDwvbGk+PGxpPjxzdHJvbmc+d29vX2Fib3V0bGluazwvc3Ryb25nPiAtICM8L2xpPjxsaT48c3Ryb25nPndvb19hZHNfcm90YXRlPC9zdHJvbmc+IC0gdHJ1ZTwvbGk+PGxpPjxzdHJvbmc+d29vX2FkX2ltYWdlXzE8L3N0cm9uZz4gLSBodHRwOi8vd3d3Lndvb3RoZW1lcy5jb20vYWRzL3dvb3RoZW1lcy0xMjV4MTI1LTEuZ2lmPC9saT48bGk+PHN0cm9uZz53b29fYWRfaW1hZ2VfMjwvc3Ryb25nPiAtIGh0dHA6Ly93d3cud29vdGhlbWVzLmNvbS9hZHMvd29vdGhlbWVzLTEyNXgxMjUtMi5naWY8L2xpPjxsaT48c3Ryb25nPndvb19hZF9pbWFnZV8zPC9zdHJvbmc+IC0gaHR0cDovL3d3dy53b290aGVtZXMuY29tL2Fkcy93b290aGVtZXMtMTI1eDEyNS0zLmdpZjwvbGk+PGxpPjxzdHJvbmc+d29vX2FkX2ltYWdlXzQ8L3N0cm9uZz4gLSBodHRwOi8vd3d3Lndvb3RoZW1lcy5jb20vYWRzL3dvb3RoZW1lcy0xMjV4MTI1LTQuZ2lmPC9saT48bGk+PHN0cm9uZz53b29fYWRfdXJsXzE8L3N0cm9uZz4gLSBodHRwOi8vd3d3Lndvb3RoZW1lcy5jb208L2xpPjxsaT48c3Ryb25nPndvb19hZF91cmxfMjwvc3Ryb25nPiAtIGh0dHA6Ly93d3cud29vdGhlbWVzLmNvbTwvbGk+PGxpPjxzdHJvbmc+d29vX2FkX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