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,644 of 10,840   
   Bob Butler to Don   
   Re: Capture filename from dialog box   
   05 Sep 08 09:02:46   
   
   XPost: microsoft.public.vb.general.discussion, microsoft.public.vb   
   From: noway@nospam.ever   
      
   "Don"  wrote in message   
   news:48c1543d.7650812@news.west.cox.net...   
   > How can I capture the name of the file a user right clicks in the open   
   > file dialog using the common dialog box control?   
   >   
   > I can capture the name if a file is double clicked, or OPEN is clicked   
   > after selecting a file, or CANCEL clicked, but if they choose to right   
   > click on a file and choose OPEN WITH option, then I can't seem to get   
   > the name of the file they selected.   
      
   If they do that whatever app is selected will be started.  If it's your app   
   then a second instance of your app will start and Command$ will contain the   
   path to the selected file.   
      
   --- 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