Getting Familiar with the My Namespace - 24
- Posted: Nov 21, 2011 at 9:30 AM
- 5,007 Views
- 6 Comments
Download
How do I download the videos?
- To download, right click the file type you would like and pick “Save target as…” or “Save link as…”
Why should I download videos from Channel9?
- It's an easy way to save the videos you like locally.
- You can save the videos in order to watch them offline.
- If all you want is to hear the audio, you can download the MP3!
Which version should I choose?
- If you want to view the video on your PC, Xbox or Media Center, download the High Quality WMV file (this is the highest quality version we have available).
- If you'd like a lower bitrate version, to reduce the download time or cost, then choose the Medium Quality WMV file.
- If you have a Zune, WP7, iPhone, iPad, or iPod device, choose the low or medium MP4 file.
- If you just want to hear the audio of the video, choose the MP3 file.
Right click “Save as…”
- High Quality WMV (PC, Xbox, MCE)
- MP3 (Audio only)
- High Quality MP4 (iPad, PC)
- MP4 (iPod, Zune HD)
- Mid Quality MP4 (WP7, HTML5)
This video demonstrates the use of the My Namespace in Visual Basic which provides a short-cut to often used classes in the .NET Framework Class Library. We demonstrate how to use the My Namespace to retrieve information about the user's computer, search for files on the file system, perform file and directory manipulation, get command line arguments, work with application settings and more.
Comment on the Post
Already have a Channel 9 account? Please sign in
Follow the Discussion
I use the My namespace all the time. It is a great thing to remember newbies!
Thanks Bob for the command line Arguments and the
I never knew about that!
Bob,
Thankyou very much for your clear, percise informative lessons !!!
Don in Florida
@Don Friedman: Thanks Don! Glad they were helpful.
Hello. First of all thanks for a great series. One question what happens at 12:31? The names shown in the console window show Brian and Chuck but the names assigned to the settings were Bob and Steve (11:44). Brian and Chuck were assigned later approx. 13:30...
@Kari Holgarsson: Great catch. I think you caught me here pulling a slight-of-hand ... I actually ran through this exercise off camera once (a practice run). I think the values were cached somehow -- perhaps those values were cached in the output directory (/bin) somehow. I **forgot** about this otherwise I would have probably re-recorded it. If you write the code yourself during this exercise, you will get the correct results. Sorry for the confusion.
Ok, thanks for the explanation ;-) I will try the exercise myself, I was just wondering if some values could be "stock" in memory (unable to update) as this could be very difficult to debug in a more complex code.
Remove this comment
Remove this thread
close