Senin, 19 September 2016

[MS_AccessPros] GetSetting

 

I have an Access application where I shell out to Irfanview which worked quite well until encountering someone who had the 64 bit version installed.

Irfanview uses the file name I_view32.exe for the 32 bit version and I_view64.exe for the 64 bit version.

I thought I could use "GetSetting" to look in the registry to get the path and executable file name.

In the registry, under Irfanview there is a key shell with a subkey open and a subkey command.

The data value under the subkey command contains the path and file name.

I've tried using Msgbox getsetting("irfanview","open", "command") and variations.


I've guess I don't understand the section and key parameters I need to get this to work Has anyone used the getsetting function successfully and can help out or is there a better way to get the path and file name for a program?

TIA

Patty

   

 

__._,_.___
Reply via web post Reply to sender Reply to group Start a New Topic Messages in this topic (1)

Have you tried the highest rated email app?
With 4.5 stars in iTunes, the Yahoo Mail app is the highest rated email app on the market. What are you waiting for? Now you can access all your inboxes (Gmail, Outlook, AOL and more) in one place. Never delete an email again with 1000GB of free cloud storage.


.

__,_._,___

Tidak ada komentar:

Posting Komentar