Re: Windows Registry
Thank you very much for your reply. I am not familiar with API and think
with the articles you pointed out I have a lot of study to do.
Just please precise what you mean me to do :
Quote ' Get the Path from here:
>
> HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\App
> Paths\AcroRd32.exe '
End Quote
Is this to program with VBA 'getsetting' or with an API function?
Thanks
Friedi
--
Friedi
"Ramesh, MS-MVP" wrote:
> Get the Path from here:
>
> HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\App
> Paths\AcroRd32.exe
>
> Why Use VBA to Call the Windows API?:
> http://msdn.microsoft.com/library/default.asp?url=/library/en-us/modcore/html/deovrwhyusevbatocallwindowsapi.asp
>
> [Excerpt]
> For example, VBA provides functions that read from and write to a portion of
> the registry reserved for VBA applications. You can use these functions -
> GetSetting, GetAllSettings, SaveSetting, and DeleteSetting - to maintain
> information about your application between sessions. However, these
> functions permit you to work with only one subkey in the registry, namely
> the \HKEY_CURRENT_USER\Software\VB and VBA Program Settings subkey. If you
> want to store or to retrieve information from any other part of the
> registry, you must use the Windows API.
>
> [/Excerpt]
>
>
> How To Use the Registry API to Save and Retrieve Setting:
> http://support.microsoft.com/kb/q145679/
>
> --
> Regards,
>
> Ramesh Srinivasan, Microsoft MVP [Windows XP Shell/User]
> Windows® XP Troubleshooting http://www.winhelponline.com
>
>
> "Friedi" <Friedi@xxxxxxxxxx> wrote in message
> news:CFCC9166-E9D7-4F63-8AD3-34C50A9345F7@xxxxxxxxxxxxxxxx
> Using the 'GetSetting' Function in VBA (We work with Access 2002/2003) we
> only get info from the Windows Registry within the section 'VB and VBA
> Program Settings'.
> We would like to get info of a setting - by means of VBA Code- of the actual
> path of an Acrobat Reader installed on a computer. On my machine for
> example,the actual path is:
> c:\Program Files\Adobe\Acrobat 7.0\Reader. On my 2nd machine, Acrobat is
> installed on D: and is version 6.
> How do we have to program with VBA to get this information out of the
> Windows Registry?
>
> Can anybody help?
> Thanks
> Friedi
> --
> Friedi
>
>
>
.
Relevant Pages
- Re: Windows Registry
... Ramesh Srinivasan, Microsoft MVP [Windows XP Shell/User] ... How To Use the Registry API to Save and Retrieve Setting: ... Visual Basic for Applications (VBA) - MSDN Forums: ... (microsoft.public.windowsxp.general) - Re: [Full-Disclosure] PLEASE QUIT YACKING ABOUT M$
... on in order to get the 5% exploits within a single post, or all posts. ... >> simply another API. ... >> registry editor, in fact, the classes I put together treat them both very ... > from the filesysem, in Windows, you need to learn the filesystem API ... (Full-Disclosure) - Re: Windows Registry
... Microsoft MVP [Windows XP Shell/User] ... How To Use the Registry API to Save and Retrieve Setting: ... Visual Basic for Applications (VBA) - MSDN Forums: ... (microsoft.public.windowsxp.general) - Re: Calling Still Image API in C#
... to work on the interface definitions and the interaction with the StillImage ... > It appears that you are calling the API correctly. ... > fixed for the next release of the Windows OS. ... > recommending that you remove the registry key for your registered ... (microsoft.public.dotnet.framework.interop) - Re: Windows Registry
... How To Use the Registry API to Save and Retrieve Setting: ... Visual Basic for Applications (VBA) - MSDN Forums: ... (microsoft.public.windowsxp.general) |
|