Picture problems again, please help!

  • Thread starter Thread starter Gina Whipp
  • Start date Start date
G

Gina Whipp

Hi All,

I have an ImageControl works fine UNLESS someone moves the picture. So I
tried the below on the form close to erase the path that is being stored,
for whatever reason and then a the new path shows up and then the picture
gets moved again. (The message is FFE can't open the file 'FilePathHere'.
It is not error 2220 because I have a message to trap that and it works just
fine. What I can't figure out is even when I delete that path, it comes
back. I thought it would stay "(none)". Upon that failing I tried setting
it to "" (see below) on the Form_Close, that's not working. Any
suggestions?

Me.imgImage.Picture = ""
 
Nevermind, tried the old standby, deleted image control and put in a new
one, all is working fine now. Not sure why that happened but glad that's
over.

Gina Whipp
 
Damian S,

That wouldn't work because I'd have to be 'flying' all over the place to
install this database. But thanks for the suggestion.

Gina Whipp
 
Gina,
Sounds familiar. Try
Me.imgImage.Picture = "(none)"

If you set the path in the Open Event, you can check
for the existance of the image file first using the Dir
function. I assume your control specifies "Link".

Bill
 
Bill,

I tried that also to no avail. I think replacing the image control was the
ticket... for some reason it might have become 'corrupt'?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top