MotoWilliams

dot this & dot that

  Home  |   Contact  |   Syndication    |   Login
  7 Posts | 0 Stories | 8 Comments | 4 Trackbacks

News

The views expressed on this weblog are mine and do not necessarily reflect the views of my employer.

All postings are provided "AS IS" with no warranties, and confer no rights.

Archives

Post Categories

A+ Blogs

Biztalk / Windows WF

PodCasts

WebSphere MQ

Saturday, June 10, 2006 #

Technorati Profile

Wednesday, May 31, 2006 #

Looks like for once the code name for a product is not as cool as the actual product name. The "Data Dude" as it was called is going CTP June 11th.

http://msdn.microsoft.com/vstudio/teamsystem/products/dbpro/default.aspx

Sunday, February 12, 2006 #

So I have been using the generated WMI Classes from the Management (WMI) Extensions for Visual Studio .NET 2003 Server Explorer to build yet another version of a Suspended Queue Listener for when Biztalk Suspeneds a message in our FIFO solution. Anyway I ran into snag after the event fires. I get the suspended instance id without a problem but when I use the GetInstances with a SerivceInstanceID clause I only get one message, even when the suspended instance could have 2 or more messages suspended within it.

Here is the snippet:

 

  const int Zombies = 16;

  ServiceInstance.ServiceInstanceCollection serviceInstances = ServiceInstance.GetInstances( String.Format( "ServiceStatus='{0}'", Zombies ) );

 

  foreach ( ServiceInstance SuspendedInstance in serviceInstances )

  {

 

    MessageInstance.MessageInstanceCollection messageInstances = MessageInstance.GetInstances( String.Format( "ServiceInstanceID='{0}'", SuspendedInstance.InstanceID ) );

 

    foreach( MessageInstance SuspendedMsg in messageInstances )

    {

      Console.WriteLine( SuspendedMsg.MessageInstanceID );

    }

 

  }

 

Anybody have any ideas?


Wednesday, August 10, 2005 #

At the moment I am a little to busy working on a current bug with the MQ Adapter for Biztalk 2004 so I haven't had time to fire up a virtual server image of Pathfinder yet.  Has anyone out there had a chance to use it?  I've also posted in the Beta Newsgroup but no one there has either used it or replied yet.  If you have used it what kind of through put, as in messages per second, are you getting when configured to use FIFO on the send adapter?

Tuesday, August 09, 2005 #

Why oh why does it take so darn long to load a list of Artists or Albums in My Music Application of Media Center? Come on iTunes stores it's library as an XML file and you have a binary library file. Seems to me the sort of performance argument between XML and Binary serialization - only backwards.

Monday, August 08, 2005 #

I've been using SyncBackSE for quite a while now and I'm almost embarrassed on how much I love this little thing. I use it to keep my music in sync between my Media Center PC and my two portable USB hard drives. I don't have too much music , only about 7600 songs, but it is such a pain to remember which tags have been updated on which drive when I go into my tag clean up frenzies which is a requirement of Media Center to have all your music diplayed in the My Music section. I also use it to keep my work laptop's data files and my local source code snippets backed up to my home drive at work. Saves me tons of time on my 4 to 5 month repaving schedule!

Now it looks like Microsoft has a similar tool on the way with SyncToy. Although I don't understand what they were thinking naming a function 'echo'...

Windows Media Center has to have the Album Artist tag set in order to show up in the My Music module of Windows Media Center. Since this is driven by the Windows Media Player library those tags need to set there. Unfortunately for me almost none of those tags were set in my library so it was time for some scripting:

Dim Artist
Dim AlbumArtist
Set objPlayer = CreateObject("WMPlayer.OCX" )
Set objMediaCollection = objPlayer.MediaCollection
Set colSongList = objMediaCollection.getByAttribute("MediaType", "Audio")
For i = 0 to colSongList.Count - 1
Set objSong = colSongList.Item(i)
Artist = objSong.getItemInfo("Artist")
AlbumArtist = objSong.getItemInfo("WM/AlbumArtist")
if Artist <> AlbumArtist then
wscript.echo objSong.Name
Wscript.Echo Artist & "=" & AlbumArtist
wscript.echo
objSong.setItemInfo "WM/AlbumArtist", Artist
end if
Next