On 2006-12-12, at 21:25, Ed Harris wrote:

I have been trying various things - so far with no success.  The issue
appears to be more complex than I thought. The application displays html
documents sequentially when the user clicks a "Next" button.  When the
button is clicked, the application grabs the next html document, writes it
to the Temp.html file, then displays it in an html viewer control.

The problem arises if the user clicks the "Next" button quickly (on a slow machine), in which case the application tries to display the next document. It may be that the html viewer control is still in the process of displaying the document at the same time the code is trying to write the next html file. I am trying a number of things, including disallowing the "next" button to be clicked until the html DocumentComplete event fires, but so far
no good.

At the point that the CreateTextFile method returns a nil value, the folder item does not show as locked and read and write are both enabled, so I am
not sure why the file is considered locked.

Ed


It is NOT Locked, it is "in use" .. Perhaps the HTMLviewer have not closed it yet or "never" close it..

Sven E


_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to