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


Vesuvius vesuvius Count Orlock
  • Proper Database Use in C# .NET

    Cybermagellan said:
    W3bbo said:
    Well I was just going to use the Local Database function in C# .NET Express....I'm not sure what that is...I'm trying to figure that part out as well...moving from Web/Linux dev over to WinForms, C# for fun
    This is a question of choosing the right tools for the job.

    If it is simple persistence of settings, then you need to use System.IO and stream the settings to a simple file using a StreamWriter and StreamReader objects , if security is an issue, use System.IO.IsolatedStorage.

    You can also use the .NET standard for this scenario which is use of an XML file. SQL compact lacks features because it is..erm....compact, and not service based where SQL express is, and definitely overkill just to persist settings.

    I would go for System.IO first, then XML, and finally SQL compact to resolve this problem.

  • Impossible bugs

    W3bbo said:
    Charles said:
    I should have put more context into the OP, my bad.

    I spoke this over with a friend, the application is a webapp, he wondered if it might be a threading issue since Collection<T> isn't thread-safe.

    I won't be able to look into it more until Sunday; I'll post an update then.
    Channel 9 would not let me post this morning, will try again now from notepad:

    These are not impossible bugs, but problems with your code. Many a times I have countenanced people (moi included) in a pickle and they blame everything but their code.

    1. An IndexOutOfRange exception is exactly what it says. At some point you are using an index of 12 in an array that you have said is 10 items maximum. Solution is to debug the code returning the 12, and fix it, or use an array list or even better a generic one that grows dynamically. The problem is definitely with dodgy code here.
    2. System.ArgumentException : Source array was not long enough. Check srcIndex and length, and the array's lower bounds. This really could not be clearer, the source array not being long enough relates to the first problem, check the index and length relates to the first problem
    Please don't overcomplicate this issue as the problem is with your code. Obviously a working code sample is the best way to obtain help, but as it is, the issue is with parameters being passed to a list/collection that are either too big or small, or that you are clearing your lists at the wrong times i.e. in the wrong order.

  • OK who broke the reference symbol server?

    Dr Herbie said:
    blowdart said:
    Have you tried switching it off and back on again?

    Please follow my steps and see if you still have a problem.

    Create a windows forms application (with a form load event), Choose tools then options in Visual Studio and select the debugging node

    Deselect just my code and enable source server support and then select the symbols node

    You shoud get the following dialog, click YES

    In he form load event of the form add a messagebox and set a break point

    hit F5 to run the application. In the call stack windows you should see a lot of greyed out methods, right click the first one immediately after the line that is not greyed out, and choose load symbols from Microsft Symbol Servers

    You should find that the methods etc are no longer greyed out

    Press F11. You may get a message on inconsistent line ending, just click yes, and you should now be in the .NET source

  • OK who broke the reference symbol server?

    I can debug the  .NET source fine, just tried debugging System.WindowsForms.MessageBox just now.

    What library are you trying to debug?

  • Despotic browsers keep crashing, reach new lows

    Evil SEO said:
    Maddus Mattus said:

    Here's a recap of all your posts:

    1. Problem exists between keyboard and chair
    2. I have no problems, running IE8 for some time now,..
    3. Seriously, you fail at computers.
    4. You reap what you sow.
    5. have some valium,..
    6. omg, you are so l33t!

    Yes! It was an argumentative, constructive and worthy discussion! If you put all this effort and you had to give up I wonder what were the amazingly interesting and deep things you told to all the other poor souls that tried to argue with you...

    You, my fine friend, are a constant reminder of how possible it is for lofty intellectuals to be cajoled into pointless forum discussions at times. Quite how this thread got as far as it did is mysterious?

    Maddus was astute in his sagacious assertion, of the profound difficulties that present themselves in droves, betwixt and between the keyboard and the chair. The truth hurts, as the ensuing tirade ostensibly proves.

    I ,natually, find your avatar and current thread title nothing short of predictable, and your ill conceived and even worse argued points somnifacient.

  • Where can I download the mix keynotes?

    You can find them in patience land. Basically, it takes ages to encode stuff in different formats, so the focus will be on getting the material available first via cough cough Silverlight, then the better quality just like PDC.

    Edit: playing Silverlight videos is fine for me, just the occasional break, but that's streaming

  • WPF silerlight developers

    Maddus Mattus said:

    What country?

    What price?

  • Mix Live

    Maddus Mattus said:
    I have a question for the Gu;

    Will Visual Studio 2010 and future development of DSL's put me out of a job in the near future? Since I am a hardcore .Net developer.
    You do realise that this question was put to Guthers?

    Jeff was cool!

  • Spam Link is Back

    Minh said:
    Maddus Mattus said:
    Minh is going to be so pleased!

    Well, now, I never said that I hate the mark as spam feature. I only hate how it eventually became. That is there was an unknown group of members who got the veto power to remove anybody else's posts. Not even those members themselves know who they are. I just want that list to be published, and have the names of those who veto a post public and be held accountable (this way you instantly cut down the amount of abused "mark as spam"). Of course the majority of "mark as spam" will be of the "DVD conversion" types. But the work to make that process more transparent was too much to do.

    This is especially ironic for a site that seeks to be a more transparent window into Microsoft. And come to think of it, we've seen this pattern before. From the C9V4 beta site, that we all knew was totally inadequate (bugs & lack of features), to it suddenly becoming C9! It was a horrific 9 months roll-out.

    I know that C9 is just a site that we come to for chit chats and watch videos and stuff... but inversely, for MS it's a really valuable online property, and for the devs, it's their livelihoods... I just don't see those devs (and those in charge) taking it as seriously as they should.

    I'm not a fan of the dev team, as you can probably tell...

    BTW, I don't see the "Mark as spam" link. Does that mean I'm not part of that secret clique?

    EDIT: nevermind. I see it. Yaaay?

    The vast majority of folks are sensible - they are super bright (being developers of course) - but inevitably, there are those that like a world free of corona_coder etc.

    I can see the pc/os and corona_coder contingent being swingled out. Someone who spends their life promoting another OS like pc/os is likely to never be pleased with Microsoft offerings, and some of us (yawn), grin-and-bear the predicatbility of it all. corona_coder is nonsensical and sensationalist in all his meanderings, and as sure as a leopard not changing its spots, he feels that he must make his wearisome anti-windows stance public from time to time, ensnaring most with his tripe.

    As a best practice, I would refrain from using the spam button, unless it is a video converter type post. raymond should be left be, and anyone whose posts you might find droll.

  • ASP.NET MVC finally RTM

    I wish there was a supported way to implement this on ASP.NET 2.0 sites.

    For webforms, Microsoft now expound MVC as a de facto method, for building data driven websites.
    In WPF and Silverlight, you have MVVM (and Prism of course).

    That pretty much wraps up web and desktop/client applications, but why has it taken so long to get to this stage? Is it that managed code provides a way to be able to separate code and components far more easily, whereas COM and C++ is so inextricably linked from the inside out, that it makes it difficult to design software this way?

    How much of Windows 7, or Visual Studio will be using these design patterns for example?