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

Comments

BobTabor BobTabor
  • Part 7: Localizing the App

    @isyedakhtar: In that case, assuming you want to support one and only one language you would merely hardcode all strings / etc. to that single language.

    Assuming you wanted to support MULTIPLE languages allowing the end user to select the region / language, you could offer some Settings screen, then programmatically set the culture for the current thread using a combination of the CultureInfo.CreateSpecificCulture method and the CultureInfo.DefaultThreadCurrentCulture Property ... for a quick example, see this page:

    http://msdn.microsoft.com/en-us/library/system.globalization.cultureinfo.defaultthreadcurrentculture.aspx

  • Part 9: Overview of the Windows Phone 8 Emulator

    @Shaikh Ejaz: Possibly, but I can't recommend it.  You could try creating a Virtual Machine and running Windows 8 inside of that provided it meets all the other criteria.  However, again, can't recommend it.  Try at your own risk.

  • Part 14: Binding to Real Data at Runtime

    @Danny: Yes, so if you look at the default template for a Windows Phone 8 project, it pushes you to a certain style of data access.  There's a "design time" approach and a "run time" approach.  Again, by default, the "design time" utilizes a file filled with data SO THAT the designer in Visual Studio can display fake data.  Fake data is helpful so that you can see the aesthetic design of the form you're building.  However, at "run time" the REAL data is provided by a set of hard coded instances of collections of classes.

    My challenge (think: homework ... something to help you flex your programming muscle) was this ... instead of using two different techniques for data access -- one for design time and one for run time -- change the run time approach to utilize the file of data we already are using for design time.

    Does that clarification make more sense?

  • Part 21: Permanently Saving the Audio Wav File

    @Wilfre: Not sure ... would need to parse through the code for a while and see if anything jumped out at me.  Here's the first thing I would do ... grab the source code from http://aka.ms/absbeginnerdevwp8 and compare what you did with what Clint / I did.  Perhaps even back up and re-trace your steps through the video (assuming you can Ctrl+Z or you saved off a previous copy).  Maybe something will jump out at @Clint based on the behavior you're experiencing.

  • Part 2: Installing Windows Phone SDK 8.0

    @Snooker: So, wait ... you tried it and it doesn't work on your new computer?

    As far as someone who can help, hoping @Clint sees this thread.  He's much more connected to folks in the know than I am.

  • Part 23: Testing and Submitting to the Store

    @rfreytag: Ha! Turtles all the way down, indeed.  Big Smile  It's just a matter of time before we're running VMs inside of VMs inside of VMs ... VM Inception.  Glad you got it figured out.

  • Part 23: Testing and Submitting to the Store

    @rfreytag: I don't know the answer, but here's where I would start if I were in your shoes ... First, how much physical memory do you have in the machine?  Second, pop open Task Manager (right-click on the Windows Task bar and select Task Manager).  Go to the Performance tab.  How much of your memory is utilized:

    a) When in Visual Studio in Design time

    b) When you F5 Run Debug the WVGA 512K

    c) When you F5 Run Debug everything else

    Perhaps the message isn't intended to be understood that Hyper-V is capped out ... maybe it's the other way around ... maybe Hyper-V *wants* to give more to the VMs, but your physical memory is capped out.  So, are you running out of memory?  You might look at other processes that are hogging memory while you're attempting to do this?

  • Part 2: Installing Windows Phone SDK 8.0

    @Snooker: Hi Snooker, I'll help if I can ... I'm NOT a hardware guy so I have to rely on my research skills.

    Commenter @TTom (above) said that only i3/i5/i7 supports SLAT.  That's not necessarily true.    READ THIS LINK CAREFULLY and DOUBLE CHECK WITH WHOEVER SOLD YOU THAT COMPUTER because only certain non-i3/i5/i7 processors support it:

    http://social.technet.microsoft.com/wiki/contents/articles/1401.hyper-v-list-of-slat-capable-cpus-for-hosts.aspx?Sort=MostRecent&PageIndex=1

    Also, read the comments below that article ... someone (@gadya) suggests that it's not JUST the processor, but the motherboard / chipset may need to support it as well.  I know in my case, the Asus z77 Sabertooth has the BIOS settings I needed listed there ... so that's a BIOS thing, not a chip thing.  They may have a point there.

    So, pin down the manufacturer and try to get them to give you a definitive answer ... if they can't, you'll have to decide whether to risk it or go with something that advertises SLAT to be on the safe side.  Hope that helps?

  • Part 2: Installing Windows Phone SDK 8.0

    @Doctor Who: I don't know about cheap / free versions of VMWare.  I'm using the Mac version and have kept it updated ... I think I purchased it for $50?  Obviously, having an MSDN license is part of this equation, too, or at least having access to the Windows OS you need, VS, SQL Server, etc.

    Obviously, if you have an MSDN license ... or more specifically a Windows 2012 license, you already have access to Hyper-V.

    Of course, if you have an MSDN license (perhaps your company purchased one for you) then you might think about running VMs on Azure for (essentially) free -- you get Azure credits ... $50 / month at a minimum.  I've been playing around with Azure VMs for the past week ... it's really awesome.  They even have VMs that are preconfigured with Visual Studio 2013 (Ultimate) Preview ... I haven't tried Phone development on an AZURE VM but in general, you could create a dozen VMs with various configurations, save them off, then spin up a copy when you have a new project and only pay for the time it's running.  You just use Remote Desktop ... so I guess a good internet connection would be valuable, too.  Admittedly, I haven't gone quite this far for my personal workflow, but it's the next step from what I'm doing right now.

    Heck, running a quad core with 7 GB ram (Large instance) and Visual Studio 2013 ULTIMATE would only cost about $2.88 for an 8 hour day:

    http://www.windowsazure.com/en-us/pricing/details/virtual-machines/

    ... no new hardware or software to buy.  Yeah, ok, that's like $57.60 **IF** you keep one running 8 hours a day, Monday through Friday, for an entire month.  I rarely get to code that much.  So, .36 / hour ... that's a pretty good "rental fee" if you ask me.

    (While I was writing this reply, I tried this out ... I have a pretty fast internet connection through Verizon Fios with 83 mbps down / 34 mbps up ... even so, there's a tiny lag when you type, but other than that, a gratifying experience.  The whole setup took 10 minutes from login to the Azure portal to the point where I wrote a Hello World ASP.NET app).

  • Conditional Logic in JavaScript - 06

    @BDMerz: Smeggin' awesome.   Tongue Out