Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Access file with attachment data types - Part 2

Posted on 2013-01-12
3
Medium Priority
?
275 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
3 Comments
 
LVL 28

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 2000 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

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

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

We live in a world of interfaces like the one in the title picture. VBA also allows to use interfaces which offers a lot of possibilities. This article describes how to use interfaces in VBA and how to work around their bugs.
Explore the ways to Unlock VBA Project Password Excel 2010 & 2013 documents. Go through the article and perform the steps carefully to remove VBA Excel .xls file.
In Microsoft Access, learn different ways of passing a string value within a string argument. Also learn what a “Type Mis-match” error is about.
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…
Suggested Courses

927 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