Solved

Access file with attachment data types - Part 2

Posted on 2013-01-12
3
270 Views
Last Modified: 2013-01-27
Someone had helped me with my original question titled, "Access file with attachment data types" but I now realize I need a little more help.  The individual that helped me supplied a file named "Access-BasicLinkFormReportImages.mdb" which works fine but now I have to somehow make it work with PDF files.  The Access version being used is 2007.

Will it somehow work and what has to be done to change it?

--Steve
0
Comment
Question by:SteveL13
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 27

Expert Comment

by:MacroShadow
ID: 38770296
Attached you will find a simple adaption of the simple example.
Access-BasicLinkFormReportImages.mdb
0
 
LVL 40

Expert Comment

by:als315
ID: 38770304
You can't view pdf file in image control, you should use Web browser control (and you need acrobat reader installed). Look at sample
Access-BasicLinkFormReportImages.mdb
0
 
LVL 74

Accepted Solution

by:
Jeffrey Coachman earned 500 total points
ID: 38770518
Yes, both are adaptations of my basic sample file.

Here is the one I made specifically for PDF's.
You can select "All file Types" from dialog box to select Images, ...etc
...or again, you can modify the code to filter for your specific file types.


Just note that the webbrowser cannot display *All* file types...
As I stated, there is a difference between "Viewing" a file and "opening" it...
Access-BasicLinkFormDisplayPDFWe.mdb
0

Featured Post

[Webinar] Code, Load, and Grow

Managing multiple websites, servers, applications, and security on a daily basis? Join us for a webinar on May 25th to learn how to simplify administration and management of virtual hosts for IT admins, create a secure environment, and deploy code more effectively and frequently.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In earlier versions of Windows (XP and before), you could drag a database to the taskbar, where it would appear as a taskbar icon to open that database.  This article shows how to recreate this functionality in Windows 7 through 10.
Access developers frequently have requirements to interact with Excel (import from or output to) in their applications.  You might be able to accomplish this with the TransferSpreadsheet and OutputTo methods, but in this series of articles I will di…
Familiarize people with the process of retrieving data from SQL Server using an Access pass-thru query. Microsoft Access is a very powerful client/server development tool. One of the ways that you can retrieve data from a SQL Server is by using a pa…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

738 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question