|
Post by anixx on Jul 2, 2018 21:31:24 GMT -8
The open with dialog is handled by OpenWith.exe. Did anyone try to take it from Win7?
|
|
|
Post by ihatemetro on May 21, 2020 13:00:56 GMT -8
This is my first post, and I saw this whcih caught my attention, which has zero replies. So I will tell you. Windows 7's open with dialog is stored in shell32.dll, where it uses rundll32.exe to execute it. OpenWith.exe does not exist in Windows 7. I think someone can code another dialog that is the exact same as Windows 7's or just attempt to extract it from windows 7's shell32.dll and turn it into an exe. Replacing it is possible, as I have created a symbolic link to cmd.exe from openwith.exe. Clicking "open with..." and running the old shell32.dll command from Windows 7 will open cmd.exe, so I know it works. Starting from Windows 10, the open with dialog is stored in explorer.exe, not in openwith.exe, so it is way harder to replace there.
|
|
|
Post by anixx on May 21, 2020 17:22:14 GMT -8
If so, one can rename shell32.dll from Win7 and put it in Win 8.1.
|
|
|
Post by anixx on May 21, 2020 17:23:22 GMT -8
What command is used on Win7 to call the dialog?
|
|
|
Post by ihatemetro on May 22, 2020 13:34:10 GMT -8
What command is used on Win7 to call the dialog? The command is "rundll32.exe shell32.dll,OpenAs_RunDLL". If you want to port shell32.dll from Windows 7, make sure that you also port the corresponding .mui file (shell32.dll.mui) from your locale folder (en-us, en-GB, ru-ru, etc.).
|
|
|
Post by anixx on May 22, 2020 13:43:08 GMT -8
And where this command is placed in the registry?
|
|
|
Post by ihatemetro on May 22, 2020 14:25:26 GMT -8
And where this command is placed in the registry? The command is nowhere in the registry, as I found it while messing around in DBCTaskman when I still used Windows 7 while there was an open with window active, however, there is this: "HKEY_CLASSES_ROOT\CLSID\{e44e9428-bdbc-4987-a099-40dc8fd255e7}". This contains the command for openwith.exe.
|
|
|
Post by leet on May 22, 2020 15:48:01 GMT -8
I've tried running the things in Win10. I get "The operating system can't run %1" Rundll error. Here's the dialog definition if that helps anyone (Win7 SP1 Ult, en-US, shell32.dll.mui, resource 1070):
1070 DIALOGEX 0, 0, 375, 271 STYLE DS_SHELLFONT | DS_MODALFRAME | DS_CENTER | WS_POPUP | WS_CAPTION | WS_SYSMENU CAPTION "Open with" LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US FONT 8, "MS Shell Dlg" { CONTROL 134, 12297, STATIC, SS_ICON | SS_REALSIZECONTROL | WS_CHILD | WS_VISIBLE, 7, 7, 21, 20 CONTROL "Choose the program you want to use to open this file:", 12291, STATIC, SS_LEFT | WS_CHILD | WS_VISIBLE, 36, 7, 208, 8 CONTROL "File:", -1, STATIC, SS_LEFT | WS_CHILD | WS_VISIBLE, 36, 23, 20, 8 CONTROL "", 13582, STATIC, SS_LEFT | SS_NOPREFIX | WS_CHILD | WS_VISIBLE | WS_GROUP, 60, 23, 208, 8 CONTROL "", 13829, "SysListView32", LVS_REPORT | LVS_SINGLESEL | LVS_SHOWSELALWAYS | LVS_SHAREIMAGELISTS | LVS_NOCOLUMNHEADER | LVS_NOSORTHEADER | WS_CHILD | WS_VISIBLE | WS_BORDER | WS_TABSTOP, 6, 36, 361, 144 CONTROL "Type a &description that you want to use for this kind of file:", 13576, STATIC, SS_LEFT | WS_CHILD | WS_VISIBLE | WS_GROUP, 6, 182, 361, 8 CONTROL "", 13574, EDIT, ES_LEFT | ES_AUTOHSCROLL | WS_CHILD | WS_VISIBLE | WS_BORDER | WS_TABSTOP, 6, 193, 346, 14 CONTROL "&Always use the selected program to open this kind of file", 13577, BUTTON, BS_AUTOCHECKBOX | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 6, 211, 202, 10 CONTROL "&Browse...", 13581, BUTTON, BS_PUSHBUTTON | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 318, 211, 50, 14 CONTROL "If the program you want is not in the list or on your computer, you can <A ID=\"Browse\">look for the appropriate program on the Web</A>.", 13585, "SysLink", WS_CHILD | WS_VISIBLE | WS_TABSTOP, 8, 230, 359, 16 CONTROL "OK", 1, BUTTON, BS_DEFPUSHBUTTON | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 264, 251, 50, 14 CONTROL "Cancel", 2, BUTTON, BS_PUSHBUTTON | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 318, 251, 50, 14 }
|
|
|
Post by ihatemetro on May 22, 2020 17:13:39 GMT -8
Well, I decided to test it for myself using shell32.dll from Windows 7 and rundll32.exe from Windows 7 running in compatibility mode for Windows 7. There is also the .mui files. I get " There was a problem starting shell32.dll. A dynamic link library (DLL) initialization routine failed".
|
|
|
Post by anixx on May 22, 2020 17:32:07 GMT -8
Did you try to rename shell32.dll? Maybe there is a name conflict with the existing one...
|
|
|
Post by ihatemetro on May 22, 2020 18:15:12 GMT -8
Did you try to rename shell32.dll? Maybe there is a name conflict with the existing one... I tested it, with renaming shell32.dll at first, then renaming rundll32.exe, and the .mui files, but it didn't work. The same results. Maybe someone can modify them to run, or just code a new one from scratch. Maybe even take OpenWith enhanced and make it so that it is less buggy and that acts exactly like Windows 7's OpenWith dialog. Too bad that nobody has ever created one that can replace OpenWith.exe.
|
|
|
Post by leet on May 22, 2020 18:57:47 GMT -8
Well, I decided to test it for myself using shell32.dll from Windows 7 and rundll32.exe from Windows 7 running in compatibility mode for Windows 7. There is also the .mui files. I get " There was a problem starting shell32.dll. A dynamic link library (DLL) initialization routine failed". DLL iniatlization routine errors usually have to do with architectural incompatibility. Make sure your copying it from the same architecture as your trying to run it on
|
|
|
Post by ihatemetro on May 23, 2020 5:47:18 GMT -8
Well, I decided to test it for myself using shell32.dll from Windows 7 and rundll32.exe from Windows 7 running in compatibility mode for Windows 7. There is also the .mui files. I get " There was a problem starting shell32.dll. A dynamic link library (DLL) initialization routine failed". DLL iniatlization routine errors usually have to do with architectural incompatibility. Make sure your copying it from the same architecture as your trying to run it on I did. The shell32.dll and the rundll32.exe all come from the same architecture. The virtual machine was a x64 machine and my host is also a x64 machine.
|
|
|
Post by The Jackal on May 26, 2020 4:38:30 GMT -8
Best "open with" clone is OpenExpert, it's just a shame it only works with 32-bit programs.
|
|
|
Post by powerplayer on May 26, 2020 10:32:16 GMT -8
I've tried running the things in Win10. I get "The operating system can't run %1" Rundll error. Here's the dialog definition if that helps anyone (Win7 SP1 Ult, en-US, shell32.dll.mui, resource 1070):
1070 DIALOGEX 0, 0, 375, 271 STYLE DS_SHELLFONT | DS_MODALFRAME | DS_CENTER | WS_POPUP | WS_CAPTION | WS_SYSMENU CAPTION "Open with" LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US FONT 8, "MS Shell Dlg" { CONTROL 134, 12297, STATIC, SS_ICON | SS_REALSIZECONTROL | WS_CHILD | WS_VISIBLE, 7, 7, 21, 20 CONTROL "Choose the program you want to use to open this file:", 12291, STATIC, SS_LEFT | WS_CHILD | WS_VISIBLE, 36, 7, 208, 8 CONTROL "File:", -1, STATIC, SS_LEFT | WS_CHILD | WS_VISIBLE, 36, 23, 20, 8 CONTROL "", 13582, STATIC, SS_LEFT | SS_NOPREFIX | WS_CHILD | WS_VISIBLE | WS_GROUP, 60, 23, 208, 8 CONTROL "", 13829, "SysListView32", LVS_REPORT | LVS_SINGLESEL | LVS_SHOWSELALWAYS | LVS_SHAREIMAGELISTS | LVS_NOCOLUMNHEADER | LVS_NOSORTHEADER | WS_CHILD | WS_VISIBLE | WS_BORDER | WS_TABSTOP, 6, 36, 361, 144 CONTROL "Type a &description that you want to use for this kind of file:", 13576, STATIC, SS_LEFT | WS_CHILD | WS_VISIBLE | WS_GROUP, 6, 182, 361, 8 CONTROL "", 13574, EDIT, ES_LEFT | ES_AUTOHSCROLL | WS_CHILD | WS_VISIBLE | WS_BORDER | WS_TABSTOP, 6, 193, 346, 14 CONTROL "&Always use the selected program to open this kind of file", 13577, BUTTON, BS_AUTOCHECKBOX | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 6, 211, 202, 10 CONTROL "&Browse...", 13581, BUTTON, BS_PUSHBUTTON | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 318, 211, 50, 14 CONTROL "If the program you want is not in the list or on your computer, you can <A ID=\"Browse\">look for the appropriate program on the Web</A>.", 13585, "SysLink", WS_CHILD | WS_VISIBLE | WS_TABSTOP, 8, 230, 359, 16 CONTROL "OK", 1, BUTTON, BS_DEFPUSHBUTTON | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 264, 251, 50, 14 CONTROL "Cancel", 2, BUTTON, BS_PUSHBUTTON | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 318, 251, 50, 14 }
Now this could me made into a new openwith.exe just check on regedit what the win10 version needs no doubt its something simple and yet familiar to keep windows compatibility
|
|
gcomputzide
Sophomore Member
As gcomputing goes on, it comes to the zide.
Posts: 150
OS: Windows 10 1909
Theme: Classic Theme (Winamp 3.0)
CPU: Asus K53E: Intel(R) Pentium(R) CPU B950 @ 2.10GHz
RAM: AMD 8 GB, QUMO 4 GB
GPU: Asus K53E: Intel HD Graphics 3000
|
Post by gcomputzide on Dec 11, 2020 9:30:25 GMT -8
whelp i tried. 1070 DIALOGEX 0, 0, 215, 209 STYLE DS_SHELLFONT | DS_MODALFRAME | DS_CENTER | WS_POPUP | WS_CAPTION | WS_SYSMENU CAPTION "Open with..." LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US FONT 8, "MS Shell Dlg" { CONTROL 134, 12297, STATIC, SS_ICON | WS_CHILD | WS_VISIBLE, 7, 7, 21, 20 CONTROL "Click the program you want to use to open 'inwork'.", 12291, STATIC, SS_LEFT | WS_CHILD | WS_VISIBLE, 36, 7, 208, 8 CONTROL "If the program is not listed, click Other.", -1, STATIC, SS_LEFT | WS_CHILD | WS_VISIBLE, 36, 15, 150, 8 CONTROL "Description for files of this type:", 13576, STATIC, SS_LEFT | WS_CHILD | WS_VISIBLE | WS_GROUP, 36, 30, 361, 8 CONTROL "", 13574, EDIT, ES_LEFT | ES_AUTOHSCROLL | WS_CHILD | WS_VISIBLE | WS_BORDER | WS_TABSTOP, 36, 40, 172, 14 CONTROL "Choose the program you want to use:", -1, STATIC, SS_LEFT | WS_CHILD | WS_VISIBLE, 36, 60, 500, 8 CONTROL "", 13582, STATIC, SS_LEFT | SS_NOPREFIX | WS_CHILD | WS_VISIBLE | WS_GROUP, 36, 70, 172, 80 CONTROL "", 13829, "SysListView32", LVS_REPORT | LVS_SINGLESEL | LVS_SHOWSELALWAYS | LVS_SHAREIMAGELISTS | LVS_NOCOLUMNHEADER | LVS_NOSORTHEADER | WS_CHILD | WS_VISIBLE | WS_BORDER | WS_TABSTOP, 36, 70, 172, 80 CONTROL "&Always use this program to open these files", 13577, BUTTON, BS_AUTOCHECKBOX | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 39, 160, 177, 10 CONTROL "&Other...", 13581, BUTTON, BS_PUSHBUTTON | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 160, 185, 50, 14 CONTROL "OK", 1, BUTTON, BS_DEFPUSHBUTTON | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 50, 185, 50, 14 CONTROL "Cancel", 2, BUTTON, BS_PUSHBUTTON | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 105, 185, 50, 14 }
|
|
|
Post by kikigames on Dec 31, 2020 13:37:01 GMT -8
whelp i tried. 1070 DIALOGEX 0, 0, 215, 209 STYLE DS_SHELLFONT | DS_MODALFRAME | DS_CENTER | WS_POPUP | WS_CAPTION | WS_SYSMENU CAPTION "Open with..." LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US FONT 8, "MS Shell Dlg" { CONTROL 134, 12297, STATIC, SS_ICON | WS_CHILD | WS_VISIBLE, 7, 7, 21, 20 CONTROL "Click the program you want to use to open 'inwork'.", 12291, STATIC, SS_LEFT | WS_CHILD | WS_VISIBLE, 36, 7, 208, 8 CONTROL "If the program is not listed, click Other.", -1, STATIC, SS_LEFT | WS_CHILD | WS_VISIBLE, 36, 15, 150, 8 CONTROL "Description for files of this type:", 13576, STATIC, SS_LEFT | WS_CHILD | WS_VISIBLE | WS_GROUP, 36, 30, 361, 8 CONTROL "", 13574, EDIT, ES_LEFT | ES_AUTOHSCROLL | WS_CHILD | WS_VISIBLE | WS_BORDER | WS_TABSTOP, 36, 40, 172, 14 CONTROL "Choose the program you want to use:", -1, STATIC, SS_LEFT | WS_CHILD | WS_VISIBLE, 36, 60, 500, 8 CONTROL "", 13582, STATIC, SS_LEFT | SS_NOPREFIX | WS_CHILD | WS_VISIBLE | WS_GROUP, 36, 70, 172, 80 CONTROL "", 13829, "SysListView32", LVS_REPORT | LVS_SINGLESEL | LVS_SHOWSELALWAYS | LVS_SHAREIMAGELISTS | LVS_NOCOLUMNHEADER | LVS_NOSORTHEADER | WS_CHILD | WS_VISIBLE | WS_BORDER | WS_TABSTOP, 36, 70, 172, 80 CONTROL "&Always use this program to open these files", 13577, BUTTON, BS_AUTOCHECKBOX | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 39, 160, 177, 10 CONTROL "&Other...", 13581, BUTTON, BS_PUSHBUTTON | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 160, 185, 50, 14 CONTROL "OK", 1, BUTTON, BS_DEFPUSHBUTTON | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 50, 185, 50, 14 CONTROL "Cancel", 2, BUTTON, BS_PUSHBUTTON | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 105, 185, 50, 14 } How you did this?
|
|
gcomputzide
Sophomore Member
As gcomputing goes on, it comes to the zide.
Posts: 150
OS: Windows 10 1909
Theme: Classic Theme (Winamp 3.0)
CPU: Asus K53E: Intel(R) Pentium(R) CPU B950 @ 2.10GHz
RAM: AMD 8 GB, QUMO 4 GB
GPU: Asus K53E: Intel HD Graphics 3000
|
Post by gcomputzide on Jan 1, 2021 1:20:18 GMT -8
resource hacker
|
|
Alcatel
Freshman Member
Posts: 89
OS: Windows 10 Enterprise LTSC IoT 2021
Theme: Windows 7 Aero
CPU: i9-8950HK
RAM: 32GB DDR4
GPU: Nvidia Quadro P3200
|
Post by Alcatel on Dec 7, 2022 14:44:59 GMT -8
Best "open with" clone is OpenExpert, it's just a shame it only works with 32-bit programs. Better (at least in terms of similarity to Windows 7) than OpenExpert is OpenWith Enhanced, as long as you turn off the colors and update checks etc in settings. Also sometimes when I installed it it glitches that it opens and closes quickly, I believe this can be fixed by temporarily turning off internet and deactivating online settings in it
|
|
|
Post by The Jackal on Dec 9, 2022 13:18:16 GMT -8
Sadly I found that to be straight up broken in W10 for me.
|
|