Events
Nov 19, 11 PM - Nov 21, 11 PM
Gain the competitive edge you need with powerful AI and Cloud solutions by attending Microsoft Ignite online.
Register nowThis browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Displays the Run dialog to the user.
IShellDispatch.FileRun()
IShellDispatch.FileRun()
This method has no parameters.
This method does not return a value.
This method does not return a value.
This method is implemented and accessed through the Shell.FileRun method.
The following examples show the use of FileRun in JScript, VBScript, and Visual Basic.
JScript:
<script language="JScript">
function fnShellFileRunJ()
{
var objShell = new ActiveXObject("shell.application");
objshell.FileRun();
}
</script>
VBScript:
<script language="VBScript">
function fnShellFileRunVB()
dim objShell
set objShell = CreateObject("shell.application")
objshell.FileRun
set objShell = nothing
end function
</script>
Visual Basic:
Private Sub fnShellFileRunVB()
Dim objShell As Shell
Set objShell = New Shell
objshell.FileRun
Set objShell = Nothing
End Sub
Requirement | Value |
---|---|
Minimum supported client |
Windows 2000 Professional, Windows XP [desktop apps only] |
Minimum supported server |
Windows 2000 Server [desktop apps only] |
Header |
|
IDL |
|
DLL |
|
Events
Nov 19, 11 PM - Nov 21, 11 PM
Gain the competitive edge you need with powerful AI and Cloud solutions by attending Microsoft Ignite online.
Register now