Click to See Complete Forum and Search --> : *?how to show a file on clicking of a button?*


karthik6
September 15th, 2001, 12:03 PM
when the user clicks a button say command1 then i want a file located in c: say c:\windows\loadm.exe to run. how do i do that?? pleez help


isit my site at http://in.members.tripodasia.com/karthik_immortal

Captain Nuss
September 15th, 2001, 02:51 PM
You could use Shell or the Win API function ShellExecute. For a more detailed explanation of both see the VB help files.

----------------
You can contact me directly at Christoph.Schulze@gmx.co.uk
Hey, and... don't forget your parsley cause you can't eat your dog after having stolen him from some animal shelter and having drowned him in the Atlantic Ocean.