[Gambas-user] Two problems, might be local
Benoît Minisini
gambas at ...1...
Tue May 1 02:11:51 CEST 2012
Le 01/05/2012 02:03, Bruce Bruen a écrit :
> Final comments for now.
>
> 1) Is the previous method I posted that causes the IDE crash
> reproduceable?
I will look as soon as possible.
>
> 2) in the IDE Project.module, in the LoadFile function, towards the
> bottom of the function is the following code:
>
> Files[sPath] = hForm
> If hForm Then
> bError = hForm.LoadFile()<======HERE!
> If bError Then
> Files[sPath] = Null
> Try hForm.Delete
> Dec Application.Busy
> Return
> Endif
> hForm.Icon = GetFileIcon(sPath, 16)
> Endif
>
> If hForm Then FSearch.OnNewForm(hForm)
>
> Dec Application.Busy
>
> Endif
>
> Return hForm
>
> 'Catch
---> Apparently I forgot to remove the comment on this line...
>
> Dec Application.Busy
> Files[sPath] = Null
> FMain.ShowError(("Cannot open file.")& "\n\n"& Error.Text& "\n"&
> Error.Where, sPath)
>
> End
>
--
Benoît Minisini
More information about the User
mailing list