[Bug 44578] New: cscript cannot create file dialogue using vbs ShellDispatch_BrowseForFolder VT_ERROR
https://bugs.winehq.org/show_bug.cgi?id=44578 Bug ID: 44578 Summary: cscript cannot create file dialogue using vbs ShellDispatch_BrowseForFolder VT_ERROR Product: Wine Version: 3.2 Hardware: x86 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs(a)winehq.org Reporter: stu.axon(a)gmail.com Distribution: --- cscript cannot create file dialogs with vbs, which is a shame as it could provide a really simple way to test wine. First I confirmed a simple message box worked by creating a file hello.vbs containing: MsgBox "Hello world" Then running wine cscript hello.vbs Then I tried various examples to create file dialogs and none worked, here is one - Function BrowseForFile() Dim shell : Set shell = CreateObject("Shell.Application") Dim file : Set file = shell.BrowseForFolder(0, "Choose a file:", &H4000) BrowseForFile = file.self.Path End Function MsgBox BrowseForFile That ran, displaying nothing - this error was in the console - 0009:fixme:shell:ShellDispatch_BrowseForFolder (0x159e98,0,L"Choose a file:",4000,0x33f150 {VT_ERROR: 80020004},0x33f2f8) This was tested with wine set to emulate a desktop -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=44578 Nikolay Sivov <bunglehead(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|cscript cannot create file |ShellDispatch::BrowseForFol |dialogue using vbs |der is not implemented |ShellDispatch_BrowseForFold | |er VT_ERROR | Status|UNCONFIRMED |NEW Component|-unknown |shell32 Ever confirmed|0 |1 --- Comment #1 from Nikolay Sivov <bunglehead(a)gmail.com> --- Confirming, BrowseForFolder() method is not implemented. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=44578 Nikolay Sivov <bunglehead(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Severity|normal |minor -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=44578 --- Comment #2 from Nikolay Sivov <bunglehead(a)gmail.com> --- I sent a patch that works for this script, https://www.winehq.org/pipermail/wine-devel/2018-February/123173.html. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=44578 Nikolay Sivov <bunglehead(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Fixed by SHA1| |d3f32bd0c70291829cbd98b1c09 | |a54ba11f2579a Status|NEW |RESOLVED --- Comment #3 from Nikolay Sivov <bunglehead(a)gmail.com> --- Fixed with https://source.winehq.org/git/wine.git/?a=commit;h=d3f32bd0c70291829cbd98b1c.... -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=44578 Alexandre Julliard <julliard(a)winehq.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED --- Comment #4 from Alexandre Julliard <julliard(a)winehq.org> --- Closing bugs fixed in 3.3. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=44578 Michael Stefaniuc <mstefani(a)winehq.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |3.0.x -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=44578 Michael Stefaniuc <mstefani(a)winehq.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|3.0.x |--- --- Comment #5 from Michael Stefaniuc <mstefani(a)winehq.org> --- Removing the 3.0.x milestone from bugs included in 3.0.1. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
participants (1)
-
wine-bugs@winehq.org