|
-
August 3rd, 2001, 05:37 PM
#1
Windows - Start - Run
When we click on the start button, then click on Run, a dialog box will be opened. We then will browse
or type a filename with or without the full path and click OK.
That file gets opened.
Now, the question is which windows exe/utility will take the file name (with or wthout full path) that
we have entered, as a parameter and opens that file depending on the extension??
Please get back to me as soon as possible.
Thank you very much for your response in advance.
Yamini
-
August 3rd, 2001, 06:31 PM
#2
Re: Windows - Start - Run
You can use the SHELL command to do essentially the same thing. Here is an example:
private Sub Command1_Click()
Shell "C:\Windows\Notepad.exe C:\AutoExec.Bat"
End Sub
This code starts Notepad telling Notepad to edit the Autoexec.bat file.
John G
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|