@UmerNamdar: Ah, cool. Thanks for your support.
@Doctor Who: I'm sorry you're having problems with the install. I'll readily admit ... It took me several tries, and that's what prompted such a thorough (attempt) at explaining what you should and shouldn't do ... clearly, my personal experience only scratched a few of the challenges and not the full breadth of the challenges involved.
First to address the "Pro vs. Non-Pro" issue ... the "Windows Phone SDK 8.0" download page:
... the System Requirements section says the following:
System RequirementsSupported Operating System
Windows 8, Windows 8 Pro
- Operating system type:
- Windows 8 64-bit (x64) client versions
- 6.5 GB of free hard disk space
- 4 GB RAM
- 64-bit (x64) CPU
- Windows Phone 8 Emulator:
- Windows 8 Pro edition or greater
- Requires a processor that supports Second Level Address Translation (SLAT)
What I clearly failed to do in the video / article was to make a clear distinction here with regards to the requirements. I apologize for not making this crystal clear. I'm going to make this clear in the article portion hoping that people from now on will read it before making any purchase decisions. Technically, yes, you can install the SDK on a non-Pro edition of Windows 8 64-bit, however PRACTICALLY you will want the Pro edition for the emulator.
Second, your current issue seems to be around permissions. I realize what I'm about to suggest will violate the principle of least privilege access, however, is the account you're running under also part of the Administrators group? I'm wondering if there are *other* privileges required that were not mentioned in the error messages you received. I suppose I could look at my machine and list out all the groups I'm a part of. Is there anything I could do to help?
This is why I finally decided to purchase the physical OEM of Windows 64-bit Pro. I actually wasted several hundred dollars trying to get this right. Fortunately, I had just built a new physical machine so it made sense. I bought a second physical OEM of Windows 64-bit pro for my VM which I used to record these videos.
While I'm at it, let me tell you what I do as a developer who has grown tired of constantly having to work through various configurations of Windows, Visual Studio, SQL Server, etc. I use VMWare and keep my primary operating system pristine. In fact, for each new project, I copy a pristine VM and set it up for that project. I'm aware that this is probably in violation of ToS, but I hope Microsoft forgives me ... I pay for all my software. I have a 2TB drive that stores all my current project VMs. It's extreme, but again, I've not had configuration conflicts in years as a result.
- Operating system type:
@Asenchuk: Unfortunately, I think you did miss something. "truthy" and "falsey" are just literal string values. I could have used "Bob" and "Clint" instead. The important thing here is that this is a short cut for an if statement. The expression between the opening and closing parenthesis ( ) is evaluated. If the expression evaluates to true, then the first value (to the left of the colon : ) will be returned. If the expression evaluates to false, then the second value (to the right of the colon : ) will be returned. In this case, as you wrote "It looks like what you write at the end of statement eventually returns as a result?" ... because the expression is hard coded to FALSE! If we hard code that to true:
myResult = (true) ? "truthy" : "falsey";
... the first value (in this case, "truthy") would always be returned. Perhaps the example is so mundane that it is easy to miss the point. I would recommend re-watching that part of the video and listening to what I say there. Good luck!
@DavidDilley: Thanks for watching and writing. Yes, the center tag is a prime example of what I talk about in this series ... the intent of HTML5 changed dramatically from where it began. If you can think of the computer programming principle of "separation of concerns", then it will make your transition easier. Ask yourself "Did this old tag represent CONTENT or DESIGN?" If the answer is "design", then there's probably a replacement for it using CSS3. Good luck!
@Shen Zhongwei: Admittedly, I could have said that more cleanly, but I actually did mean "relative values" there. In other words ... a padding / margin value is expressed as a pixel value because it pads / provides a margin for two widths / heights belonging to two objects (in this example, Rectangle objects, but it could be text boxes, pictures, etc.) Example: the phone has a fixed width on its screen, but different phones have different fixes widths. I can specify that two Rectangles on my form should take up half (50%) of the width ... BUT ... I want some padding between the Rectangles so you can see two "boxes", not one. In order for the layout manager to decide how much width to give each Rectangle, it has to know the overall width minus any fixed widths for margin / padding. Now that it knows the ABSOLUTE widths, it can calculate the RELATIVE widths.
I suppose the designers of the layout manager could have said you could create relative widths for padding and margin and they could still do some calculations to figure out some equitable way to split all that width between the rectangles and margin / padding, but they didn't. So, what I said was a bit clumsy, but still accurate.
@Lee: Hi Lee, I might have an extra Console.WriteLine() in there I'm guessing. Otherwise, I can't imagine why that would happen. But I would say this ... we're learning the Visual Basic language ... you probably won't be writing many Console style applications in real life ... unless you're an old school Zork enthusiast.
Also, I think Channel9 is working on captions this year, so that should help even further. Thanks for the kind words, and best wishes as you continue through this series!
@Anh Duong: I believe this was a timing issue, if I recall. The headers and the data bound to the tiles loads at different moments / events in the lifecycle. I had to explicitly call the Load() to get the titles to load at the right time, otherwise, they would no appear. Try that, experiment, and see what I mean. I'm not sure how to explain it beyond that. Hope that helps!