Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Test for installed application?
Hi,
Is it possible to test, if the user has a certain application installed on this computer? Or, to be specific, is it possible to test, if the user has "Google Earth" installed on his windows-PC? VBA Code? Thanks in advance... CE |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
Test for installed application?
Charlotte E. wrote:
Is it possible to test, if the user has a certain application installed on this computer? Or, to be specific, is it possible to test, if the user has "Google Earth" installed on his windows-PC? VBA Code? Go to a computer that doesn't have Google Earth installed. Dump the registry. (Yes, the whole thing.) Install Google Earth. Dump the registry again. Compare. (There are tools that will do the dumping and comparing automagically for you.) Chances are, Google Earth sets something in the registry, even if it's something as simple as the uninstaller's info. (I don't use it so I can't tell you what.) -- Fear is the penalty of consciousness. There's no weakness in fear... only in showing it. |
#3
Posted to microsoft.public.excel.programming
|
|||
|
|||
Test for installed application?
Perhaps...
Function bGoogleEarthAvailable() As Boolean Dim x As Object On Error Resume Next Set x = CreateObject("Google Earth.Application") 'edit to suit bGoogleEarthAvailable = (Err = 0) x.Quit: Set x = Nothing End Function Usage example: If bGoogleEarthAvailable Then DoSomething Else Do SomethingElse -- Garry Free usenet access at http://www.eternal-september.org ClassicVB Users Regroup! comp.lang.basic.visual.misc microsoft.public.vb.general.discussion |
#4
Posted to microsoft.public.excel.programming
|
|||
|
|||
Test for installed application?
GS made a 'typo':
Function bGoogleEarthAvailable() As Boolean Dim x As Object On Error Resume Next Set x = CreateObject("Google Earth.Application") 'edit to suit bGoogleEarthAvailable = (Err = 0) x.Quit: Set x = Nothing End Function Usage example: If bGoogleEarthAvailable Then DoSomething Else DoSomethingElse -- Garry Free usenet access at http://www.eternal-september.org ClassicVB Users Regroup! comp.lang.basic.visual.misc microsoft.public.vb.general.discussion |
#5
Posted to microsoft.public.excel.programming
|
|||
|
|||
Test for installed application?
Thanks for your suggestions, guys...
However, I decided on a web-map based solution instead - but thanks for your effort anyway. CE Den 19.06.2012 12:40, Charlotte E. skrev: Hi, Is it possible to test, if the user has a certain application installed on this computer? Or, to be specific, is it possible to test, if the user has "Google Earth" installed on his windows-PC? VBA Code? Thanks in advance... CE |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
test that there is something to undo before executing application. | Excel Programming | |||
Calculate mean of test scores from rows of test answers | Excel Discussion (Misc queries) | |||
Lookup cannot be installed... | Setting up and Configuration of Excel | |||
=weeknum() - installed the add-in | Excel Worksheet Functions | |||
Test if application running? | Excel Programming |