и как вариант с PDF - (acrobat должен быть установлен)
Add(MainForm,2953706,112,126)
{
Width=821
Height=625
link(onCreate,8485536:doData,[])
}
Add(StrList,15392473,266,105)
{
Strings=#8:%PDF-1.5|7:3 0 obj|13:<</Type /Page|13:/Parent 1 0 R|29:/MediaBox [0 0 595.28 841.89]|16:/Resources 2 0 R|17:/Contents 4 0 R>>|6:endobj|7:4 0 obj|15:<</Length 704>>|6:stream|3:2 J|6:0.57 w|20:0.471 0.471 1.000 rg|15:297.64 685.98 m|15:395.83 629.29 l|43:404.11 643.63 409.15 659.61 410.59 676.10 c|43:412.04 692.60 409.85 709.21 404.19 724.76 c|43:398.52 740.32 389.52 754.45 377.81 766.16 c|43:366.11 777.87 351.98 786.87 336.42 792.53 c|1:b|20:0.471 1.000 0.471 rg|15:297.64 685.98 m|15:191.09 647.20 l|43:198.47 626.92 211.49 609.17 228.61 596.03 c|43:245.74 582.89 266.25 574.91 287.76 573.03 c|43:309.26 571.15 330.85 575.44 349.99 585.41 c|43:369.14 595.38 385.04 610.60 395.83 629.29 c|1:b|20:1.000 0.471 0.471 rg|15:297.64 685.98 m|15:336.42 792.53 l|43:316.14 799.91 294.17 801.35 273.10 796.68 c|43:252.02 792.01 232.72 781.42 217.46 766.16 c|43:202.20 750.90 191.61 731.60 186.94 710.53 c|43:182.27 689.45 183.71 667.49 191.09 647.20 c|1:b|0:|9:endstream|6:endobj|7:1 0 obj|14:<</Type /Pages|14:/Kids [3 0 R ]|8:/Count 1|2:>>|6:endobj|7:2 0 obj|2:<<|45:/ProcSet [/PDF /Text /ImageB /ImageC /ImageI]|8:/Font <<|2:>>|2:>>|6:endobj|7:5 0 obj|2:<<|48:/Producer (PurePDF v2.14 for PureBasic v4.30X86)|32:/CreationDate (D:20091031025929)|2:>>|6:endobj|7:6 0 obj|2:<<|14:/Type /Catalog|12:/Pages 1 0 R|30:/OpenAction [1 0 R /FitH null]|22:/PageLayout /OneColumn|2:>>|6:endobj|4:xref|3:0 7|19:0000000000 65535 f |19:0000000870 00000 n |19:0000000927 00000 n |19:0000000009 00000 n |19:0000000117 00000 n |19:0000001006 00000 n |19:0000001109 00000 n |7:trailer|2:<<|7:/Size 7|11:/Root 6 0 R|11:/Info 5 0 R|2:>>|9:startxref|4:1417|5:%%EOF|
}
Add(UseActiveX,15919210,329,175)
{
Left=80
Top=10
Width=720
Height=570
Align=5
CLSID="{CA8A9780-280D-11CF-A24D-444553540000}"
}
Add(DoData,8485536,161,140)
{
Data=String(C:\tmp.pdf)
link(onEventData,13579716:doEvent1,[])
}
Add(Hub,13579716,217,140)
{
link(onEvent1,15392473:doSave,[])
link(onEvent2,3274300:doAdd,[(249,153)(249,181)])
}
Add(MT_Add,3274300,266,175)
{
Data=String(LoadFile)
InputMT=1
link(onAdd,15919210:doExecute,[])
}