Subscribe to Feed

Posts Tagged ‘Microsoft

Programming Windows 8 Apps with HTML, CSS, and JavaScript! is now available for free in eBook format.
This free eBook provides comprehensive coverage of the platform for Windows Store apps. Since its second preview in August, we’ve added the remaining chapters on live tiles, notifications, background tasks, background transfers, networking, devices, printing, WinRT components, accessibility, localization, [...]

I have recently seen several windows store apps popup with this error when running on ARM architecture, core reason boiled down to using Callisto package in the application. The Callisto project defaults to compiling as x86 only, and running corflags.exe. If you are targeting all architectures, either download Callisto source, compile it against all architecture [...]

It is very easy to check if the user has enabled Location Services (GPS) in Windows Phone.
GeoCoordinateWatcher g = new GeoCoordinateWatcher(GeoPositionAccuracy.High);
g.Start();
if (g.Permission == GeoPositionPermission.Denied)
{
// then we know it is off, else we assume it is on
// Show message box..
}


// Ensure the you properly dispose the watcher
g.stop();
g.Dispose();
One catch here is [...]

When you compile your windows phone app, it might build fine but throw an “unspecified error” when you try to deploy your app either onto your phone or to the emulator. The most probable reason that causes this is that there is style incompatibility in your xaml that the parser failed to resolve.
To fix the [...]

Here is a list of Windows 8 Keyboard shortcuts that I think are most useful:
Windows key - Brings up the Metro start screen. You can start typing to search for an app, just like the Win7 start menu. Subsequent presses on the button will cycle through the open applications
Win + B - Switch to the [...]

If you are trying to export a virtual machine in Hyper-V and realize that you are missing the export option in the Action menu, don’t worry. This is most probably because your VM is in a non exportable state. Meaning, you virtual machine in any state other than off or saved. Hyper-V will only be [...]

WinDbg has a built in undocumented feature that can be very useful to remember commonly used WinDbg commands. In essence it will build you a personalized GUI cheat-sheet of your commonly used commands.
They command to generate this is “.cmdtree c:\temp\myCommands.txt” , myCommands.txt here is a test file with a list of commands. You have to [...]

I would definitely start with Channel 9 videos. Videos are always better than reading to start with in my opinion. 
Here are several links that can help you get started.
Videos:
Windows Phone 7 Development for Absolute Beginners: http://channel9.msdn.com/Series/Windows-Phone-7-Development-for-Absolute-Beginners
Books:
Free Book and best one to start with: “Programming Windows Phone 7” available at http://www.charlespetzold.com/phone/
Decent Book: http://www.amazon.com/Windows-Phone-7-Plain-Simple/dp/0735643423
Links:
“Learning Resources”  section [...]

In a .Net 4.0 or later web application you may receive an error similar to
“The configuration section yoursection cannot be read because it is missing a section declaration”

when you try to get the web configuration information using Microsoft.Web.Administration.ServerManager API even when your web.config file looks alright and you do declare “yoursection” in the [...]

One of the caveats with using RenderControl to spit out the HTML content that an ASP.Net server control generates is that any server control that renders client side JavaScript raises a http exception when rendering the content of the control to a HtmlTextWriter. There are couple of ways you can bypass this in .Net. One [...]