Posts

Showing posts from February, 2011

Direct Streaming from SKYDrive

Image
Just wanted to share the information that you can easily play any mp3 or audio collections directly from SKYDrive. Follow these steps • Try to reach to the file you want to listen. For e.g. (This is my latest upload) http://cid-0fce01d6e47c7156.office.live.com/self.aspx/Maulana%20Tariq%20Jameel/Latest%20Bayaans/Volume%2086%20%5E5October%202010%5E6/Namaz%20aur%20Maut%20-%20Gilliana%20-%202010/Namaz%20aur%20Maut%20-%20Gilliana%20-%202010-Part%202.mp3 • Now right click the icon and click COPY SHORTCUT. Please note that in Other Browsers Copy Shortcut is named differently (i.e. in Chrome its known as COPY Link Address) IE Explorer Screenshot Google Chrome Screenshot • Open your media player. Press Ctrl + U and paste the URL. The file will be played directly without downloading. Or you can open any other software like Real Player and Open URL. Paste the copied URL to play the file. • Additionally you can use this direct link to embed these audio anywhere on the net. Th

.Net - Value Type and Reference Type

Summary of the Article Always pass Reference Type ByVAL and not ByRef. Why ? Read it One of the most common mistakes developers make when learning .NET is confusing Reference and Value Types with Passing values by Reference or Value. Is this a big deal?  YES!  It's a very big deal. So let's go through the basics first: Values types break down like this... (From MSDN) Value types include:      All numeric data types      Boolean, Char, and Date      All structures, even if their members are reference types      Enumerations, since their underlying type is always Byte, Short, Integer, or Long Reference types include:      String      All arrays, even if their elements are value types      Class types, such as Form      Delegates So, when you pass arguments to a subroutine or function, you absolutely must know whether the type is a value type or a reference type. Only then can you determine whether you want to use ByVal or ByRef to pass the data • Value t