Displaying images in custom gallery Word 2010 (customUI)

V

viter.alex

I made a gallery which works perfectly in 2007, but in 2010 it doesn't
show images without pushing errors. This gallery shows thumbnails for
images from selected folder and paste corresponding image to the
document.
Global template can be downloaded here: http://wordexpert.ru/uploads/imagegallery.rar.
It's in Russian but very easy to understand. After opening find a new
group at the TabInsert. Then open the gallery, select folder with
images and you'll see images thumbnails in gallery if you're using
Word 2007. In the Word 2010 you'll see only numbers.
Preview: http://wordexpert.ru/uploads/imagegallery.png
Button in gallery with folder icon is for selecting folder with
images/ Second button is for gallery refresh
 
J

Janine

Hi Viter.Alex

You could try adding PtrSafe before Function in your code that throws the
error in 2010 Windows 7 x 64 for me and now I can open your project. As to
any other problems not sure. My Russian is non-existant.

If that's not problem please say so, so someone else can assist you.

Janine
 
J

Janine

Hi Viter.Alex,

Don't have time now but did you read up on CUSTOM xml for 2007 and 2010 are
separate parts - so you have to have two separate addins or put two parts in
one addin but 2007 will only work in 2007 and 2010 will only work in 2010.
The 2010 schema is readily available in the custom ui editor. That could be
issue for 2010 as you have set it up for 2007 addin only.
Let me know if that resolves your problem and please put in PTRSAFE before
function for Win 64 users (like me)...

Janine
 
V

viter.alex

Dear Janine
I fixed the problem with PtrSafe. You can download file follow the
same link
 
J

Janine

Viter.Alex,

Yes, so do I "macro not found" on opening your template in 2010.

If your code works in 2007 then I'm sure someone with 2007 installed will assist you.

You may trying looking at Greg Maxey's website at his custom ribbon templates http://gregmaxey.mvps.org/word_tips.htm for some assistance.

Janine
 

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