Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Visual Studio.NET / IDE / January 2006

Tip: Looking for answers? Try searching our database.

Colour coding lost

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Joe Fawcett - 25 Jan 2006 09:13 GMT
I recently moved from VS .Net 2003 to 2005.
In 2003 I could edit .asp files and colour coding and Intellisense was
provided, now it no longer is. Can anyone tell me how to get it working
again?

Signature

Joe Fawcett (MVP)

https://mvp.support.microsoft.com/profile=8AA9D5F5-E1C2-44C7-BCE8-8741D22D17A5

"Gary Chang[MSFT]" - 26 Jan 2006 03:44 GMT
Hi Joe,

>In 2003 I could edit .asp files and colour coding and Intellisense
>was provided, now it no longer is.

The VS2005 still provides intellisence for ASP file, but there is some
difference from VS2003.

Firstly, you may need to explicitly set default server scripting language
in VS2005, VS2003 assumed it was VBScript, but VS2005 wants explicit
declaration. You can use document properties window to specify it.

Secondly, <% %> would be yellow and script code be colorized mostly as it
was in VS2003. The only difference is that VS2005 no
longer colorize the entire <% %> block in yellow.

Thanks!

Best regards,

Gary Chang
Microsoft Community Support
--------------------
Get Secure! ¡§C www.microsoft.com/security
Register to Access MSDN Managed Newsgroups!
http://support.microsoft.com/default.aspx?scid=/servicedesks/msdn/nospam.asp
&SD=msdn

This posting is provided "AS IS" with no warranties, and confers no rights.
Joe Fawcett - 26 Jan 2006 08:42 GMT
Gary
Thanks for that, but the properties window is blank. I also tried adding <%@
LANGUAGE="VBScript" %> to the top of the page but that didn't work.

Steps:
Open VS
Create new blank solution
Add existing item: <myasppage.asp>
Open properties window.

Signature

Joe

> Hi Joe,
>
[quoted text clipped - 26 lines]
> This posting is provided "AS IS" with no warranties, and confers no
> rights.

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.