FoxInCloud
VFP - Menu manager error
Gravatar is a globally recognized avatar based on your email address. VFP - Menu manager error
  Vincent H.
  All
  Nov 7, 2020 @ 11:40pm

Hi all,

Recently, I got this error when launching some screens.
These do not execute menus.
I checked the integrity of my tables, my screen, my classes and deleted foxuser* as I read it was advised.
Nothing to do.
The VFP log is not more explicit.
An idea ?
Thanks in advance

Gravatar is a globally recognized avatar based on your email address. re: VFP - Menu manager error
  Vincent H.
  Vincent H.
  Nov 8, 2020 @ 02:37am

Here is my vfp log file:

Fatal error: Exception code=C0000005 @ 08/11/2020 11:24:19. Error log file: C:\Program Files (x86)\Microsoft Visual FoxPro 9\vfp9err.log
	Called from -  vargen_scx.dossier.pageact1.refresh line 31  {c:\program files (x86)\microsoft visual foxpro 9\tools\ab\aw.vct c:\program files (x86)\microsoft visual foxpro 9\tools\ab\aw.vct}
	Called from -  vargen_scx.dossier.refresh line 30  {c:\program files (x86)\microsoft visual foxpro 9\tools\ab\aw.vct c:\program files (x86)\microsoft visual foxpro 9\tools\ab\aw.vct}
	Called from -  vargen_scx.refresh line 34  {c:\program files (x86)\microsoft visual foxpro 9\tools\ab\aw.vct c:\program files (x86)\microsoft visual foxpro 9\tools\ab\aw.vct}
	Called from -  awapphost.formlaunch_ line 2894  {c:\program files (x86)\vfp9\tools\ab\aw\awapphost.prg c:\program files (x86)\microsoft visual foxpro 9\tools\ab\aw\awapphost.fxp}
	Called from -  awapphost.formlaunch line 2659  {c:\program files (x86)\vfp9\tools\ab\aw\awapphost.prg c:\program files (x86)\microsoft visual foxpro 9\tools\ab\aw\awapphost.fxp}
	Called from -  awapphost.oform line 2237  {c:\program files (x86)\vfp9\tools\ab\aw\awapphost.prg c:\program files (x86)\microsoft visual foxpro 9\tools\ab\aw\awapphost.fxp}
	Called from -  wformnoshow line 1305  {c:\program files (x86)\microsoft visual foxpro 9\tools\ab\awpublic.prg c:\program files (x86)\microsoft visual foxpro 9\tools\ab\awpublic.fxp}
...
Gravatar is a globally recognized avatar based on your email address. re: VFP - Menu manager error
  FoxInCloud Support - Thierry N.
  Vincent H.
  Nov 9, 2020 @ 03:37am

Error occurs on dodefault()

Please check code in vargen_scx.dossier.pageact1.members.refresh_(), and/or set a breakpoint before dodefault() and see where execution stops.

Gravatar is a globally recognized avatar based on your email address. re: VFP - Menu manager error
  Vincent H.
  FoxInCloud Support - Thierry N.
  Nov 9, 2020 @ 04:20am

Thank you Thierry, I had tried all that but the problem is not in my code. I finally found it.
In a combobox, with RowsourceType = 1, RowSource cannot be empty ! This causes the message I posted.

© 1996-2020