We help IT Professionals succeed at work.

Picture appearing in a form

Last Modified: 2019-01-03
Using Microsoft Access (2003)
I have a form with a text box called PicFileName and an Image Control called PersonImage
The intent is that the following code will cause .jpg (picture) to appear in PersonImage, without the .jpg being embedded in the table behind this form (in order to save space)
The following code accomplishes this perfectly:

Dim strPicName As String
Dim strPicPath As String
Dim strSource As String

strPicPath = C:\Pix                 C:\Pix is the folder containing the jpg
strPicName = ABCD.jpg       ABCD.jpg is the filename of the picture

strSource = "" & strPicPath & strPicName & ""              in this case it will be C:\Pix\ABCD.jpg

If Not IsNull(Me.PicFileName) And Me.PicFileName <> "" Then
    Me.PersonImage.Picture = strSource
End If

As I said this works perfectly in all computers on my LAN, EXCEPT for ONE which returns an error 2114 saying that this code is not supported OR the jpg is too large!  I have reduced the size of the .jpg to a few K, to no avail.

ALL COMPUTERS ON THE LAN USE THE SAME OS (Win 10 Pro), AND THE SAME VERSION OF ACCESS, AND GET THEIR JPG FROM THE SAME FOLDER,  and the above process runs perfectly for the last six years!!

QUESTION: What needs to be adjusted in the one computer where this is not working?
Watch Question

Scott McDaniel (EE MVE )Infotrakker Software
Most Valuable Expert 2012
Top Expert 2014

This can often mean a problem with the installation of Office or Windows on that machine. In some cases, you could install Access without all the necessary image filters, or those filters could become corrupt. Try repairing or reinstalling Office on that machine, and make sure Windows is update to date.

This can also be caused by a corrupt user profile, or by a faulty printer or video driver.
President / Owner CARDA Consultants Inc.
Distinguished Expert 2018
This one is on us!
(Get your first solution completely free - no credit card required)


I am about to de install and then re install Access 2003.  I think I do have reference issues because dome of the dlls may be corrupted.

Thanks for the help!


I did an office repair, then I de-installed Access 2003 COMLETELY (there was no other member of the 2003 suite installed).  I then re installed Access 2003.  No difference.

I then tried from from my own account, that I always keep on all Users' PCs, and it worked like a charm!!

The thing now is to create a new Account  for that user.

Question:how does that affect Outlook?  Do I need to create a new Outlook Profile as well.  Note this is Office 365 (2016) and all Email is therefore controlled by 365.

Thanks for the help.

George (Biggles).


Thanks fellows for taking the time to help me.  I took a while applying the solution, but it works now.

Gain unlimited access to on-demand training courses with an Experts Exchange subscription.

Get Access
Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Empower Your Career
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE

Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

  • Troubleshooting
  • Research
  • Professional Opinions
Unlock the solution to this question.
Join our community and discover your potential

Experts Exchange is the only place where you can interact directly with leading experts in the technology field. Become a member today and access the collective knowledge of thousands of technology experts.

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.


Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.