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 ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user