Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
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
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
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
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
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
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
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 | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Joyfax Server - Client/server-based fax software allows you to sendand receive fax anywhere | Mailmerge | |||
TRY AGAIN - MY DOCUMENTS/WORD 2002 WON'T OPEN-SHOWS PHOTO EDITOR | Microsoft Word Help | |||
Office XP Photo editor | Microsoft Word Help | |||
Office XP Photo editor | New Users | |||
Photo Editor not on drop-down list of object types in Insert|Objec | Microsoft Word Help |