Results 1 to 2 of 2
  1. #1
    avarusbrightfyre is offline Advanced Beginner
    Windows Vista Access 2010 32bit
    Join Date
    Sep 2009
    Posts
    60

    User importing of image files

    I've created a form and report that can import a scanned image and paste it in an image control on the report, then output that image to a PDF file (we like to store our scanned images as PDF and our scanning software doesn't have PDF support).

    Right now, I have it set up with a text box for the file name (which the user has to type in exactly correct) and a drop down box for the file extension (.jpg, .bmp, etc).

    What I want is a way for the user to be able to click a button and use the standard windows "open file dialog box" to find the file, select it and import the image into the image control on the report.

    So what I'm asking is, is there a way to use the open file dialog box and store the path of whatever file the user selects in a text box? Or better yet, simply pass the file path to the .picture property of the image control box?



    PS: I work for the government, which doesn't allow us to install any third party software, so I'm limited to the software I have right now.

  2. #2
    June7's Avatar
    June7 is online now VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,929
    Google: VBA file browse dialog box
    Here is onehttp:
    http://www.tek-tips.com/faqs.cfm?fid=4114
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Importing Text files
    By RayMilhon in forum Programming
    Replies: 4
    Last Post: 10-10-2011, 10:54 PM
  2. Importing files into Access 2007
    By rjani1 in forum Access
    Replies: 6
    Last Post: 07-19-2011, 09:33 AM
  3. importing Dbase files
    By dzawicki in forum Import/Export Data
    Replies: 2
    Last Post: 01-14-2010, 05:43 PM
  4. Importing multiple files at once
    By NoiCe in forum Import/Export Data
    Replies: 1
    Last Post: 04-01-2009, 10:10 AM
  5. Importing Xls and CSV files into MS Access
    By Jeff in forum Import/Export Data
    Replies: 1
    Last Post: 02-17-2009, 11:56 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums