Loading user information from Channel 9

Something went wrong getting user information from Channel 9

Latest Achievement:

Loading user information from MSDN

Something went wrong getting user information from MSDN

Visual Studio Achievements

Latest Achievement:

Loading Visual Studio Achievements

Something went wrong getting the Visual Studio Achievements


dotnetjunkie dotnetjunkie
  • Programming the Task Scheduler from .NET

    BTW, I know of this: http://www.codeproject.com/KB/cs/tsnewlib.aspx, but that's for the old 1.0 API.
    For the new project that I'm starting (that will only be deployed on WS2008), I'd prefer to use the new API of course...
    I really hope something is available for managed code?

  • Programming the Task Scheduler from .NET

    Does anyone know of any good resources, documentation or sample code of how to leverage the power of the new Vista / Windows Server 2008 Task Scheduler from .NET applications?
    (Preferably with some VB.NET code.)

    Is there a class in the .NET framework 3.0 / 3.5 to program against the task scheduler?

    A lot of applications need some sort of scheduling, and it seems to me that it would be better to use the robust and extensive framework that the OS offers for this, instead of trying to roll your own.

  • ASP.NET 2.0 databinding to webservice

    This is driving me crazy!

    I developed a very simple webservice, just one webmethod that returns a datatable.

    Then, in my ASP.NET 2.0 website, I added a web reference to this webservice, and used the ObjectDataSource to databind the results to a DataList. 
    So far so good, everything works like a charm on my dev machine.

    BUT when I put this website online, it doesn't work anymore!!!

    When using Eval("FileName") in the DataList I get the following error:

    System.Web.HttpException: DataBinding: 'Webmedia.GetImagesResponseGetImagesResult' does not contain a property with the name 'FileName'.

    Webmedia is just the name I gave to the web reference, and GetImages is the name of the Webmethod that I call in the Webservice.
    FileName is one of the fields in the DataTable that the webservice function returns.

    When using Container.DataItem("FileName") the error changes to:

    System.MissingMemberException: No default member found for type 'GetImagesResponseGetImagesResult'.

    Again, no matter which technique I use, it works perfectly when I run the website on my local Windows 2003 server.
    (it doesn't matter whether I run the webservice online or locally as well, it works both ways)
    Only when I run the website from the server on the Internet, I get the above server errors!
    I even tried on 2 different hosting servers to be sure it isn't related to the webserver itself...

    Anyone please have a clue what is happening here?


  • NAPTR support?

    Unfortunately, no, and even now, 2 years later, only this post shows up when doing a web search for NAPTR on Windows DNS!

    I completely forgot that I asked this same question back then already, and still have the same problem today!

    Nowadays, NAPTR records are needed A LOT, and still, Microsoft didn't release an update to make their DNS support it... I'm baffled.

    I really hope that this message catches the attention of someone at Microsoft, and that they can forward this question to the windows team?

    Is it finally supported in Windows 2008 Server?
    I can't fire up a VPC right now, so can someone running Longhorn beta3 please have a look?


  • Parent-Child Tree path to xml


    That is fantastic! Thank you so much, you really saved my day Smiley

    I just implemented your solution in my application, and it works flawlessly!

    I was messing aroung with strings and a custom generic tree class.
    Needless to say, using XmlDocument with SelectSingleNode is so much neater, I guess I really have to learn XPath some day (still haven't got the time to delve into that stuff).

    In VS2008 you also have the new XDocument / XElement / etc... classes, would these give me any specific benefits?

  • Parent-Child Tree path to xml

    From a stored procedure on our SQL Server 2005 database, I currently get results for parent-child relationships like this:

    11 > 7 > 2
    11 > 7 > 8 > 5
    11 > 7 > 8 > 6 > 2
    (just to be clear: this is a single column output, so in other words: varchar fields)

    Now, in my VB.NET application, I need to convert these hierarchical tree paths to xml format:

    <node id="11">
      <node id="7">
        <node id="2" />
        <node id="8">
          <node id="5" />
          <node id="6">
            <node id="2" />

    I think you get the picture Smiley

    What would be a quick and efficient way to accomplish this?

    Any help with code (VB.NET or C#) would be greatly appreciated!


  • C9 V4 Silverlight!

    One more vote for a 'Silverlighted' Channel9 !!

    That would be so cool, I can hardly wait!

    Ah, and please make it so that you can only use the site/forums with the Silverlight plugin installed, that way we can get rid of people like emet Smiley

  • What PCIe card to drive 2 x 20" DVI Monitors @ 1680x1050 each?

    Any dual DVI card will do that resolution hands down...

    2x 1680x1050 is actually still a quite low resolution, so you have nothing to worry about.
    I ran 2x 1600x1200 some years ago already with a $100 GeForce card...

  • Ubuntu! Ubuntu! Ubuntu!

    While the underlying OS of Ubuntu is solid, it's desktop / windowing system is crap.  And it looks very unfinished as well (maybe that's an understatement, design people call it plain ugly).

    Ubuntu has a LOOOONG way to go if they want to target the desktop market...

    Problem is, they're playing catch-up all the time, and history should have learned them that playing catch-up with Microsoft is a very bad idea / waste of time.

    I think they should forget the whole desktop thing and focus on server and embedded applications.

  • Oops, got it wrong.

    No, doesn't work if you're not on the connect program Sad