In order for this site to work correctly we need to store a small file (called a cookie) on your computer. Most every site in the world does this, however since the 25th of May 2011, by law we have to get your permission first. Please abandon the forum if you disagree.

Para que este foro funcione correctamente es necesario guardar un pequeño fichero (llamado cookie) en su ordenador. La mayoría de los sitios de Internet lo hacen, no obstante desde el 25 de Marzo de 2011 y por ley, necesitamos de su permiso con antelación. Abandone este foro si no está conforme.

Error using BrowseForFolderDlg

Xailer professional forum in English
Timm
Posts: 93
Joined: Mon Jun 21, 2010 11:01 am

Error using BrowseForFolderDlg

Postby Timm » Fri Dec 22, 2017 3:33 pm

Hi!

I get the error below from time to time. How can I get rid of it?

Best regards, Timm.


---------------- Information über die interne Fehlerbehandlung ----------------

Untersystemaufruf: BASE
Systemcode: 42
Default-Status: .F.
Beschreibung: Scope violation (protected)
Operation: TBROWSEFORFOLDERDLG:_CLASTFOLDER
Argumente:
Involvierte Dateien:
DOS-Fehlercode: 0

Aufgerufene Programmteile:
TBROWSEFORFOLDERDLG:_CLASTFOLDER (0)
TINTERNET:READFILE (0)
TFORM1:CALLAPI (1764)
TFORM1:READOPENORDERS (1880)
TFORM1:TIMERNEWORDERSTIMER (4958)
TTIMER:ONTIMER (0)
(b)XTIMER (43)
TTIMER:WMTIMER (0)
TBROWSEFORFOLDERDLG:RUN (0)
TBROWSEFORFOLDERDLG:BROWSEFOLDER (160)
TFORMSETUP2:BRWSIZESCOLUMN7BTNCLICK (225)
TDBBRWCOLUMN:ONBTNCLICK (0)
TGRIDEDIT:BTNCLICK (185)
TGRIDEDIT:XACLICK (112)
TMASKEDIT:WMLBUTTONUP (0)
TGRIDEDIT:WMLBUTTONUP (174)
TFORMSETUP2:SHOWMODAL (0)
TFORMSETUP:BTNMORESETUPCLICK (826)
TBTNBMP:ONCLICK (0)
TBTNBMP:CLICK (100)
(b)XCONTROL (156)
TBTNBMP:COMMAND (0)
TFOLDERPAGE:WMCOMMAND (275)
TFORMSETUP:SHOWMODAL (0)
(b)TFORM1_CREATEFORM (224)
TIMAGE:ONCLICK (0)
(b)XCONTROL (157)
TIMAGE:CLICK (0)
(b)XCONTROL (158)
TIMAGE:XACLICK (0)
TIMAGE:WMLBUTTONUP (0)
RUNFORM (0)
TAPPLICATION:RUN (287)
MAIN (30)
User avatar
ignacio
Site Admin
Posts: 8546
Joined: Mon Apr 06, 2015 8:00 pm
Location: Madrid, Spain
Contact:

Re: Error using BrowseForFolderDlg

Postby ignacio » Sat Dec 23, 2017 5:00 pm

Hello,

On file BROWSEFORFOLDER.PRG try to move the property cLastFolder to the RESERVED area:

PROTECTED:
DATA cLastFolder INIT "" >>>>>>>>>>>>>>>>> remove

RESERVED:
DATA cLastFolder INIT "" <<<<<<<<<<<<<<<<< Include

I attach the modified module.

Regards,
Attachments
BrowseForFolder.rar
(2.09 KiB) Downloaded 38 times
Ignacio Ortiz de Zúñiga
[Equipo de Xailer / Xailer team]
http://www.xailer.com
http://www.xailer.info
User avatar
jfgimenez
Site Admin
Posts: 5620
Joined: Mon Apr 06, 2015 8:48 pm
Contact:

Re: Error using BrowseForFolderDlg

Postby jfgimenez » Sun Dec 24, 2017 1:33 pm

Timm,

TInternet:ReadFile() has a call to ProcessMessages() inside it, and it seems that TBrowseForFolderDlg:cLastFolder is called from there somehow, which is very very strange. Please, send us a little and self contained example to research the problem in depth.
José F. Giménez
[Equipo de Xailer / Xailer team]
http://www.xailer.com
http://www.xailer.info
Timm
Posts: 93
Joined: Mon Jun 21, 2010 11:01 am

Re: Error using BrowseForFolderDlg

Postby Timm » Thu Dec 28, 2017 1:53 pm

Hi!

Unfortunatly I can not reproduce the error on my pc. It was report to me from several costumers.
I sent them an update - let´s see, if the error still appears.

Best regards, Timm

Return to “English”