How do I open Microsoft Paint, Microsoft wordpad, netscape and Internet Explorer-I want the eaisist weay, like wwith the Shell command?
Printable View
How do I open Microsoft Paint, Microsoft wordpad, netscape and Internet Explorer-I want the eaisist weay, like wwith the Shell command?
Quote:
Originally posted by aafuss
How do I open Microsoft Paint, Microsoft wordpad, netscape and Internet Explorer-I want the eaisist weay, like wwith the Shell command?
VB Code:
Shell "Drive:\Path\Filename.extension", vbMaximizedFocus
Your wauy is o,bnut it will be hardcoded to the cyrent compouter-any others wau, so those app i listed can be run-instead being hardcoded to the current user's computer-say if thet y installed them into otherv directories, that i may not know? So it neerds to workon any system i come actross0but not just restricted ionne pc.
there is an api that opens a file with the program that by default should open it...
i don't remember it but get api-guide from AllAPI
aafuss: the apps U listed should all work with the names of their executables alone ( I do not know much abt Netscape). The "Shell" function mimics START ---> RUN. So, have a go at
VB Code:
Shell "Wordpad", vbMaximizedFocus Shell "IExplore", vbMaximizedFocus Shell "MSpaint", vbMaximizedFocus
HTH :)