Serialization issues with datetime in infopath to sql2005

Been having some “issues” trying to serialize datetime fields from infopath to SQL2005.  The problem lies in the serialization expects a fully qualified datetime value including locale e.g. 2006-09-20T01:56:45+10:00.  However, Infopath, and XML in general doesn’t record the local e.g. 2006-09-20T01:56:45 So after doing some searching i came across the adjust-dateTime-to-timezone function for xsl V2.0. …

Continue Reading

Tech.Ed feedback

Thought it’d be easier to put the comments here than make a GIANT comment on Frank’s blog. Comments on Tech Ed that most come to mind: Tech Ed The venue – in general it was well layed out and had enough space (apart from some sessions see below)  Overlap in content in sessions.  There was…

Continue Reading

New Polygons in Virtual Earth

A nice new feature in Virtual Earth is the addition of polygons. If you have used polylines then with one additional line of code to set the fill colour you can do polygons. function DrawPoly(id,points,width,color) { poly = new VEPolygon(id,points); poly.SetOutlineWidth(3); poly.SetOutlineColor(color); poly.SetFillColor(color); map.AddPolygon(poly); }

Continue Reading

How angry am I?

 Looks like i’m not as angry as i thought:   You Are 44% Angry  Generally, you are not an angry person.But you’re easily frustrated and enraged. You have one heck of a temper.And because of your anger, you tend to feel resentful and even spiteful.You already know how to quell your anger. You just need…

Continue Reading

The cost of elections

The amount of resources at our election on saturday got me thinking about how much it costs the tax payers of Australia. Did you know a federal election cost in excess of $100 million?http://www.aec.gov.au/_content/when/elections/costs.htm Cost of the 2004 federal election: EXPENSES $ Employee Expenses 36,968,991.45 Property Expenses 2,844,248.49 Election Supplies and Services (inc Freight, Election…

Continue Reading

Convert to Decimal Degrees

Useful little function and logic to convert to decimal degrees for use with Virtual Earth private double degreesMinutesSecondsToDecimal(string degminsec) { //Divide the number of seconds by 60, 28.79 ÷ 60 = 0.5166. //Add the result to the number of minutes, 31 + .47983. //Divide the result by 60, 31.47983 ÷ 60 = 0.52466383. //Now add…

Continue Reading

Namespaces in Javascript

With so much code be written in javascript for modern web2.0 sites it is important to start using namespaces to ensure your code can won’t conflict with other functions and varibles. This is a nice technique that also allows for private varibles and private methods. var namespacename = function() { var private_var; function private_method() {…

Continue Reading