Entries:
Comments:
Discussions:

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

Discussions

Vesuvius vesuvius Count Orlock
  • photostory team...wake up

    Evil SEO said:
    ZippyV said:
    *snip*

    This is how it's actually set:



    The changes I made from the page error dialogs were saved but IE8 has always ignored them, that evil browser must really hate me.

    You are still unable to answer the question, why not try Firefox or Opera or Safari? There is a lot of choice nowadays.

    You are frequenting a forum full of developers, that somehow don't get the problems you do, so you are trying to convince the wrong people, much like selling snow to an Eskimo. That points to problems with the machine or user.

    Have you tried IE8 on another machine?

    You anti IE8 stuff is really beginning to get boring now, just use Firefox instead and give us some peace.

  • Vista Bridge becomes Windows API Code Pack for the .NET Library

    blowdart said:
    vesuvius said:
    *snip*
    But this isn't .net 4, it's just a class library to support the OS.

    Which to me should be part of the OS, in the same way the common dialog stuff is.
    I'm thinking more along the lines of this. A lot of the controls you will naturally want to have in Visual Studio. Granted the file dialogs are the same in win 7, but it would be great to be able to do all the editing (a custom file dialog for example) within Visual Studio.

  • Vista Bridge becomes Windows API Code Pack for the .NET Library

    blowdart said:
    Bas said:
    *snip*
    Still a bad idea. Actually I can see why it's a bad idea, versioning. If a .net 2.0 app loads first then explorer is running in a 2.0 CLR. Then a 3.5 one comes along and bang. Same with (unfortunately) desktop search etc.
    Now that I think about it, now may be time for some speculation.

    Is this the first clear sign that .NET framework 4.0 is going to be released after Windows 7 which could explain why it is available separately so developers can start learning and using it now?

  • Vista Bridge becomes Windows API Code Pack for the .NET Library

    Maddus Mattus said:

    Oh well,..

    At least they have a wrapper for it.

    Beats the hell out of PInvoking everything yourself Smiley

    But this was by accident not design. It is coincidental that the wrappers are available because they are shipping the Vista API's so late that they have a new OS coming out.

    I detect that this is a case of damage limitation, because the new taskbar is such a departure from previous stuff. I have tried using the libraries, and to be honest, they are not production quality yet, and I would not use then in a live product. The caveat of "use at your own risk" removes my desire from using the libraries completely.

    I just don't see why they cannot be added to the .NET framework, much like the FileDialogs were added to.

  • Proper Database Use in C# .NET

    blowdart said:
    Raghavendra_Mudugal said:
    *snip*
    Err people are manually inputting transactions? Good lord, what type of transactions are these?

    Obviously I had it easier as all the transactions on my two largest projects came from other systems.

    I dunno, 13 separate databases, centralised to report on. Frankly sounds like a prime candidate for OLAP.
    Blowdart, you can take a horse to the river, but you can't make it drink. Raghavendra_Mudugal seems adequately furnished with the services of this obsolescent technology, which I find quite pleasing in some ways.

    I used to automatically update things, just because a new version came out. Take Adobe Reader or Nero for instance. I find very little return on investment for the hundreds of megabytes large version compared with the leaner versions 5 iterations ago. Some people argue that Windows 98 is still fine to use, for me, at least, I adore that the software was not disposable, has lasted, and is being used.

    Obviously, if you need to burn a blueray then the older nero version will not suffice, much like the new data types in SQL 2008 make localised websites a cinch compared, with Raghavendra_Mudugal affection for SQL 2000.

    Whatever floats your boat dude.

  • Impossible bugs

    Charles said:
    figuerres said:
    *snip*
    Then we need better code visualization that even marketing people can understand...

    In general, I'd argue that it's engineering's responsibility to ensure that management gets the engineering contraints, which must include significant time spent designing a solution before constructing it. This is exactly the role engineering plays here at Microsoft, across the board.

    Windows 7 is a great example (as are several iterations of Windows client and server, Exchange, Office, Visual Studio, SQL Server, SilverLight, Media Server, Home Server, C#, VB, VC++, Live Mesh, PhotoSynth, Azure, etc, etc, etc) of how a well thought out engineering design (which requires time as a basic ingredient) will yield a very usable, predictable, stable, performant, reliable product. Design, in all contexts, is a transitive property of any human-constructed system, like software.

    C
    Code visualisation is important, but marketing people are usually just like people in the street. Software piracy really masks the complexity of software. As long as people think that they can just download a film, or use cracked/hacked software, then the vast majority of folks will always misunderstand the fact that this is an engineering event.

    My girlfriend used to see just the hardware side of things. "I want a Mac because it looks pretty", and "your ugly grey boxes are hideous". It has taken some convincing [her] that writing software is harder than a network administrator implementing active directory. For most people, someone that configures esoteric aspects of servers, is the same as a software developer. Obviously I beg to differ, having done both jobs, but as long as people have the cool applications that make doing things effortless on their phones, televisions and so forth, then they will always think that writing software is a piece-of-cake.

    Microsoft is embracing engineering concepts as well, but their history is not without problems either. Even Windows 7 has limitations that mean that they cannot change ugly decade year old dialog boxes. Internet Explorer 8 still has a load of icons that are ancient (this new version has the same icons as IE7). The forthcoming Visual Studio 2010 as exactly the same limitation where it will ship with decade year old icons. It is like redecorating your house and retaining the same carpet.

    From a coding point of view, ASP.NET MVC 1.0 is just a week old, and without doubt the way websites will be built, but this engineering design has been missing for years, coincidentally, the MVVM pattern in Silverlight and WPF is also new and will be de facto henceforth and forthwith.

    Change in software implementation happens very slowly, Vista and Visual Studio 20085 procurement are ostensible examples that Microsoft has not always been the most flexible in altering its design and engineering practices.

    figuerres is right when he says that most software projects are simply thrashed out, with the focus on just getting the thing working first. Evidence can be found by looking for job adverts that require CAB/Prism or Microsoft Patterns & Practices knowledge. In an ideal world knowledge of this or the Framework Design guidelines would be essential but not so, unfortunately.

  • Proper Database Use in C# .NET

    Cybermagellan said:
    W3bbo said:
    *snip*
    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:
    *snip*
    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:
    *snip*
    Have you tried switching it off and back on again?




    Herbie
    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?