static page 3 - Dave's Blog

Search
My timeline on Mastodon

V__42F4

2011 Nov 9, 4:13

PermalinkCommentsflickrmanager windowsphone7

V__E809

2011 Nov 9, 4:13

PermalinkCommentsflickrmanager windowsphone7

V__6A20

2011 Nov 9, 4:13

PermalinkCommentsflickrmanager windowsphone7

Alex Smile

2011 Nov 9, 4:08

PermalinkCommentsflickrmanager windowsphone7

Baby onesies office redocorate

2011 Sep 24, 12:43

PermalinkCommentsflickrmanager windowsphone7

Family Photo #2

2011 Sep 18, 7:02

PermalinkCommentsfamily me alex sarah

Sarah kisses Alex

2011 Sep 18, 7:01

PermalinkCommentsfamily alex sarah

Alex in Basket

2011 Sep 18, 6:58

PermalinkCommentsfamily alex basket

Alex in monkey blanket

2011 Sep 18, 6:56

PermalinkCommentsfamily alex

Alex in monkey blanket

2011 Sep 18, 6:55

PermalinkCommentsfamily alex

Alex in Bunny Swing-A-Majig

2011 Sep 10, 10:36

sequelguy posted a photo:

Alex in Bunny Swing-A-Majig

PermalinkCommentsvideo

Alex in Bear Suit

2011 Sep 10, 10:36

PermalinkCommentsfamily alex

Sleepy Alex

2011 Sep 10, 10:27
PermalinkCommentsvideo

Baby Room (Pre Baby)

2011 Aug 7, 2:22
PermalinkCommentsvideo

Obscuring Location

2011 Jul 1, 10:17"A method for obscuring location information is described. Both static and changing location information can be obscured. A single distance measure is input to the process; this parameter controls the precision of location information that can be extracted by a recipient."PermalinkCommentsgeoloc geolocation technical rfc standard reference

IE9 Document Mode in WebOC

2011 Apr 4, 10:00

Working on GeolocMock it took me a bit to realize why my HTML could use the W3C Geolocation API in IE9 but not in my WebBrowser control in my .NET application. Eventually I realized that I was getting the wrong IE doc mode. Reading this old More IE8 Extensibility Improvements IE blog post from the IE blog I found the issue is that for app compat the WebOC picks older doc modes but an app hosting the WebOC can set a regkey to get different doc modes. The IE9 mode isn't listed in that article but I took a guess based on the values there and the decimal value 9999 gets my app IE9 mode. The following is the code I run in my application to set its regkey so that my app can get the IE9 doc mode and use the geolocation API.



        static private void UseIE9DocMode()
{
RegistryKey key = null;
try
{
key = Registry.CurrentUser.OpenSubKey("Software\\Microsoft\\Internet Explorer\\Main\\FeatureControl\\FEATURE_BROWSER_EMULATION", true);
}
catch (Exception)
{
key = Registry.CurrentUser.CreateSubKey("Software\\Microsoft\\Internet Explorer\\Main\\FeatureControl\\FEATURE_BROWSER_EMULATION");
}
key.SetValue(System.Diagnostics.Process.GetCurrentProcess().MainModule.ModuleName, 9999, RegistryValueKind.DWord);
key.Close();
}
PermalinkCommentsweboc fck ie document mode technical ie9

Fire lane sign in snow

2011 Feb 24, 8:10

PermalinkCommentssnow sign firelane flickrmanager windowsphone7

WP_000013

2010 Dec 31, 4:51

PermalinkCommentsflickrmanager windowsphone7

WP_000021

2010 Dec 31, 4:09

PermalinkCommentsflickrmanager windowsphone7

WP_000020

2010 Dec 31, 4:02

PermalinkCommentsflickrmanager windowsphone7
Older EntriesNewer Entries Creative Commons License Some rights reserved.