[Gambas-user] Fwd: Strean closed at program wns

Dag JNJ gambas at cd-bahia.com
Thu Sep 30 00:49:35 CEST 2021


Got something on Setting.Save I don't understand.

The code:

P/ublic Sub OptionsSave()//
//
//  'Allgemein Tab 0//
//  Settings.Clear("Options")//
//  Settings["Options/DataPath"] = OPT_DataPath//
//  Settings["Options/StammPth"] = OPT_StammPth//
//  Settings["Options/UID"] = UID//
//  Settings["Options/UIDP"] = UIDP//
//  Settings["Options/DelConf"] = OPT_DelConf//
//  Settings["Options/TipsOS"] = OPT_TipsOS//
//  Settings["Options/SNDbep"] = OPT_SNDbep//
//  Settings["Options/SNDend"] = OPT_SNDend//
//  Settings["Options/SNDerr"] = SNDerr//
//
//  'Oberfläche Tab 1//
//  Settings["FLD/FLD_va"] = FLD_va//
//  Settings["FLD/FLD_H"] = FLD_H//
//  Settings["FLD/FLD_B"] = FLD_B//
//  Settings["FLD/FLD_Hta"] = FLD_Hta//
//  Settings["FLD/FLD_Bta"] = FLD_Bta//
//  Settings["FLD/FLD_Bint"] = FLD_Bint//
//  Settings["FLD/FLD_Mint"] = FLD_Mint//
//  Settings["FLD/FLD_Bdec"] = FLD_Bdec//
//  Settings["FLD/FLD_Mdec"] = FLD_Mdec//
//  Settings["FLD/FLD_Bdat"] = FLD_Bdat//
//  Settings["FLD/FLD_Mdat"] = FLD_Mdat//
//  Settings["FLD/FLD_Btim"] = FLD_Btim//
//  Settings["FLD/FLD_Mtim"] = FLD_Mtim//
//  Settings["FLD/FLD_LBLw"] = FLD_LBLw//
//  Settings["FLD/FLD_TTBl"] = FLD_TTBL//
//  Settings["FLD/FLD_TTAL"] = FLD_TTAL//
//  Settings["FLD/FLD_TSW"] = FLD_TSW//
//  Settings["FLD/FLD_TSWL"] = FLD_TSWL//
//
//  Settings["FLD/FLD_LBLw"] = FLD_LBLw//
//  Settings["FLD/FLD_CBB"] = FLD_CBB//
//  Settings["FLD/FLD_CBH"] = FLD_CBH//
//  Settings["FLD/FLD_CBB"] = FLD_SBB//
//  Settings["FLD/FLD_CBH"] = FLD_SBH//
//
//  'Generate Tab 2//
//  Settings["Options/ProjektPth"] = OPT_ProjektPth//
//  'Settings["Options/LastBUPth"] = OPT_LastBUPth//
//  'Settings["Options/LastBUF"] = OPT_LastBUF//
//  'Settings["Options/LastBUS"] = OPT_LastBUS//
//  Settings.Save/

/End
/

Please see attatchment.


Am 30.09.21 um 00:21 schrieb Jussi Lahtinen:
> Stream can be used for many other things than just writing files. 
> Extremely hard to say what exactly is happening without seeing more code.
> Can you send the code or alternatively, isolate the problem into a 
> small runnable project?
>
>
> Jussi
>
> On Thu, Sep 30, 2021 at 12:01 AM Dag JNJ <gambas at cd-bahia.com 
> <mailto:gambas at cd-bahia.com>> wrote:
>
>     Hi,
>
>     I have now a problem ending a running program in the IDE.
>
>     It does not end, even if I close the last (current and
>     start-class) form.
>
>     The problem is - I don't try to write anything in a file (stream)
>     at all
>     at this point.
>
>     Does it have something to do with the Settings perhaps? I save them
>     before I end the program though.
>
>     Thanks for any advice,
>
>     Dag JNJ
>
>     PS. See attatchment.
>
>
>     ----[ http://gambaswiki.org/wiki/doc/netiquette
>     <http://gambaswiki.org/wiki/doc/netiquette> ]----
>
>
> ----[http://gambaswiki.org/wiki/doc/netiquette  ]----
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20210930/694d84e7/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Bildschirmfoto zu 2021-09-30 00-45-42.png
Type: image/png
Size: 28175 bytes
Desc: not available
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20210930/694d84e7/attachment-0001.png>


More information about the User mailing list