VB GetSetting, what is the "Section" and What is the "Key" value. - URGENT
Posted on 2005-04-15
I had to ask this because I have not worked with this functionality before and I don't have time to play and figure it out. I am using a WIndows API call version of the .NET GetSetting function to pull a registry value. The code still uses the same variables ad the basic GetSetting function but of course allows to to pull from HKEY_LOCAL_MACHINE instead of the practically useless VB key. SO here is my dumb yet very urgent question.
I need to Figure out if a machine is running M$ Office XP or Office 2k3. So I need to know which of the following regisrty keys Exists
HKEY_LOCAL_MACHINE\SOFTWARE\Company\ImageBuilder\ApplicationInstallations\Microsoft Word 2003 with SP1 - for 2k3
HKEY_LOCAL_MACHINE\SOFTWARE\Company\ImageBuilder\ApplicationInstallations\Microsoft Office XP Standard - for XP
ok, here's the stupid part.... ready.... promise not to laugh at me
in my variables I am assuming appname is WinWord.exe, because that is the executeable, is this wrong?
What would the Section value be? - \Company\ImageBuilder\ApplicationInstallations\???
And what is the key value?
it's early, I am overworked and underpaid, so please be nice :-). Thanks