Code: Alles auswählen
verb$ = "properties"
SEI.SHELLEXECUTEINFO
SEI\cbSize = SizeOf(SHELLEXECUTEINFO)
SEI\fMask = #SEE_MASK_NOCLOSEPROCESS | #SEE_MASK_INVOKEIDLIST | #SEE_MASK_FLAG_NO_UI
SEI\lpVerb = @verb$
SEI\lpParameters = 0
SEI\lpDirectory = 0
SEI\nShow = 0
SEI\hInstApp = 0
SEI\lpIDList = 0
File$ = "c:\windows\notepad.exe"
SEI\lpFile = @File$
ShellExecuteEx_(@SEI)
OpenWindow(0, 100,100,100,100,"Eigenschaften von Notepad.exe")
Repeat
Until WaitWindowEvent() = #PB_Event_CloseWindow