vb Script problem under Office XP:graphics filter was unable to convert the file

P

Pedro

Hi!
I have a script in a vb4 apllication that inserts an image in a ms word document.
This works fine in office 2000 and previous but in office xp i get the error:
graphics filter was unable to convert the file.
Thanks in advance.
Pedro.



'Create an instance of Word
Dim objWord As Object
Set objWord = CreateObject("word.basic")


The part where i insert the image:

InsertWordImage sImage1, objWord


My sub
Private Sub InsertWordImage(sImage, objWord)
Select Case versaoword
Case 1
objWord.InsertPicture sImage
Case 2
objWord.InserirImagem sImage
End Select

End Sub
 
W

Word Heretic

G'day (e-mail address removed) (Pedro),

I had this recently myself under <spits> XP. Sorry I don't have any
salient info as to what caused it.

Steve Hudson - Word Heretic
Want a hyperlinked index? S/W R&D? See WordHeretic.com

steve from wordheretic.com (Email replies require payment)


Pedro reckoned:
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top