RickStrahl / HelpBuilderReleases

West Wind Html Help Builder Releases and Bug Reporting
http://helpbuilder.west-wind.com
8 stars 3 forks source link

WWHB throws an error when attempting to use Tools->Export HTML output to Zip file #106

Closed rikaye closed 4 years ago

rikaye commented 4 years ago

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:

  1. c:\program files (x86)\west wind html help builder\wwhelp.exe | wwhelpmain | C:\Program Files (x86)\West Wind Html Help Builder\wwhelpmain.prg (307) |

  1. 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)

  2. 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.)

  3. wwutils.fxp | savefiledialog | C:\webconnection\fox\classes\wwutils.prg (2943) |

  1. wwdotnetbridge.fxp | wwdotnetbridge.invokestaticmethod | C:\webconnection\fox\classes\wwdotnetbridge.prg (688) |

  1. errors.fxp | ON... | C:\Program Files (x86)\West Wind Html Help Builder\errors.prg (120) |

Window:

WWHELPFORM

RickStrahl commented 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:

  1. c:\program files (x86)\west wind html help builder\wwhelp.exe | wwhelpmain | C:\Program Files (x86)\West Wind Html Help Builder\wwhelpmain.prg (307) |


  2. 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)


  3. 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.)


  4. wwutils.fxp | savefiledialog | C:\webconnection\fox\classes\wwutils.prg (2943) |


  5. wwdotnetbridge.fxp | wwdotnetbridge.invokestaticmethod | C:\webconnection\fox\classes\wwdotnetbridge.prg (688) |


  6. 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.

rikaye commented 4 years ago

What I mentioned in the description. Just clicked on that menu option.

What version is WWHB expecting?

rikaye commented 4 years ago

Looks like the one in the HB bin folder is 7.12

RickStrahl commented 4 years ago

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 ---