PDF thumbnails from VBA
I was asked to develop a form where user can see a pdf thumbnail of a pdf file. It was pretty far from what I have been developing so I decided to use "uncle" google to find a solution. There are some solutions but nothing what was expecting. You can use paid version of Adobe or free Adobe Acrobat ActiveX (Acropdf1) or some others free tools that can work along a pdf file. I tested only the free version of Acrobat ActiveX component and it was really nightmare. Then I found a C# project using the GhostScript tool for creating a pdf thumbnail. Unfortunatelly VBA cannot work with this project directly. Read more to find solution.
As I mentioned you can use the Acropdf1 activeX which is automatically installed with the Adobe Reader application.

How to add the Acropdf1 activeX on a VBA form
At the first time the activeX seemed to be a good solution but then I found two "bugs". The first one is more important than the second one. The activeX takes focus and never give it back and if you press the "TAB" key, then the whole application will crash. It's very known bug but Adobe cannot fix it for some reason. And the second bug rather behavior - of the activeX control is uncomfortable - it always takes focus and never give it back and also you don't have option to find out if a pdf document is fully loaded or not. My client was complaining about that for many times so I decided to find another solution.
I found code from Matthew Ephraim. where he uses a free tool Ghostscrip and .NETFramework 3.5 and C#. Form Visual Studio you can use his tool without any problems just include it into your project. Unfortunately we cannot use his dll directly from VBA. That was the reason why I took his code and made a little adjustment to expose methods from his project to the COM object.
Now - after registration the dll to your system - you can reference the dll as usually and use it !!! And it works great.

Who is interested how to create a C# dll that can work with VBA I attached the zip file with entire C# solution. Look at the Attachment section.
And who just want to use it as soon as possible, download the installer and install it. I also prepare a sample and you can find everything in the Attachment section.
The installer just check if your system contains the .NETFramework 4 and if not, it will suggest to download it and then register the dlls into your system.
Your code can look like this one
and then you can take the output file as an ordinary image file and load it - for example - to an image control.
Option Explicit
'********************************************************************************
'TestPDFThumbnailGeneration
'
' Purpose: It uses reference to GhostscriptWrapper library.
' From a pdf file creates a jpg file that represents a thumbnail of the pdf.
' You can set page number and DPI quality.
'
' Inputs: -none-
'
' Outputs: -none-
'
' Created: 02/10/2011 Premysl Lazecky
'
' Modified: .
'
'********************************************************************************
Sub TestPDFThumbnailGeneration()
Dim PDF As GhostscriptWrapper
Dim strPath As String
Dim strInputFile As String
strInputFile = "Test.pdf"
strPath = ActiveWorkbook.Path
If Right$(strPath, 1) <> Application.PathSeparator Then
strPath = strPath & Application.PathSeparator
End If
Set PDF = New GhostscriptWrapper
PDF.GeneratePDFThumb inputPath:=strPath & strInputFile, _
outputPath:=strPath & "Output.jpg", _
Page:=1, _
Width:=72, Height:=72
Set PDF = Nothing
End Sub
As the result of this code you will get a jpg file called Output.jpg with thumbnail of defined page in the pdf file - in this case page 1 - with defined resolution.
Attachments
Installer and sample files
C# project
Komentáře
Přehled komentářů
Купить Супер Тадарайз с доставкой https://kupit-super-tadarajz.ru/
Высокое качество производства Индии в наличии
https://kupit-super-tadarajz.ru/
(kupit-super-tadarajz.ru, 17. 2. 2026 17:20)
Купить Супер Тадарайз с доставкой https://kupit-super-tadarajz.ru/
Высокое качество производства Индии в наличии
Порошковое Покрытие
(ShermanKefly, 15. 2. 2026 19:59)
АвангардМеталл Адрес: г https://mobelmetall.ru/lazernaya-svarka-dubna
Екатеринбург, ул https://mobelmetall.ru/
Папанина, д https://mobelmetall.ru/blog/poroshkovaya-pokraska-dubna
3, кв https://mobelmetall.ru/aboutus
130 Тел.: +7 800 250-67-55,250-47-55 https://mobelmetall.ru/poroshkovaya-pokraska-dubna
ООО «Березовский ЗСК» – одно из масштабных предприятий Свердловской области, которое уже более 70 лет осуществляет выпуск практичных и долговечных ЖБИ https://mobelmetall.ru/contacts
Главенствующей спецификой завода железобетонных изделий и конструкций является https://mobelmetall.ru/aboutus
Детская площадка https://mobelmetall.ru/questions
ру Мы специализируемся на производстве детских игровых комплексов, МАФ, уличной мебели и спортивного оборудования https://mobelmetall.ru/aboutus
На нашем сайте вы найдете: Разнообразие игрового оборудования: мы предлагаем как традиционные игровые элементы, такие https://mobelmetall.ru/poroshkovaya-pokraska-dubna
«Омский завод электротоваров» был организован в 1999 году https://mobelmetall.ru/blog/poroshkovaya-pokraska-dubna
Основой выпуска были товары народного потребления и детские игры https://mobelmetall.ru/blog
Сегодня ЗАО «ОмЗЭТ» стабильно работающее и динамично развивающееся предприятие https://mobelmetall.ru/
За прошедшие 20 лет модернизированы https://mobelmetall.ru/blog
В России работают несколько крупных заводов, таких как "Челябинский металлургический завод", "Северсталь", "Металлоинвест" и другие, которые занимают лидирующие позиции в производстве металлоконструкций для различных отраслей https://mobelmetall.ru/lazernaya-rezka-dubna
Арсенал СТ Адрес: г https://mobelmetall.ru/policy
Смоленск, п https://mobelmetall.ru/aboutus
Тихвинка, д https://mobelmetall.ru/blog/poroshkovaya-pokraska-dubna
71 Тел.: +7 4812 41-91-55,8-800-775-35-01 https://mobelmetall.ru/blog/poroshkovaya-pokraska-dubna
DUCK VPN - быстрый интернет каждый день
(DannyInseK, 14. 2. 2026 17:17)
Решение DUCK VPN стабильно функционирует в России и надёжно обходится с ограничениями, которые мешают привычному доступу к сайтам и сервисам. Соединение остаётся стабильным и быстрым: страницы загружаются без задержек, видео работает без буферизации, приложения работают без обрывов. Одновременно сервис обеспечивает надёжный уровень конфиденциальности и защиты данных, поскольку трафик шифруется, а пользовательская активность остаётся конфиденциальной. Подробные инструкции, обновления и рекомендации по настройке доступны в официальном канале https://t.me/duckvpn_official где регулярно публикуется ключевые сведения о работе сервиса и его возможностях.
Отдельного внимания заслуживает, что DUCK VPN корректно работает со всеми крупнейшими мобильными операторами РФ, позволяя обходить блокировки без сложных настроек и дополнительных манипуляций. Подключение занимает минимум времени, интерфейс интуитивно понятен даже для тех, кто ранее не использовал VPN, а соединение остаётся быстрым и устойчивым. Это особенно важно для стриминга, мессенджеров и ежедневного использования интернета. Актуальные новости, изменения и детали о тестовом доступе можно найти в https://t.me/s/duckvpn_official где собраны все важные сведения о сервисе.
Исследования рынка и бизнес-трендов
(RobertSmala, 14. 2. 2026 9:49)
Привет всем!
В категории «Бизнес-идеи» представлены практичные и оригинальные решения для малого бизнеса, которые можно адаптировать под разные бюджеты и регионы. Подборка помогает предпринимателям находить перспективные направления, тестировать гипотезы и запускать проекты без лишних экспериментов. Используйте оригинальные идеи для малого бизнеса, чтобы выделиться среди конкурентов. Оригинальные идеи для малого бизнеса часто основаны на локальных проблемах, которые крупные игроки игнорируют. Это создаёт пространство для роста и лояльности.
Вся информация на сайте - https://business-mentor.ru/biznes-idei/
бизнес-идеи для мужчин, как интегрировать чат-боты, как делегировать задачи
бизнес, который можно запустить за 1 день, кейсы ремесленного производства, как оформить бизнес юридически
Всего наилучшего и развития!!
https://digitalguyde.com/articles/code_promo_175.html
(Andreweneri, 13. 2. 2026 23:21)Visit the brand-new official page : https://ar29.ru/pars/doms/1xbet-promokod-pri-registracii-besplatno.html
https://kupit-super-tadarajz.ru/
(kupit-super-tadarajz.ru, 12. 2. 2026 15:21)
Купить Супер Тадарайз с доставкой https://kupit-super-tadarajz.ru/
Высокое качество производства Индии в наличии
https://kupit-dzhenerik-sialis-40mg.ru/
(kupit-dzhenerik-sialis-40mg.ru, 12. 2. 2026 4:54)https://kupit-dzhenerik-sialis-40mg.ru/
https://kupit-dzhenerik-sialis-40mg.ru/
(kupit-dzhenerik-sialis-40mg.ru, 11. 2. 2026 23:38)https://kupit-dzhenerik-sialis-40mg.ru/
https://kupit-dzhenerik-sialis-40mg.ru/
(kupit-dzhenerik-sialis-40mg.ru, 11. 2. 2026 20:15)https://kupit-dzhenerik-sialis-40mg.ru/
How Regulatory Signals Travel Across Fintech Markets
(Kundnani#Nicky[Ehydorivlicyzude,2,5,Gope], 8. 2. 2026 23:32)
An international context places Alchemy and Xoala within public materials mentioning Nicky Gope Kundnani before iFX EXPO Dubai 2026. https://medium.com/@grammalas6/how-regulatory-signals-travel-across-fintech-markets-0c81ba59dcee
Generate complimentary Telegram robot for generating gifts, subscriptions. Ultra grow groups!
(XRumer23Fooky, 8. 2. 2026 11:42)
Free Telegram bot for creating presents, paid access. Amazing boost TG channels!
Our team presents for you this powerful Telegram bot:
1) Generate presents
It’s possible to generate a variety of present, including special access, info, photos, video content, visuals, vouchers, discount coupons, promo discounts, discount codes, and more, with custom rule to claim your present. Specifically, requirement to claim the gift is subscribing your channels you chose at setup + some number of hits on your referral link inside the bot.
It’s possible to use our free version to do this; but, to activate it, you must add a few of our channels among your subscriptions.
Please open Netxmix bot @netxmixbot press "START" then tap "FREE GIFT".
Secondly Make paid memberships in TG channels and groups
You can make premium access for your channels and groups with Netxmix bot. Payments and payouts auto-processed and processed digital currency.
To make a paid subscription, simply go to @netxmixbot https://t.me/netxmixbot press "start" then PROFILE then CHANNELS - add.
With Netxmix it’s possible to access a large number freebies which our users previously created, and you can you can get absolutely for free.
Just press on the "gifts" menu in our bot.
Join us https://t.me/netxmixbot
Completely free new over 10B GPT, IPTV, Google, cloud storage, Steam, Game, private networks, Discord, messenger, storage, and more databases in our Netxmix bot.
To access DBs please use this link or just send start to bot, select Free Gifts from menu, select category ulp-databases, NET-Archives, ncloud-archives then tap on DB.
262M fresh database in blockchain traffic:
@netxmixbot?start=gift_1
10+ billions ULP real data of financial, news, soft users:
https://t.me/netxmixbot?start=gift_4
Tons of other databases at Netxmix, simply join @netxmixbot and get new DBs every day:
@netxmixbot
https://generik78.ru/kombinirovannye/kupit-super-tadarajz-v-spb
(https://generik78.ru/levitra/kupit-levitru-20mg-v-sankt-peterburge , 8. 2. 2026 11:07)
Магазин дженериков высокое качество по доступной цене
https://generik78.ru/levitra
https://generik78.ru/viagra/kupit-djenerik-viagra-100mg-v-sankt-peterburge
https://generik78.ru/sialis/kupit-tadalafil-20mg-v-sankt-peterburge
https://generik78.ru/viagra/kupit-djenerik-viagra-200mg-v-sankt-peterburge
https://generik78.ru/viagra/kupit-viagru-150mg-v-sankt-peterburge
ссылка на Stake
(RobertBeita, 8. 2. 2026 9:34)
Стейк Казино` — `самое прибыльное` казино с `без регистрации`!
Source:
https://slotonlineking.nl/1xbet-promo-code-bangladesh-2026-1xmaxbono-bonus-e130/
ссылка на Stake
safest online casino usa e806pz
(ArielAders, 8. 2. 2026 1:09)
Useful write ups. Appreciate it!
Зеркала и вход
(LeroyTop, 7. 2. 2026 20:48)
Привет. Подскажите, где сейчас можно взять актуальное зеркало? Старые ссылки перестали открываться, ищу рабочий вход.
Нашёл пару сайтов с подборками — типа https://kak-kraken.help/kak-dzhek-vorobey-vyzhil-posle-krakena/. Там описания и актуальные варианты. Может кто ещё знает проверенные источники, поделитесь.
https://generik78.ru/sialis/indijskij-sialis-v-sankt-peterburge
(https://generik78.ru/levitra/kupit-levitru-60mg-v-sankt-peterburge , 7. 2. 2026 19:32)
Магазин дженериков высокое качество по доступной цене
https://generik78.ru/sialis/kupit-vidalistu-10mg-v-sankt-peterburge
https://generik78.ru/viagra/kupit-djenerik-viagra-100mg-v-sankt-peterburge
https://generik78.ru/levitra/kupit-dzhenerik-levitra-60mg-v-sankt-peterburge
https://generik78.ru/viagra/kupit-viagru-pochtoj
https://generik78.ru/kombinirovannye/super-tadarise-kupit-v-moskve
Зеркала и вход
(LeroyTop, 7. 2. 2026 16:22)
Привет. Подскажите, где сейчас можно взять актуальное зеркало? Старые ссылки перестали открываться, ищу рабочий вход.
Нашёл пару сайтов с подборками — типа https://kak-kraken.help/kak-umer-kraken-v-piratah/. Там описания и актуальные варианты. Может кто ещё знает проверенные источники, поделитесь.
https://bergkompressor.ru/
(KeithShise, 7. 2. 2026 1:56)Here’s the newest update > https://jerezlecam.com/
Промокод и Бонусы 2026
(Josephaxolo, 6. 2. 2026 3:17)Visit the company’s main website : https://www.100bestsongs.ru/img/pages/promokod_pri_registracii_6.html
1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 | 59 | 60 | 61 | 62 | 63 | 64 | 65 | 66 | 67 | 68
https://kupit-super-tadarajz.ru/
(kupit-super-tadarajz.ru, 17. 2. 2026 20:16)