How to find the Run Dialog path

February 18, 2009 at 16:49:29
Specs: Windows XP
Hi I am doing Programming at the moment and i am Trying to find the path to start run command so i can add the path to my programme any idias many thanks Bradley

See More: How to find the Run Dialog path

Report •


#1
February 19, 2009 at 01:21:15
on command prompt:
rundll32 shell32,#61

run.vbs:

CreateObject("Shell.Application").FileRun

with VB: (tested on VB6)

Public Declare Function SHRunDialog Lib "shell32" Alias "#61" ( _
    ByVal hOwner As Long, ByVal Unknown1 As Long, ByVal Unknown2 As Long, ByVal szTitle As String, _
    ByVal szPrompt As String, ByVal uFlags As Long) As Long

SHRunDialog Me.hwnd, 0, 0, StrConv("title", vbUnicode), StrConv("prompt", vbUnicode), 0


Report •

#2
February 19, 2009 at 16:55:20
Many Thanks for your help it worked now for the next challenge

Report •

Related Solutions


Ask Question