From: Southern at Heart on 21 Jan 2010 23:16 It doesn't work! When I run my completed code, I get the message: 'The graphics filter was unable to convert this file' Any ideas? the picture in this case is located at: http://imgsrv.gocomics.com/dim/?fh=fd933fd26e764bfd5ca061710701f811&w=900.0 thanks again.
From: Fumei2 via OfficeKB.com on 22 Jan 2010 16:03 http://imgsrv.gocomics.com/dim/?fh=fd933fd26e764bfd5ca061710701f811&w=900.0 or, rather... ?fh=fd933fd26e764bfd5ca061710701f811&w=900.0 is NOT a valid file format to Word. This is the whole point of web-based images doing this. If you notice the previous example had a .GIF extension. This Word understands. Southern at Heart wrote: >It doesn't work! >When I run my completed code, I get the message: >'The graphics filter was unable to convert this file' >Any ideas? >the picture in this case is located at: >http://imgsrv.gocomics.com/dim/?fh=fd933fd26e764bfd5ca061710701f811&w=900.0 > >thanks again. -- Message posted via OfficeKB.com http://www.officekb.com/Uwe/Forums.aspx/word-programming/201001/1
From: Karl E. Peterson on 22 Jan 2010 20:13 It happens that Southern at Heart formulated : > It doesn't work! > When I run my completed code, I get the message: > 'The graphics filter was unable to convert this file' > Any ideas? > the picture in this case is located at: > http://imgsrv.gocomics.com/dim/?fh=fd933fd26e764bfd5ca061710701f811&w=900.0 You'll need to use "another method" to download it, saving to a temp file, then opening the saved temp file. Here's one way: http://vbnet.mvps.org/code/internet/urldownloadtofilenocache.htm If this were VB6, I'd point you instead towards the AsyncRead method of a UserControl - http://vb.mvps.org/samples/NetGrab Problem just got messier. -- ..NET: It's About Trust! http://vfred.mvps.org
|
Pages: 1 Prev: Formatting "Caps" in a Style Next: add multiple labels sizes to word as an new producer |