New topic: Failed build [fixed]
<http://forums.realsoftware.com/viewtopic.php?t=33751> Page 1 of 1 [ 2 posts ] Previous topic | Next topic Author Message brisance Post subject: Failed build [fixed]Posted: Wed May 12, 2010 4:58 am Joined: Tue Oct 06, 2009 2:38 am Posts: 230 My application has been compiling fine on a daily basis until I added this code to a Pushbutton's Action event. It is essentially the same thing as what was provided in the help documentation. Code: dim excel As New ExcelApplication dim book As ExcelWorkbook dim sheet As ExcelWorksheet excel.visible = true book = excel.Workbooks.Add excel.ActiveSheet.Name = "TPM Schedule for Year" dim limit As Integer = PMSchedLB.ListCount - 1 for i As Integer = 0 to limit excel.Range( "A" + str( i + 1 ), "A" + str( i + 1 ) ).Value = PMSchedLB.Cell( i, 0 ) excel.Range( "B" + str( i + 1 ), "B" + str( i + 1 ) ).Value = PMSchedLB.Cell( i, 1 ) next Exception err as OLEException msgbox err.Message Here's the error message: Excel is installed on my system. I've also tried to clear the REALbasic cache yet the problem persists. Any ideas? RB2010R2 on Windows XP SP3 _________________ Mike Ash: Getting Answers Last edited by brisance on Wed May 12, 2010 5:49 am, edited 1 time in total. Top brisance Post subject: Re: Failed buildPosted: Wed May 12, 2010 5:49 am Joined: Tue Oct 06, 2009 2:38 am Posts: 230 Never mind. Rebooting the damn machine after clearing the cache seems to have solved it. Might also be due to the fact that the Windows Automatic Update program was running in the background. KB978542 KB981725 KB890830 KB976382 _________________ Mike Ash: Getting Answers Top Display posts from previous: All posts1 day7 days2 weeks1 month3 months6 months1 year Sort by AuthorPost timeSubject AscendingDescending Page 1 of 1 [ 2 posts ] -- Over 1500 classes with 29000 functions in one REALbasic plug-in collection. The Monkeybread Software Realbasic Plugin v9.3. http://www.monkeybreadsoftware.de/realbasic/plugins.shtml [email protected]
