Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 23
Default How to search the registry key

I have a registry key for a 3rd party application located under
HKEY_LOCAL_MACHINE but I cannot hardcode the key since all I know of
the registry key is HYP in different versions the path is different is
there a simple way of searching the registry for the path of this key
and then find the value in this key.

Thanks
Belinda
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3
Default How to search the registry key

Hi Belinda,

I think you can do that with VB's GetSetting command if
you are using Excel 97 or later. Try this handy link...

http://j-walk.com/ss/excel/tips/tip60.htm

-----Original Message-----
I have a registry key for a 3rd party application located

under
HKEY_LOCAL_MACHINE but I cannot hardcode the key since

all I know of
the registry key is HYP in different versions the path is

different is
there a simple way of searching the registry for the path

of this key
and then find the value in this key.

Thanks
Belinda
.

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,272
Default How to search the registry key

GetSetting, as with SaveSetting, only works within a very limited part of
the registry, namely HKEY_CURRENT_USER\Software\VB and VBA Program Settings,
and so is useless for more general registry access.

--

HTH

Bob Phillips
... looking out across Poole Harbour to the Purbecks
(remove nothere from the email address if mailing direct)

"Serkan Gur" wrote in message
...
Hi Belinda,

I think you can do that with VB's GetSetting command if
you are using Excel 97 or later. Try this handy link...

http://j-walk.com/ss/excel/tips/tip60.htm

-----Original Message-----
I have a registry key for a 3rd party application located

under
HKEY_LOCAL_MACHINE but I cannot hardcode the key since

all I know of
the registry key is HYP in different versions the path is

different is
there a simple way of searching the registry for the path

of this key
and then find the value in this key.

Thanks
Belinda
.



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Value from Registry Roy Lasris Excel Programming 3 February 23rd 04 11:53 PM
System Registry Darryl Bailey Excel Programming 3 October 10th 03 03:47 PM
Registry Tom Ogilvy Excel Programming 1 July 16th 03 01:02 AM
Registry Patrick Molloy[_4_] Excel Programming 0 July 15th 03 12:45 PM


All times are GMT +1. The time now is 06:17 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"