New VS.Net file extensions

    Date: 04/06/06 (Asp Dot Net)    Keywords: software, asp, sql, microsoft, google

    Hi,

    I'm kind of new here and wasn't sure of where to post this since it pertains to Microsoft Visual Studio .NET 2003 itself and neither C# not ASP.Net

    The project I'm working on requires me to work a lot on.pc and .pkg files (ProC and PL/SQL packages)

    Now Microsoft Visual Studio .NET 2003 recognizes neither and I spent a long time on google trying to find out how to make it treat these files like C and SQL files respectively - basically do the necessary colorization - but with no result.

    I finally found the solution after looking around in my machine's registry.

    -

    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\7.1\Languages\File Extensions\

    That's where you need to add an extra key in the registry if you need your VS to recognize new file types.

    Use the value from the existing file type whose formatting you want the new file type to have.

    -

    Works beautifully!

    Just thought I'd post it here in case anyone else finds it useful. Posted to both '[info]'aspdotnet and '[info]'csharp. Do let me know if this is against community rules and I'll take it off.

    Source: http://community.livejournal.com/aspdotnet/60864.html

« wse 3.0 policies || Getting data from SQL Server »


antivirus | apache | asp | blogging | browser | bugtracking | cms | crm | css | database | ebay | ecommerce | google | hosting | html | java | jsp | linux | microsoft | mysql | offshore | offshoring | oscommerce | php | postgresql | programming | rss | security | seo | shopping | software | spam | spyware | sql | technology | templates | tracker | virus | web | xml | yahoo | home