baconismidog Posted March 1, 2007 Share Posted March 1, 2007 (edited) Simple question. What is the Windows Explorer version of this which calls INternet explorer? "Shell.Explorer.2" I know this is simple, but I did go through the help file, installed and used the OLE/COM object viewer for a long time and just cant seem to locate Microsoft Windows Explorer VersionINdependentProgID. It is probably right in front of my eyes . IN my defense, it is very late here... *EDIT* I am currently passing a .navigate command to the shell.explorer.2 to create a dual pane file browser. The odd behavior of using IE to browse to network files is what is driving me to try to find how to call Windows Explorer. And can someone let me know how they found it? "Teach a man to fish..." Thank you in advance. B Edited March 1, 2007 by baconismidog Link to comment Share on other sites More sharing options...
baconismidog Posted March 8, 2007 Author Share Posted March 8, 2007 Simple question. What is the Windows Explorer version of this which calls INternet explorer?"Shell.Explorer.2"I know this is simple, but I did go through the help file, installed and used the OLE/COM object viewer for a long time and just cant seem to locate Microsoft Windows Explorer VersionINdependentProgID.It is probably right in front of my eyes . IN my defense, it is very late here...*EDIT*I am currently passing a .navigate command to the shell.explorer.2 to create a dual pane file browser. The odd behavior of using IE to browse to network files is what is driving me to try to find how to call Windows Explorer. And can someone let me know how they found it? "Teach a man to fish..."Thank you in advance.BBump Link to comment Share on other sites More sharing options...
kjactive Posted March 9, 2007 Share Posted March 9, 2007 (edited) This component is part of C:\WINDOWS\System32\shdocvw.dll componentProgID 'Shell.Explorer.2' - but there is different versionsClsID {8856F961-340A-11D0-A96B-00C04FD705A2}The function list is herehttp://www.myplugins.info/guids/typeinfo/t...B-00C04FD705A2}You could use the 'InternetExplorer.Application.1' too, this is a little different but there is a lot of IE's components around...This function list is herehttp://www.myplugins.info/guids/typeinfo/t...0-000000000046}Hope this helpskjactive Edited March 9, 2007 by kjactive Au3PP 4.1 - Autoit3 preprocessor, optimize speed, performance to scripts and do executes....[/url]Au3Calibur - Create libraries of commonly used code excerptsWords manipulate UDF, functions that is lent from the rexx language, topics and index file includedCustomDialog UDF to include custom made dialogs like a extended colorpick requester to scripts...[url="ftp://fritidshjemmet.com/Autoit3/SysColor.zip"]SysColor UDF a low level color library to manipulate RGB and Hex values...Shell32 UDF to Automate Windows® operating tasks from native dialog and Wizards browsers... Optimized the CodeWicard with options to generate browser code etc... Link to comment Share on other sites More sharing options...
Sunaj Posted March 27, 2007 Share Posted March 27, 2007 Sounds great with the possibility of embedding a windows explorer file pane into a autoit application - does any of you have example code on how to do so?! Cheers, Sunaj (has been trying to overload a GUICtrlCreateListView for some time but it is really takes a long time to replicate explorer functionality!) [list=1][*]Generic way to detect full path to default browser, List/ListView Events Using GuiRegisterMsg (detect doubleclick and much more)[*]Using dllcall for full control over fileopendialog, Make DirMove act somewhat normally (by circumventing it...)[*]Avoid problems with "&" (chr(38)) in code, Change desktop maximized area/workspace (fx to make deskbar type app)[*]Change focus behavior when buttons are clicked to work closer to 'standard windows' app[*](Context) Menus With Timed Tooltips, Fast Loops & Operators in AU3[*]Clipboard UDF, A clipboard change notification udf[/list] Link to comment Share on other sites More sharing options...
kjactive Posted March 27, 2007 Share Posted March 27, 2007 (edited) Well there's a lot of function calls to the two components and they are a bit different but semilatities too - Look at MSDN or the provided GUID links abowe a simpel Shell.Explorer.2 example #include "GUIConstants.au3" ; Simple example: Embedding an Internet Explorer Object inside an AutoIt GUI ; ; The full example is available in the test\ActiveX directory (TestXInternet.au3) ; ; See also: http://msdn.microsoft.com/workshop/browser/webbrowser/reference/objects/internetexplorer.asp $oIE = ObjCreate("Shell.Explorer.2") ; Create a simple GUI for our output GUICreate("Embedded Web control Test", 640, 580,(@DesktopWidth-640)/2, (@DesktopHeight-580)/2 , $WS_OVERLAPPEDWINDOW + $WS_VISIBLE + $WS_CLIPSIBLINGS) $GUIActiveX = GUICtrlCreateObj( $oIE, 0, 0 , 640 , 580 ) GUISetState ();Show GUI $oIE.navigate("http://msdn.microsoft.com/library/default.asp?url=/workshop/browser/webbrowser/reference/properties/registerasdroptarget.asp") Do Sleep(100) Until NOT $oIE.Busy While 1 $msg = GUIGetMsg() Select Case $msg = $GUI_EVENT_CLOSE $oIE.Quit() GUIDelete () $oIE = 0; Remember to free object EndSelect Wend Exit This is a simpel InternetExplorer.Application example $ObjIE = ObjCreate("InternetExplorer.Application") With $ObjIE .Visible = True .Navigate ("http://msdn.microsoft.com/library/default.asp?url=/workshop/browser/webbrowser/reference/properties/registerasdroptarget.asp") While .ReadyState <> 4 Sleep(50) WEnd EndWith $ObjIE = 0; remember to free component Exit The examples provide vital information from MSDN dev. page and ofcourse one needs the two components installed on the computer but mostly they are already as include into the native MS OS... kjactive Edited March 27, 2007 by kjactive Au3PP 4.1 - Autoit3 preprocessor, optimize speed, performance to scripts and do executes....[/url]Au3Calibur - Create libraries of commonly used code excerptsWords manipulate UDF, functions that is lent from the rexx language, topics and index file includedCustomDialog UDF to include custom made dialogs like a extended colorpick requester to scripts...[url="ftp://fritidshjemmet.com/Autoit3/SysColor.zip"]SysColor UDF a low level color library to manipulate RGB and Hex values...Shell32 UDF to Automate Windows® operating tasks from native dialog and Wizards browsers... Optimized the CodeWicard with options to generate browser code etc... Link to comment Share on other sites More sharing options...
Sunaj Posted March 28, 2007 Share Posted March 28, 2007 Superb, thnx kjactive - I looked through the URLs listed here but the nfo (also from google) on Shell.Explorer.2 seems rather limited.. probably the reason why this topic got started to begin with.. Any idea as to how to get the Shell.Explorer.2 to show a detailed view, while also possibly disabling right button context menu?! Sunaj [list=1][*]Generic way to detect full path to default browser, List/ListView Events Using GuiRegisterMsg (detect doubleclick and much more)[*]Using dllcall for full control over fileopendialog, Make DirMove act somewhat normally (by circumventing it...)[*]Avoid problems with "&" (chr(38)) in code, Change desktop maximized area/workspace (fx to make deskbar type app)[*]Change focus behavior when buttons are clicked to work closer to 'standard windows' app[*](Context) Menus With Timed Tooltips, Fast Loops & Operators in AU3[*]Clipboard UDF, A clipboard change notification udf[/list] Link to comment Share on other sites More sharing options...
kjactive Posted March 28, 2007 Share Posted March 28, 2007 Hallo Sunajdisabling right button context menuI remember that this is an HTML command but I do not recall how - the same goes with detailed view...HTML do take a lot of control of explorer and this is the first place to look, as scollbars on / off ec....kjactive Au3PP 4.1 - Autoit3 preprocessor, optimize speed, performance to scripts and do executes....[/url]Au3Calibur - Create libraries of commonly used code excerptsWords manipulate UDF, functions that is lent from the rexx language, topics and index file includedCustomDialog UDF to include custom made dialogs like a extended colorpick requester to scripts...[url="ftp://fritidshjemmet.com/Autoit3/SysColor.zip"]SysColor UDF a low level color library to manipulate RGB and Hex values...Shell32 UDF to Automate Windows® operating tasks from native dialog and Wizards browsers... Optimized the CodeWicard with options to generate browser code etc... Link to comment Share on other sites More sharing options...
Sunaj Posted March 28, 2007 Share Posted March 28, 2007 Ok, cool, if that's the case then it shouldn't be too hard for me to track down - question is.. does this also apply when using the Shell.Explorer.2 to browse directories on the local harddrive..? and if yes.. should I then pass a HTML/CSS file to the Shell.Explorer.2 that then looks up the correct dir harddisk dir?!Can see this working out just fine actually--thanks for your continued help on this one kjactive! Sunaj Hallo SunajI remember that this is an HTML command but I do not recall how - the same goes with detailed view...HTML do take a lot of control of explorer and this is the first place to look, as scollbars on / off ec....kjactive [list=1][*]Generic way to detect full path to default browser, List/ListView Events Using GuiRegisterMsg (detect doubleclick and much more)[*]Using dllcall for full control over fileopendialog, Make DirMove act somewhat normally (by circumventing it...)[*]Avoid problems with "&" (chr(38)) in code, Change desktop maximized area/workspace (fx to make deskbar type app)[*]Change focus behavior when buttons are clicked to work closer to 'standard windows' app[*](Context) Menus With Timed Tooltips, Fast Loops & Operators in AU3[*]Clipboard UDF, A clipboard change notification udf[/list] Link to comment Share on other sites More sharing options...
kjactive Posted March 28, 2007 Share Posted March 28, 2007 (edited) There is a component called Shell.Folderview.1 that is a variant of Shell.Explorer.2 to do only folderview but I do not have that much experiment with this lately but I do know that It works alright with SvenP autoit3 activeX interface... Naaa Shell.Explorer.2 is a limited version of InternetExplorer - 'does this also apply ', I don't know - HTML can control a lot of explorer intuition behavements as well as all the display matters, actually totally control the dam thing as the buildin explorer component functions is more about how to contain things and ready/busy statements ec. Remember to free the components at exit... Prectice makes expert... kjactive Edited March 28, 2007 by kjactive Au3PP 4.1 - Autoit3 preprocessor, optimize speed, performance to scripts and do executes....[/url]Au3Calibur - Create libraries of commonly used code excerptsWords manipulate UDF, functions that is lent from the rexx language, topics and index file includedCustomDialog UDF to include custom made dialogs like a extended colorpick requester to scripts...[url="ftp://fritidshjemmet.com/Autoit3/SysColor.zip"]SysColor UDF a low level color library to manipulate RGB and Hex values...Shell32 UDF to Automate Windows® operating tasks from native dialog and Wizards browsers... Optimized the CodeWicard with options to generate browser code etc... Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now