home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   comp.lang.visual.basic      MS Visual Basic discussions, NOT dot-net      10,840 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 10,323 of 10,840   
   Dean Earley to Ivan Bernage   
   Re: Finding a path to a program   
   21 Dec 06 09:30:44   
   
   From: dean.earley@icode.co.uk   
      
   Ivan Bernage wrote:   
   > In a VB6-program I would like to find the path to the program associated   
   > to a given extension.  E.g. given the extension *.doc I would like to   
   > find the path to winword.exe (on a single computer, not in a network).   
   > The necessary information can be found in the registry.  But how to   
   > extract it easily?  Is there some utility available or do I have to   
   > program the whole process?   
      
   Do you actually need the executable path or just want to open the   
   executable?   
   If the latter, then look at ShellExecute.   
   This wraps up the file handling stuff for you and is used by Explorer   
   when you open files.   
      
   --   
   Dean Earley (dean.earley@icode.co.uk)   
   i-Catcher Development Team   
      
   iCode Systems   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca