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ářů
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
stake.ucoz.net
(RobertBeita, 4. 2. 2026 1:06)
Не упусти` — `код 2026` даёт `+200%`!
Source:
https://stake.ucoz.net
stake.ucoz.net
Промокод и Бонусы 2026
(Josephaxolo, 3. 2. 2026 7:50)See the latest update here > https://kalyankarat.ru/pages/promokod_754__8.html
CГіdigo promocional de MelBet: ZEVS777 - Aumenta tu apuesta en 100 euros
(MarcomeflY, 1. 2. 2026 18:49)
Debes registrarte para participar en la promociГіn APUESTA GRATIS.
Source:
- https://efaflex.ru/include/pages/?kent-casino-promokod.html
CГіdigo promocional de MelBet: ZEVS777 - Aumenta tu apuesta en 100 euros
bally's online casino new jersey j83tcm
(ArielAders, 31. 1. 2026 10:04)
Wow plenty of great tips!
canadian casinos online https://bhcmerced.org/canadian-casino-online/ best casinos in canada
Código promocional de MelBet Casino: ZEVS777 - Apuesta gratis de 100 €/$
(Stevencab, 31. 1. 2026 6:05)
Incluso si nunca has apostado en esports, no dudes en visitar la secciГіn de esports de MelBet y aprovechar la apuesta gratis de bienvenida. AdemГЎs, el reembolso diario y una apuesta gratis al registrarte hacen de MelBet una casa de apuestas muy completa.
Source:
- https://bhd.org.tr/article/1xbet_promosyon_kodu_bahis.html
Código promocional de MelBet Casino: ZEVS777 - Apuesta gratis de 100 €/$
Mega SB — основной onion сайт, зеркало в даркнет
(MegaMorisow, 30. 1. 2026 12:21)
Я, меня зовут Сергей, уже много лет изучаю, как эволюционирует экосистема специализированных сайтов.
Со временем я регулярно наблюдать, как новички ориентируются на неактуальные источники, что часто приводит к неверным выводам.
В результате я всегда советую ориентироваться на обзорные источники, в которых информация собрана в одном месте и постоянно актуализируется, включая такие элементы, как. Подобный формат работы позволяет оперативнее понять в текущей ситуации без ненужных деталей.
Как итог это формирует более полную картину и минимизирует потенциальные проблемы, связанные с использованием заведомо устаревших источников. онион ссылка мега дарк нет https://megadarknet.pro
Мега Onion — проверенный официальный ресурс, зеркало в даркнет
(MegaMorisow, 30. 1. 2026 9:27)
По собственному опыту, я — Михаил, не первый год наблюдаю, насколько трансформируется доступность тематических онлайн-площадок.
На практике я регулярно наблюдать, как пользователи опираются на неактуальные упоминания, что часто приводит к потере времени.
В результате я обычно рекомендую ориентироваться на структурированные обзоры, в которых данные представлена в одном месте и регулярно актуализируется, в том числе такие элементы, как. Такой формат работы помогает значительно быстрее понять в контексте избегая ненужных деталей.
Как итог это даёт объективную картину и снижает риски, которые возникают с использованием непроверенных источников. даркнет официальный сайт мега зеркало https://megadarknet.pro
Mega PW — основной официальный ресурс, ссылка без блокировок
(MegaMorisow, 30. 1. 2026 8:17)
По собственному опыту, я — Алексей, на протяжении длительного времени отслеживаю, насколько трансформируется структура специализированных ресурсов.
На практике мне не раз приходилось замечать, как пользователи опираются на устаревшие упоминания, что приводит к потере времени.
В результате я настоятельно предпочитаю опираться на сводные материалы, где информация представлена системно и регулярно обновляется, в том числе и упоминания вроде. Подобный способ даёт возможность оперативнее понять в текущей ситуации без лишнего шума.
В результате это обеспечивает объективную понимание и минимизирует потенциальные проблемы, которые возникают с использованием неактуальных адресов. mega moriarty через браузер https://tscan.buzz
Продвижение Сайта Поисковых Proffseo.Ru
(Buddybiobe, 30. 1. 2026 7:26)
В соответствии с разработанной стратегией ставит задачи группе проекта и контролирует их реализацию https://proffseo.ru/prodvizhenie-angloyazychnykh-sajtov
Составляет технические задания и готовит все необходимые рабочие материалы https://proffseo.ru/prodvizhenie-sajtov-po-moskve
Контролирует соблюдение KPI проекта, анализирует эффективность мер, при необходимости вносит коррективы https://proffseo.ru/
Готовит регулярную отчетность https://proffseo.ru/privacy
Развивает проект https://proffseo.ru/privacy
Если вы продвигаете сайт по России, а ваш конкурент – только по Санкт-Петербургу, то в выдаче по СПб у конкурента позиции будут лучше https://proffseo.ru/prodvizhenie-angloyazychnykh-sajtov
Так происходит за счет высокого качества информации Wikipedia, громадного траста, ссылочной массы и мировой популярности https://proffseo.ru/
SEO продвижение сайтов в Москве https://proffseo.ru/prodvizhenie-sajtov-po-moskve
Геонезависимый запрос — запрос, выдача по которому никак не зависит от местоположения пользователя внутри страны https://proffseo.ru/prodvizhenie-sajtov-po-rf
Чаще всего, это информационные запросы, или запросы с упоминанием конкретного города https://proffseo.ru/prodvizhenie-sajtov-po-rf
в области электронная коммерция, интернет-магазины по версии Ruward 2022 https://proffseo.ru/prodvizhenie-sajtov-po-rf
Мега Онион — настоящий вход, вход без блокировок
(MegaMorisow, 30. 1. 2026 7:09)
Как практик, я — Илья, уже много лет отслеживаю, как трансформируется экосистема специализированных ресурсов.
В процессе мне не раз приходилось сталкиваться, что люди пытаются работать на устаревшие источники, и это в итоге приводит к неверным выводам.
В результате я настоятельно предпочитаю ориентироваться на сводные материалы, где информация представлена системно и периодически обновляется, включая такие элементы, как. Такой подход позволяет быстрее понять в текущей ситуации избегая лишнего шума.
Как итог это обеспечивает более полную оценку и минимизирует риски, которые возникают с использованием неактуальных источников. мега даркнет регистрация https://megalinkmoriarty.pro/
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 | 69 | 70
Generate complimentary Telegram robot for generating gifts, subscriptions. Ultra grow groups!
(XRumer23Fooky, 8. 2. 2026 11:42)