The Eric Wroolie Blog

Overpass Experiences

  • Blog
  • Videos
  • Overpass Apps

Powered by Overpass Apps

Nine Years

May 15, 2007 by wroolie 2 Comments

Today is the ninth anniversary of my arriving in England. No job. No money.

I never thought I would be here this long.

Filed Under: Uncategorized

Silverlight on Expression Blend with AVG Anti-Virus

May 8, 2007 by wroolie 7 Comments

Just prior to MIX07 and the Silverlight announcements, Microsoft has released another CTP of Expression Blend. It’s called the 2 May Preview and can be downloaded here.

I’ve been trying to do Silverlight projects by hand (or, at least in Visual Studio 2005). This is entirely do-able, but the lack of a XAML schema for Silverlight (the XAML used for full WPF apps will often conflict with what Silverlight allows) makes this difficult. I would rather use the tool that’s made for Silverlight. I also want to keep from installing Orcas which is still in Beta 1.

Since most tutorials seem to be using Expressions Blend at the moment, I know that this is the tool I should use.

The problem with the new preview version of Blend is that it conflicts with the AVG anti-virus suite. When creating a Silverlight 1.0 project, Blend creates a default project with the following files:

This project can be opened in both VS2005 and Blend. In fact, you are encouraged to use both tools to create a valid SL project.

With AVG anti-virus, this project as it stands does not run. Hit F5 and you get a “hidden extension” error from AVG:

It sees Default.html.js as a potential threat and will not render the page. It will even prevent you from viewing the source (unless you drag it into Notepad). Neither Visual Studio nor Blend will let you change the name of the file because it is a dependent object of default.html.

I initially tried to find a way to turn off this virus check so I could develop in the Expression Blend IDE. If I couldn’t turn it off, I would drop AVG altogether (I have a paid license lasting 18 more months).

Then it occurred to me, I need to find a way to work with both AVG and Blend for two reasons:

  1. Even if I was able to build the project and deploy on my machine without AVG, any client machine that tried to run it with AVG would get this message. This would probably give my site a bad name if the average user considered my webpage to include viruses.
  2. If another virus like iloveyou.txt starts to spread, I actually want my AV to keep an eye out for anything trying to trick me or dupe my system.

So, after playing with the project files for a few hours, I found this workaround:

Resolution

  1. Create a new Silverlight Project in Blend and Save it.

Make note of the project location.

  1. Close Expression Blend.

  2. Navigate to the project directory in Windows Explorer.

  3. Change the name of the file “Default.html.js” to something with only one extension.

    I changed my file to DefaultCodeBehind.js.

  4. Open the project file in Notepad and change the reference to the new file name.

    Open the .csproj file or the .vbproj file using Notepad.

  5. Open Default.html in Notepad and change the references on the includes to the new file name.

    Alternatively, this can be edition in Visual Studio.

  6. Open the project again in Blend.

    All should be working fine now.

    <

Filed Under: Uncategorized

Passed my Motorcycle Test

May 7, 2007 by wroolie Leave a Comment

When I moved to the UK in 1998, I had been driving for almost ten years. Still, I found getting my UK license to be tremendously difficult. The pass rate is pretty low for the practical exam (somewhere around 50%) and I seemed to have a lot of problems with habits I picked up while driving in the States. It costs about £48 (about $70) to take an exam and it usually involved a lengthy waiting list to get an exam scheduled. I took the test 7 times before I passed. It took me nearly two years to do it. The upside is that my UK license doesn’t expire until I’m 70 years old.

So, with all the trouble I had with the car driving license, I was reluctant to try to get a motorcycle license. The test is similar to driving a car, but with the added worry of controlling the 500cc motorcycle while being alert for traffic. This time, I went with professional instruction and took the motorcycle course offered by Riding In Action in Abingdon. I passed the motorcycle test last Friday on my first try.

I highly recommend Riding in Action if you are considering getting into riding.

I had a 250cc Honda Interceptor back when we lived in Hawaii (about twelve years ago), but was astonished how much I had forgotten about riding a proper motorcycle. I loved being able to ride around Oahu on my bike and it definitely felt a lot freer than sitting in a car. I had one accident where I did considerable damage to the bike and scared myself to death, but really enjoyed all the other riding I was able to do.

I started out the weeklong course worried that I wouldn’t be able to learn quickly enough. Now, I have the license and am looking for a decent (but not flashy) second-hand motorcycle.

I look forward to getting back out on the road.

Filed Under: Motorcycles

  • « Previous Page
  • 1
  • …
  • 86
  • 87
  • 88
  • 89
  • 90
  • …
  • 111
  • Next Page »

Recent Posts

  • My Gig and the Imposter Syndrome
  • Getting Picked Last for Teams in PE
  • One Little Growth Opportunity at a Time
  • I’m sorry if I look like I know what I’m doing
  • New Years Reclamations