Does anyone have any experience with this error? I am getting it on one computer my app is installed on. This computer was running my code perfectly 2 days ago, but yesterday it stopped working in the following code. The only difference in the system is that i installed msttsa22l.exe on the system. This installs voice engines. I had already installed the text to speech apis and control panel before this and the app ran perfectly. It is only since the installation of these engines that the problem has occurred.

VB Code:
  1. For count = 0 To imagecount - 1
  2.         With frmReview.xwebpic1
  3.             MsgBox ("Setting new height")
  4.             .PictureNewHeight = 240
  5.             MsgBox ("Setting new width")
  6.             .PictureNewWidth = 320
  7.             MsgBox ("Setting image quality")
  8.             .JPGQuality = 100
  9.             MsgBox ("Loading file")
  10.             .InputFile = imagesToUpload(count)
  11.             MsgBox ("Doing Resize")
  12.             .PictureResize
  13.             MsgBox ("Saving Image")
  14.             .SaveToJPG (imagesToUpload(count))
  15.         End With
  16.        
  17.         MsgBox ("Changing File Attribute")
  18.         Call SetAttr(imagesToUpload(count), vbNormal)
  19.         MsgBox ("Doing Visual Stuff")
  20.         frmVideoEdit.Shape1(count).Visible = True
  21.         frmVideoEdit.Shape1(count).Refresh
  22.     Next

Can anyone help me with this - I am getting really desperate. The error occurs on the line
VB Code:
  1. .PictureNewHeight = 240

Thnx all in advance.