yes/no msgbox

  • Thread starter Thread starter Pierre
  • Start date Start date
P

Pierre

I have an image that is linked to my data base. I would like to know what
the Do Command would be to open that image in Image Viewer.

i.e. On the image click property. I would like msg that say "Would you
like to view "me.[per picture]" in Image Viewer."
YES = open Image Viewer
NO = Cancel option - does nothing

B/c of the view size of the image on the form. A user my need to
view it at a larger Scale.
 
If vbYes = MsgBox("Would you like to view the image " 7 _
"in the Image Viewer?", vbQuestion+vbYesNo+vbDefaultButton1, _
"View Image?") Then
' put code here to open the image in the Image Viewer
End If
 
Ken,
Thank you for your response, I really do appreciate it. But I don't know
what the Do Command is for Image View. thank you for any additional help
that you may be able to provide.

--
Work is sometimes hard....but someone has to do it.


Ken Snell (MVP) said:
If vbYes = MsgBox("Would you like to view the image " 7 _
"in the Image Viewer?", vbQuestion+vbYesNo+vbDefaultButton1, _
"View Image?") Then
' put code here to open the image in the Image Viewer
End If

--

Ken Snell
<MS ACCESS MVP>


Pierre said:
I have an image that is linked to my data base. I would like to know what
the Do Command would be to open that image in Image Viewer.

i.e. On the image click property. I would like msg that say "Would you
like to view "me.[per picture]" in Image Viewer."
YES = open Image Viewer
NO = Cancel option - does nothing

B/c of the view size of the image on the form. A user my need to
view it at a larger Scale.
 
What software are you wanting to use for the Image Viewer?

--

Ken Snell
<MS ACCESS MVP>


Pierre said:
Ken,
Thank you for your response, I really do appreciate it. But I don't know
what the Do Command is for Image View. thank you for any additional help
that you may be able to provide.

--
Work is sometimes hard....but someone has to do it.


Ken Snell (MVP) said:
If vbYes = MsgBox("Would you like to view the image " 7 _
"in the Image Viewer?", vbQuestion+vbYesNo+vbDefaultButton1, _
"View Image?") Then
' put code here to open the image in the Image Viewer
End If

--

Ken Snell
<MS ACCESS MVP>


Pierre said:
I have an image that is linked to my data base. I would like to know
what
the Do Command would be to open that image in Image Viewer.

i.e. On the image click property. I would like msg that say "Would
you
like to view "me.[per picture]" in Image Viewer."
YES = open Image Viewer
NO = Cancel option - does nothing

B/c of the view size of the image on the form. A user my need to
view it at a larger Scale.
 
Back
Top