Re: [Gambas-user] Too many open files error message

2010-05-04 Thread richard terry
On Tuesday 04 May 2010 21:44:48 Dimitris Anogiatis wrote: > Hey Ricard, > > just as a quick workaround try replacing the Open - Close code with > > File.Save(sFilename, sHTML) > > You might circumvent the "Too many files open" error, which I am unsure why > it comes up. > > Perhaps the total nu

Re: [Gambas-user] Too many open files error message

2010-05-04 Thread Doriano Blengino
Benoît Minisini ha scritto: >> This routine is called by my program, consecutively a large number of times >> during an automated process: >> >> Public Sub Display_HTML(sHTML As String, wb As WebView, Optional prefix As >> String = "html") >> >> Dim wFile As File >> Dim sFilename As String >> >

Re: [Gambas-user] Too many open files error message

2010-05-04 Thread Benoît Minisini
> This routine is called by my program, consecutively a large number of times > during an automated process: > > Public Sub Display_HTML(sHTML As String, wb As WebView, Optional prefix As > String = "html") > > Dim wFile As File > Dim sFilename As String > > sFilename = Temp$(prefix) & ".h

Re: [Gambas-user] Too many open files error message

2010-05-04 Thread Rolf Schmidt
Hi Richard > This routine is called by my program, consecutively a large number of times > during an automated process: > > Public Sub Display_HTML(sHTML As String, wb As WebView, Optional prefix As > String = "html") > > Dim wFile As File > Dim sFilename As String > > sFilename = Temp$(pref

Re: [Gambas-user] Too many open files error message

2010-05-04 Thread Dimitris Anogiatis
Hey Ricard, just as a quick workaround try replacing the Open - Close code with File.Save(sFilename, sHTML) You might circumvent the "Too many files open" error, which I am unsure why it comes up. Perhaps the total number of open files within your project is too much or the opening and closing

[Gambas-user] Too many open files error message

2010-05-04 Thread richard terry
This routine is called by my program, consecutively a large number of times during an automated process: Public Sub Display_HTML(sHTML As String, wb As WebView, Optional prefix As String = "html") Dim wFile As File Dim sFilename As String sFilename = Temp$(prefix) & ".html" wfile =