
Kill/Name function don't work after shell commands
Quote:
> >Shell("c:\command.com /c yourcommand > yourtext")
> Is there a way to find the drive and path to an EXE that can be used
> to shell to a program? I was hoping there was a way to look in the
> Registry in WIN95 using VB4.0 and get a path there, instead of
> searching all system drives for an instance of the EXE name.
If you mean you want the user to click a button that says Netscape, and
then Netscape loads, you should ask the user to give the location of the
EXE.
If you want to run the program associated with a certain file type, and
make it load the file, you cn use the ShellExecute API (maybe it's called
ShellExecuteA in Win95).
--
VB Info: http://www.sn.no/~balchen/vb/visual.htm
FAQ: http://www.sn.no/~balchen/vb/faq.htm
Knowledge Base: http://www.sn.no/~balchen/vb/kb.htm