CodeVerge.Net Beta


   Explore    Item Entry    Members      Register  Login  
NEWSGROUP
.NET
Algorithms-Data Structures
Asp.Net
C Plus Plus
CSharp
Database
HTML
Javascript
Linq
Other
Regular Expressions
VB.Net
XML





Zone: > NEWSGROUP > Asp.Net Forum > visual_studio.visual_studio_2005 Tags:
Item Type: NewsGroup Date Entered: 10/31/2005 8:25:25 PM Date Modified: Subscribers: 0 Subscribe Alert
Rate It:
(NR, 0)
XPoints: N/A Replies: 1 Views: 20 Favorited: 0 Favorite
Can Reply:  No Members Can Edit: No Online: Yes
2 Items, 1 Pages 1 |< << Go >> >|
crpietschmann
Asp.Net User
Visual Studio 2005 Classic ASP syntax highlighting10/31/2005 8:25:25 PM

0/0

How can you setup the Visual Studio 2005 IDE to correctly do syntax highlighting of Classic ASP VBScript code?  I tried renaming the file from .asp to .aspx and opening it in the IDE and it did the syntax highlighting correctly. There must be a setting that I am missing to allow this.



RESOLVED:
I figured it out.
The steps in setting up the IDE are as follows:

  1. Open Visual Studio
  2. Goto the "Tools" menu and click "Options..."
  3. Check the "Show all options" checkbox in the bottom left of the dialog box.
  4. In the right pane expand "Text Editor" and select "File Extension"
  5. Enter "ASP" extension in the "Extension" textbox
  6. Select "Web Form Editor" in the Editor dropdown box
  7. Click the "Add" button and click "Ok" on the dialog box.

Chris Pietschmann, MCAD, MCSD
ASP.NET AJAX Virtual Earth Mapping Server Control
Mikhail Arkhipo
Asp.Net User
Re: Visual Studio 2005 Classic ASP syntax highlighting11/6/2005 10:43:51 PM

0/0

Sorry, but this is not correct. What you are seeing in this case is that ASP file is opened as ASPX and you are getting coloring from VB.NET (if you are lucky).

VS 2005 supports coloting of VBScript in classic ASP pages, you simply need to specify the language explicitly

<%@ Language="VBScript" %>

manually or using property grid for the DOCUMENT object (change Default Server Script property).

Thanks

------------------------------------------------------------

This posting is provided "AS IS" with no warranties, and confers no rights.
2 Items, 1 Pages 1 |< << Go >> >|



Search This Site:


Meet Our Sponsors:



Other Resources:

Problem viewing uploaded doc to SQL Server - ng.asp-net-forum ... using visual studio.net and sql server, programming in vb.net and asp.net. ... change the default syntax highlighting language for classic asp files to jscript ...
Configure Visual Studio 2005 for "Classic" ASP syntax highlighting and ... Configure Visual Studio 2005 for "Classic" ASP syntax highlighting and intellisense ... Visual Studio 2005 IDE to edit your Classic ASP files and still utilize syntax ...
Get Visual Studio 2005 and SQL 2005 Free! ... Configure Visual Studio 2005 for "Classic" ASP syntax highlighting and intellisense > ... SP1 Released Four ways to get your hands on Visual Studio 2005 ...
www.kevincornwell.com - blog - Archive " Visual Studio Syntax ... Visual Studio Syntax Highlighting and Intellisense for Classic ASP. April 5th, 2006. With the new release of Visual Studio (VS) 2005, you would think that it would ...
Mikhail Arkhipov (MSFT)'s WebLog : Classic ASP page template for VS 2005 ... and Syntax highlighting is available and works for Classic ASP editing. ... to use code snippets when developing classic asp pages inside Visual Studio 2005. ...
Feedback: Classic ASP Syntax Highlighting 2008 Classic ASP Syntax Highlighting 2008. Rating. Saving...Sign in to Rate! ... Am I supposed to have Visual Studio 2005 AND 2008 open at the same time? ...
Peter Bromberg's UnBlog: Getting rid of Visual Studio 2005 - And a Poll VS2008 dumps classic asp debugging, syntax highlighting and intellisense. 10:55 PM ... from the Visual Studio team explains how you can still debug classic ASP ...
Re: Syntax Highlighting and Intellisense for Classic ASP - MSDN Forums ... a Visual Studio 2008 Classic ASP page and I do not have syntax highlighting or Intellisense. In Visual Studio 2005 this was enabled by doing two things: ...
Re: Visual Web Developer 2005 Express For ASP? - MSDN Forums ... Visual Studio Express Editions " Re: Visual Web Developer 2005 Express For ASP? ... syntax highlighting for classic ASP with Visual Web Developer 2005 Express? ...



 
All Times Are GMT