Reply
 
Thread Tools Display Modes
  #1   Report Post  
Posted to microsoft.public.word.docmanagement
Scott Pendleton Scott Pendleton is offline
external usenet poster
 
Posts: 2
Default Very important: What OLE Server replaced MS Photo Editor?

If you use VBA to add a photo to a Word document, you have to have the OLE
Server, MS Photo Editor, installed or else the photo will be inserted as a
"package object" icon instead of as a photo.

However, Office 2003 and onward automatically removes MS Photo Editor
because Microsoft replaced it with Photo Organizer (or some such thing). But
the replacement software evidently does not act as an OLE Server. So to have
photos inserted as photos, you have to go back and reinstall MS Photo Editor.

What's the Microsoft-recommended action to clear up the situation?
  #2   Report Post  
Posted to microsoft.public.word.docmanagement
Bob Buckland ?:-\) Bob   Buckland ?:-\) is offline
external usenet poster
 
Posts: 2,073
Default Very important: What OLE Server replaced MS Photo Editor?

Hi Scott,

You may want to use the link below to also post this in the Word Programming discussion group. In general pictures aren't inserted
in Word as Objects (Insert=Object), because of the overhead but via Insert=Picture=From File, which may preclude the issue you're
seeing. The setting in Word 2003 for Tools=Options=Edit for 'Picture Editor' defaults to Word after Word 2002.


==============
"Scott Pendleton" wrote in message
...
If you use VBA to add a photo to a Word document, you have to have the OLE
Server, MS Photo Editor, installed or else the photo will be inserted as a
"package object" icon instead of as a photo.

However, Office 2003 and onward automatically removes MS Photo Editor
because Microsoft replaced it with Photo Organizer (or some such thing). But
the replacement software evidently does not act as an OLE Server. So to have
photos inserted as photos, you have to go back and reinstall MS Photo Editor.

What's the Microsoft-recommended action to clear up the situation?
--
Please let us know if this has helped,

Bob Buckland ?:-)
MS Office System Products MVP

*Courtesy is not expensive and can pay big dividends


LINKS
A. Specific newsgroup/discussion group mentioned in this message:
news://msnews.microsoft.com/microsof...rd.programming
or via browser:
http://microsoft.com/communities/new...rd.programming

B. MS Office Community discussion/newsgroups via Web Browser
http://microsoft.com/office/communit...s/default.mspx
or
Microsoft hosted newsgroups via Outlook Express/newsreader
news://msnews.microsoft.com



  #3   Report Post  
Posted to microsoft.public.word.docmanagement
Scott Pendleton Scott Pendleton is offline
external usenet poster
 
Posts: 2
Default Very important: What OLE Server replaced MS Photo Editor?

On the one hand you refer my question to the Programming sub-newsgroup, andon
the other you talk about menu selections, as if programming were not involved
but rather a user interface question...

Let's get right to the code that gives me a package object instead of a photo:

Dim oWord as New Word.Application
Dim oDoc as New Word.Document
Dim oRange as Word.Range
Set oRange = oDoc.Content
oDoc.InlineShapse.AddOLEObject
DisplayAsIcon:=False,Filename:="C:\MyPhoto.jpg",Ra nge:=oRange

If you do not have Microsoft Photo Editor installed, Word will not recognize
the Jpeg and so will insert it into your document as a Package Object,
represented by an icon, instead of as a photo that is displayed as a photo.

Now, if some other OLE Server were associated with JPEGs, then I'm sure that
would work fine instead of MS Photo Editor. So, is there one for Office 2003+
users? Or do they have to go back and reinstall MS Photo Editor?

Hope this is more clear.

Thanks,
Scott





"Bob Buckland ?:-)" wrote:

Hi Scott,

You may want to use the link below to also post this in the Word Programming discussion group. In general pictures aren't inserted
in Word as Objects (Insert=Object), because of the overhead but via Insert=Picture=From File, which may preclude the issue you're
seeing. The setting in Word 2003 for Tools=Options=Edit for 'Picture Editor' defaults to Word after Word 2002.


  #4   Report Post  
Posted to microsoft.public.word.docmanagement
Robert M. Franz (RMF) Robert M. Franz (RMF) is offline
external usenet poster
 
Posts: 1,741
Default Very important: What OLE Server replaced MS Photo Editor?

Hello Scott

Scott Pendleton wrote:
On the one hand you refer my question to the Programming sub-newsgroup, andon
the other you talk about menu selections, as if programming were not involved
but rather a user interface question...


that's why this really is not a programming newsgroup. :-)

So, if you want to talk VBA, as Bob suggests, one of the .vba newsgroups
might yield a better result -- or else, there is
microsoft.public.word.oleinterop ...

But from a general POV: why do you want to insert a JPEG as an OLE
object in the first place? This is by no means obvious, especially since
you usually don't want to enable your users to change the picture you've
invested time and code to insert.

2ΒΆ
Robert
--
/"\ ASCII Ribbon Campaign | MSFT |
\ / | MVP | Scientific Reports
X Against HTML | for | with Word?
/ \ in e-mail & news | Word | http://www.masteringword.eu/
Reply
Thread Tools
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Joyfax Server - Client/server-based fax software allows you to sendand receive fax anywhere [email protected] Mailmerge 0 July 15th 08 04:35 AM
TRY AGAIN - MY DOCUMENTS/WORD 2002 WON'T OPEN-SHOWS PHOTO EDITOR Ruthjoan Microsoft Word Help 2 February 2nd 08 07:21 PM
Office XP Photo editor JethroUK Microsoft Word Help 2 December 9th 05 04:18 PM
Office XP Photo editor JethroUK New Users 2 December 9th 05 04:18 PM
Photo Editor not on drop-down list of object types in Insert|Objec magda Microsoft Word Help 2 June 10th 05 01:01 PM


All times are GMT +1. The time now is 07:10 AM.

Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 Microsoft Office Word Forum - WordBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Word"