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,315 of 10,840   
   Geoff to Ivan Bernage   
   Re: Finding a path to a program   
   21 Dec 06 01:20:22   
   
   From: NoSpam@No.com   
      
   The easiest way is to create a temporary blank file named with the extension   
   and call the API   
   FindExecutable which will give you the application info   
   Then delete the file   
   '   
   "Ivan Bernage"  wrote in message   
   news:458979df$0$31458$ba620e4c@news.skynet.be...   
   > Hello,   
   >   
   > My problem:   
   > 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?   
   >   
   > Thanks in advance for your information,   
   >   
   > Ivan   
      
   --- 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