Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#17 Type Mismatch error on startup

BKM 4-pre
closed-fixed
nobody
Code (29)
5
2002-05-19
2002-04-04
Anonymous
No

If system date format is set to UK (dd/mm/yyyy), and
possibly any format other than German (dd.mm.yyyy), and
the autoupdate feature is enabled, the program displays
a "Type Mismatch" error on startup and immediately
shuts down.

This is caused by the following line in frmMain.Form_load:

> If (DateDiff("d", GetSetting(App.Title, "settings",
"LastUpdateCheck", CDate("01.01.1900")), Now) >=
cSettings.intAutoUpdate) Then

The CDate needs to be changed to this to work with all
date settings:

> CDate("01 jan 1900")

This may need to be translated for the German version.

Same problem will apply to the CDate call in
clsHTTPThreadNotify.Header but I haven't tested that.

Discussion

  • Patrice Neff
    Patrice Neff
    2002-05-19

    • status: open --> closed-fixed
     
  • Patrice Neff
    Patrice Neff
    2002-05-19

    Logged In: YES
    user_id=235803

    Thank you. Please try the next release or current CVS version.