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 / Extensibility / January 2006

Tip: Looking for answers? Try searching our database.

Determine installed VS language version

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Mirko Matytschak - 25 Jan 2006 15:27 GMT
Hi all,

does anybody has an idea of how to programmatically determine the VS 2005
language version? I need to know the culture of the installed version, so
that I can install the correct resource dll of my Add-in.

Thanks in advance,
Mirko
Carlos J. Quintero [VB MVP] - 26 Jan 2006 10:28 GMT
Hi Mirko,

You can try locating the numeric folder inside

C:\Program Files\Microsoft Visual Studio 8\Common7\IDE\

for example, "1033" for English.

The installation folder can be retrieved from the registry:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\8.0\ key, InstallDir
value

Signature

Best regards,

Carlos J. Quintero

MZ-Tools: Productivity add-ins for Visual Studio
You can code, design and document much faster:
http://www.mztools.com

> Hi all,
>
[quoted text clipped - 4 lines]
> Thanks in advance,
> Mirko
Mirko Matytschak - 26 Jan 2006 12:52 GMT
Hi Carlos,

thanks for your answer. It seems indeed, that this is the only reliable way
to find out the VS culture.

I need this information to install a resource-dll for my add-in. This dll is
language neutral (it just contains bitmap resources), but there seems to be
no way to install language neutral resource dlls for VS add-ins.

So I generate a resource dll with the right culture during installation. I
wrote a program, which patches the metadata of an assembly to change the
culture ;-)

Mirko

----- Original Message -----
From: "Carlos J. Quintero [VB MVP]" <carlosq@NOSPAMsogecable.com>
Newsgroups: microsoft.public.vstudio.extensibility
Sent: Thursday, January 26, 2006 11:28 AM
Subject: Re: Determine installed VS language version

> Hi Mirko,
>
[quoted text clipped - 8 lines]
> HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\8.0\ key, InstallDir
> value

Rate this thread:







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.