I have an application that automatically creates a PowerPoint presentation; I am in the process of upgrading the application to Windows 7 and Office 2007 (it currently runs on Windows XP and Office 2003). The way I create the presentation is by programatically
copying a range from an Excel worksheet to a PowerPoint slide, on some of my slides I have Shape objects also and for those slides I programatically set the text like "this.PowerPointSlide.Shapes[0].TextFrame.TextRange.Text = "some text";". While testing
my application I get the following error (the name of the .tmp file changes with each run of the application):
Path/File access error:
C:\Users\USER\AppData\Local\Temp\VBEF22.tmp
The presentation is over 200 slides long and typically I get this error near the end of the creation process, but it varies. If I do not programatically set the Shapes TextFrame.TextRange.Text property then I do not get this error. I've tried running my
application as administrator and that didn't work either.
There is a temp file with a similar name, but it is off by 2; for example if I get the error "C:\Users\USER\AppData\Local\Temp\VBEF22.tmp" there will be a file in the temp folder named "C:\Users\USER\AppData\Local\Temp\VBEF24.tmp".
Any help will be greatly appreciated,
Bruce