Re: Shellexecute question



Mike Glazer wrote:
> The problem I have is suppose I send my program to someone else who
> might have installed the external application to a non-standard
> folder on their machine. What I need then is some code in my program
> that automatically picks up the .exe file of the external application.

That's exactly what the registry is for - holding information about e.g. the
location of your application. Make your app maintain a registry entry, and
read this value whenever you need to locate it.


While it's a good thing to take alternative apps locations into
concideration, most users install using default path. You may then ask the
user to locate the application manually, or start a search for the file in
question. *if* the registry trick isn't an option...
--
Bjørge
bjorge@xxxxxxxxxxxx



.



Relevant Pages

  • Re: Error opening & saving attachments in OE6
    ... I fully understand the time difference. ... Yes, it should, done properly...but you'd have to uninstall SP3 before you'd be able to uninstall IE7. ... Afterwards, of course, you'd need to install SP3 again and then all critical security updates released since June 2008. ... Registry Mechanic; RegistryProt 2.0) may have caused the ...
    (microsoft.public.windows.inetexplorer.ie6_outlookexpress)
  • Re: Error opening & saving attachments in OE6
    ... present up-to-date IE7 proceed smoothly? ... to install SP3 again and then all critical security updates released since ... After that, plenty of missing ... Registry Mechanic; RegistryProt 2.0) may have caused the ...
    (microsoft.public.windows.inetexplorer.ie6_outlookexpress)
  • Re: UNINSTALL WMP 10 TOTALLY
    ... It may be for several install attempts. ... Setup version 10.00.00.3802.] ... Adding dependency type 'Definition' to registry. ... SUCCESS: Package 'Windows Media Player'. ...
    (microsoft.public.windowsmedia.player)
  • Re: Error opening & saving attachments in OE6
    ... Registry Mechanic; RegistryProt 2.0) may have caused the ... you're looking at a Repair Install or a format & clean ... Don't worry about iecont.dll and iecontlc.dll being missing with IE7 ... folders created for this purpose. ...
    (microsoft.public.windows.inetexplorer.ie6_outlookexpress)
  • Re: Error opening & saving attachments in OE6
    ... that or a Repair Install may be your only option. ... uninstalling SP3 and then IE7 should not affect any OE ... After that, plenty of missing ... Registry Mechanic; RegistryProt 2.0) may have caused the ...
    (microsoft.public.windows.inetexplorer.ie6_outlookexpress)