Entries:
Comments:
Posts:

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

mVPstar mVPstar I'm white because I smelt an onion.
  • 7: No Photostory. REMOVES Moviemaker (on upgrade!)

    littleguru said:
    GoddersUK said:
    *snip*
    Oh... Interesting!
    The key sentence in the article that people somehow still ignore:
     
    With Windows Live Movie Maker, we started by building the 20%, and we're working really hard to add the other 80 percent now. (Trust me, we're good at adding the more complicated bits.)


    20% referring to the simple, 5-minute, two button click scenarios.

  • Tiny Windows 7 Treeview Bug

    Larry Osterman said:
    You see on the upper right corner the link that says "Send Feedback"?  Click on it and fill in the form.

    Trust me, every one of the submissions IS looked at (I know, because I've already gotten 3 bugs filed against me based on that information from the beta participants).
    Hey Larry, question...

    If you were using the leaked build of 7 and used the send feedback tool, is that feedback read too?

  • Tiny Windows 7 Treeview Bug

    If you hover over the items, the complete borders pops up, even with the DVD drive.

  • So what is in Windows 7?

    mVPstar said:
    Sven Groot said:
    *snip*
    Us normal people open Media Player to play media.

    Silly designers. Big Smile

    "I think it starts faster for him (no idea how to measure that if it won't start in that view), so he just wants to go there and use Ctrl+O. I think"

    Just out of curiosity, did you let WMP load all your media the first time you opened it?
    On a separate note.... the "Videos" link isn't in the Start menu by default I just realized.

  • So what is in Windows 7?

    Sven Groot said:
    Bas said:
    *snip*
    So what's the point of showing the now playing view if you clicked the WMP icon, which means that nothing is playing? You can't get anything to start playing from that view either, so I really don't see what the idea would be there.
    Us normal people open Media Player to play media.

    Silly designers. Big Smile

    "I think it starts faster for him (no idea how to measure that if it won't start in that view), so he just wants to go there and use Ctrl+O. I think"

    Just out of curiosity, did you let WMP load all your media the first time you opened it?

  • So what is in Windows 7?

    jamie said:
    Sven Groot said:
    *snip*
    ..if you used saved searches?  was easier to figure out in 7 anyway


    re-above -   the black small tuner ... not the explorer style view

    What's the point in opening the Now Player view if you haven't selected media to play?

    Zune has the library open by default too.

  • Playing an MP3 from a console app

    tfraser said:
    What you're trying to do definitely works. I tried it by implementing the MCI in the simplest form that I could and now have music playing from a blank console window.

    Put this into a new class called 'File' and remember to reference the System.Runtime.InteropServices namespace:

    [DllImport("winmm.dll")]
    
    static extern int mciSendString(string mciCommand, StringBuilder buffer, int bufferSize, IntPtr callback); string fileName;
    public void Send(string mciCommand) { mciSendString(mciCommand, null, 0, IntPtr.Zero); }
    public File(string fileLocation)
    {
        fileName = fileLocation;
        Send("open " + fileName);
    }

    public void Play() {     Send("play " + fileName); }

    Then drop this into your startup object:

    File file = new File("C:/Test.mp3");
    file.Play();
    string input = Console.ReadLine();

    It should work now. At the moment it won't do anything other than play the file but the MSDN section on MCI describes all the additional commands that can be called.
    Hmm, I finally got around to trying your code example. It seems that when I decide to use an alias "open fileName alias MySound" it doesn't work. Without the alias and just a simple "open fileName" it works fine.

    Strange.

    Anyway, thanks for the sample!

  • Playing an MP3 from a console app

    Any suggestions?

    I'm currently trying to use Winmm.dll but for some reason, nothing happens when I go to play my mp3. I can't really embed WMP, so I'm not sure what else to do.

  • LINQ to Entities and using a collection in the query...

    ulas said:
    stevo_ said:
    *snip*
    Ah, thanks for the link. I am pretty happy with the expressiveness of Linq in terms of simplifying a lot of mundane tasks one tends to do in code. It is just a bit of a downer to get everything compiling happily and then hit a runtime exception when the expression is evaluated. I realize, in a way, this is similar to trying to dividing one variable with another which may happen to be zero which would throw you a runtime exception but I just feel like checking which functions you use in the linq expression at compile time wouldn't be as difficult.
    You can use the lambda equivalent too:

    myDb.user.Where(x=>x.City.Equals(city)).Where(y=>y.Club.Contains(aClub));

    I think IntelliSense is better at helping you with the lambda.

  • Windows 7: Epic Failure

    blowdart said:
    TommyCarlier said:
    *snip*
    Yea and my machine has twicer your memory and a faster processor. Mind you I have full blown team suite, but still
    Over 1 minute?

    I have Visual Studio 2008 Pro and it takes 2 secs to load for me.
    Core 2 @2.5 , 3GB RAM. Laptop.