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

Scott spivonious
  • W7 RTM Upgrade Matrix

    http://blogs.zdnet.com/Bott/?p=1246

  • How best to use a lock()

    I normally just lock the object I'm trying to protect. I don't see why the result would be any different between the two options, except that you're using more memory with the first.

  • Style question

    Let's say you have a property that you only want read-only acess from the outside.

     

    Do you define it as read-only and then access the private member within the class, or do you define it with a private set and access it through the property at all times?

     

    For example:

    Private mThing as String 
     Public Readonly Property Thing as String 
    Get 
    return mThing 
    End Get 
    End Property

     

    or

     

    Private mThing as String 
    Public Property Thing as String 
    Get 
    return mThing 
    End Get 
    Private Set (value as String) 
    mThing = value 
    End Set 
    End Property

  • Base call

    Usually when dealing with the built-in controls, I place the base class function first and then do my thing.

     

    But as Sven said, there's no correct answer.

  • Best way to learn WPF

    Pro WPF was pretty good for a book that hits on all pieces of WPF. There's a chapter on 3D if that's what you're after. There's also one on animation.

  • 64 bit and VS 2008

    My machine is Win7 RC x64, VS2008 SP1, .NET 3.5 SP1.

     

    UseEXDialog works for me. Here's the code I used:

     

    Dim p As New PrintDialog() With {.UseEXDialog = True} 
    p.ShowDialog()

     

     

    PrintDialog p = new PrintDialog(); 
    p.UseEXDialog = true;
     p.ShowDialog();

  • Server setup - Feedback wanted

    RAID 0+1 (striped then mirrored) or RAID 10 (mirrored then striped) would probably work best if you got a 4th drive. With 3 drives, assuming they're equal size, RAID 5 might be your best bet. There aren't a lot of consumer-level boards that support that though.

     

    Server 2008 is very powerful, but I don't think you'll really benefit from it if you're mainly doing a file server with a couple virtual machines. If it were me, I'd just stick Win7 on it and call it a day.

  • Video bitrates

    Duncanma said:

    Which video were you watching? By default, our WMV link used to be 320x240 (with some variation depending on aspect ratio) and 512kbps, and now it is 512x384 at close to 1mbps ... but the authors can swap things around and put the high quality in as the default, which is what it sounds like happened in your case...

     

    Funny thing is, as much as I agree with you, we are generally being asked (several times a week) to increase the bitrate and resolution of the videos Smiley People must love using up bandwidth!

    The main reason I download the video instead of watching it in the Silverlight player is that I can choose the player size. The two options "tiny in the page" or "full screen" just don't work for me. Is it possible to have a resizeable Silverlight player in the page? Or at least an option to have it fill the entire top section (blocking out the video description section).

  • Why doesn't ICollection implement ​IStructural​Equatable?

    While that's a nice interface, ICollection could hold any number of different types of objects. It doesn't make sense for it to implement IStructuralEquatable.

     

    Just make a class that implements IEquatable and then reference it in the .Contains method (or wherever you're making the comparison).

  • help...only one ram slot works

    enderssaves said:
    spivonious said:
    *snip*

    Both sticks are good. I have tried switching them around, taking them out, etc., and slot 0 has always worked while slot 1 has not.

    Interesting. How old is the machine? It could be that some of the contacts in slot 1 are corroded. More likely you have a defective motherboard.

     

    E-machines uses all standard interfaces (nothing proprietary like Dell) so you would be able to easily swap in another motherboard if you wanted to.