Closed rikaye closed 4 years ago
You remember what you were doing when this happended? I can’t duplicate it…
It sounds like the version of wwDotnetBridge.dll is not correct. Can you check the version?
+++ Rick ---
Rick Strahl
West Wind Technologies
Making Waves on the Web
https://weblog.west-wind.com/ https://weblog.west-wind.com
https://markdownmonster.west-wind.com https://markdownmonster.west-wind.com
From: Richard Kaye notifications@github.com Sent: Tuesday, September 1, 2020 4:12 PM To: RickStrahl/HelpBuilderReleases HelpBuilderReleases@noreply.github.com Cc: Subscribed subscribed@noreply.github.com Subject: [RickStrahl/HelpBuilderReleases] WWHB throws an error when attempting to use Tools->Export HTML output to Zip file (#106)
See below.
Version: 5.25.0
Error Message:
OLE IDispatch exception code 0 from wwDotNetBridge: Method 'Westwind.WebConnection.FileUtils.SaveFileDialog' not found...
Error Number: 1429
Module:
PROCEDURE WWDOTNETBRIDGE.INVOKESTATICMETHOD WWDOTNETBRIDGE.FXP
Line:
688
Call Stack:
c:\program files (x86)\west wind html help builder\wwhelp.exe | wwhelpmain | C:\Program Files (x86)\West Wind Html Help Builder\wwhelpmain.prg (307) |
c:\program files (x86)\west wind html help builder\wwhelp.vct | wwhelpform.tmrtoolbar.timer | c:\program files (x86)\west wind html help builder\wwhelp.vct (30) | thisform.DoEditOperation(lcName)
c:\program files (x86)\west wind html help builder\wwhelp.vct | wwhelpform.doeditoperation | c:\program files (x86)\west wind html help builder\wwhelp.vct (240) | lcZipFileName = SaveFileDialog(JUSTPATH(THIS.oHelp.cFileName) + "" + LOWER(JUSTSTEM(THIS.oHelp.cFileName)) + "HTML" + CHRTRAN(DTOC(DATE()),"/","-") + ".zip","zip", "Zip Files|*.zip",.F.)
wwutils.fxp | savefiledialog | C:\webconnection\fox\classes\wwutils.prg (2943) |
wwdotnetbridge.fxp | wwdotnetbridge.invokestaticmethod | C:\webconnection\fox\classes\wwdotnetbridge.prg (688) |
errors.fxp | ON... | C:\Program Files (x86)\West Wind Html Help Builder\errors.prg (120) |
Window:
WWHELPFORM
— You are receiving this because you are subscribed to this thread. Reply to this email directly, https://github.com/RickStrahl/HelpBuilderReleases/issues/106 view it on GitHub, or https://github.com/notifications/unsubscribe-auth/AAKPOPKDFIN26GR6WHBFMJLSDWSXLANCNFSM4QSO6YUQ unsubscribe.
What I mentioned in the description. Just clicked on that menu option.
What version is WWHB expecting?
Looks like the one in the HB bin folder is 7.12
Ok I was able to duplicate. Invalid parameter passed produces an unexpected misleading error. Will be fixed in the next release.
You can try do this from the Build Dialog now - Build then export to Zip from there. I believe that works and does the same thing.
+++ Rick ---
See below.
Version: 5.25.0
Error Message:
OLE IDispatch exception code 0 from wwDotNetBridge: Method 'Westwind.WebConnection.FileUtils.SaveFileDialog' not found...
Error Number: 1429
Module:
PROCEDURE WWDOTNETBRIDGE.INVOKESTATICMETHOD WWDOTNETBRIDGE.FXP
Line:
688
Call Stack:
c:\program files (x86)\west wind html help builder\wwhelp.vct | wwhelpform.tmrtoolbar.timer | c:\program files (x86)\west wind html help builder\wwhelp.vct (30) | thisform.DoEditOperation(lcName)
c:\program files (x86)\west wind html help builder\wwhelp.vct | wwhelpform.doeditoperation | c:\program files (x86)\west wind html help builder\wwhelp.vct (240) | lcZipFileName = SaveFileDialog(JUSTPATH(THIS.oHelp.cFileName) + "\" + LOWER(JUSTSTEM(THIS.oHelp.cFileName)) + "HTML" + CHRTRAN(DTOC(DATE()),"/\","-") + ".zip","zip", "Zip Files|*.zip",.F.)
Window:
WWHELPFORM