1. Rename file from .htm to .aspx in Solution Explorer 2. On top pf the page add <%@ Page Language="VB" %> 3. Close and reopen the file. If you then want to add code behind file, look here: http://blogs.msdn.com/mikhailarkhipov/archive/2006/04/13/576117.asp