473,322 Members | 1,347 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,322 software developers and data experts.

How to get VS IDE to recognize .shtml docs as html

I am working on a static web site that uses server side includes. Thus the
files have the .shtml extention. The IDE does not recoginzis this extention
as being html and uses the generic text editor. I want it to use the html
editor. How do I get this to happen? I have already modified the registry
for .shtml files so that the system knows they are html/text. I just
duplicated the entry for the .html extension. This did not help the IDE
though.

Any suggestions?

--Ken
Nov 18 '05 #1
2 1071
Right-click in the Solution Explorer and choose "Open With...". From the
Open With dialog, choose "HTML/XML Editor" and click the "Set as Default"
button.

Works for me.

--
----------------------------------------------------------------
Peter Provost
Weblog: http://www.peterprovost.org/
----------------------------------------------------------------

"Kenneth Baltrinic" <ne**********@baltrinic.com> wrote in message
news:%2****************@TK2MSFTNGP09.phx.gbl...
I am working on a static web site that uses server side includes. Thus the files have the .shtml extention. The IDE does not recoginzis this extention as being html and uses the generic text editor. I want it to use the html
editor. How do I get this to happen? I have already modified the registry for .shtml files so that the system knows they are html/text. I just
duplicated the entry for the .html extension. This did not help the IDE
though.

Any suggestions?

--Ken

Nov 18 '05 #2
Peter,

That almost worked. Now it opens them up as generic XML documents, which is
somewhat problematic
in that HTML is not valid XML. Also I don't get any of the auto-complete
help, etc.

Anyone else have a more complete solution?

--Ken

"Peter Provost" <pp******@yahoo.com> wrote in message
news:OM**************@TK2MSFTNGP11.phx.gbl...
Right-click in the Solution Explorer and choose "Open With...". From the
Open With dialog, choose "HTML/XML Editor" and click the "Set as Default"
button.

Works for me.

--
----------------------------------------------------------------
Peter Provost
Weblog: http://www.peterprovost.org/
----------------------------------------------------------------

"Kenneth Baltrinic" <ne**********@baltrinic.com> wrote in message
news:%2****************@TK2MSFTNGP09.phx.gbl...
I am working on a static web site that uses server side includes. Thus

the
files have the .shtml extention. The IDE does not recoginzis this

extention
as being html and uses the generic text editor. I want it to use the html editor. How do I get this to happen? I have already modified the

registry
for .shtml files so that the system knows they are html/text. I just
duplicated the entry for the .html extension. This did not help the IDE
though.

Any suggestions?

--Ken


Nov 18 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Mike K. | last post by:
When I renamed my files with an shtml extension the design option disappeared and the html code lost its color- coding. Does anyone know how to setup the environment so that it treats .shtml file...
0
by: Kenneth Baltrinic | last post by:
I have some simple web pages that are using server side inlcudes. Thus they have the .shtml extention. I have included them in a project and open them with the Open With option form the Solution...
1
by: Adam Monsen | last post by:
I'm unable to parse the following date string using time.strptime(): "Wed Sep 14, 2005 5:07 PM BST" Format: "%a %b %d, %Y %I:%M %p %Z" I tried changing the locale and using time.tzset(), but...
8
by: pacs34 | last post by:
I just read some stuff about XHTML 2.0 and it sounds fascinating so I have been trying to create a small test doc which has a few graphics files but whenever I submit it to the W3 validator I get...
10
by: EnjoyNews | last post by:
I have a php site I have an include line called "include 'Cookie.php';" In this Cookie.php file I have these codes. <?php $conn = mysql_connect("$db", "$user", "$pass");...
0
by: Joel Burton | last post by:
On Wed, Aug 06, 2003 at 12:55:52PM -0400, Joel Burton wrote: Reposting, with some clarification to my request. Thanks to the several responses I received originally. Yes, I know that a...
9
by: David Veeneman | last post by:
I'm just getting started with ASP.NET, using VS 2005. As an exercise, I opened the root web site in VS 2005 and created a simple welcome page. I saved the page as Default.aspx and made sure that...
1
kestrel
by: kestrel | last post by:
what is shtml? u made a shtml file, and it displays just like a regular html or htm file is there any difference?
4
by: wxPythoner | last post by:
There's a thing that bugs me in Python. Look at this... SyntaxError: EOL while scanning single-quoted string Please focus on the part of the error message that states "while scanning...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.