Opening an image file in Paint from a form
am 30.11.2007 17:50:58 von anthony
I'm embarrassed to ask this. I have a form with a bound object frame
which displays an embedded bitmap stored in the table that the form is
based on. How do I, by single or double click, get the image to open
in Paint (the current Windows file association). I'm reduced to using
SendKeys and I'm sure there are more elegant ways
Anthony
Re: Opening an image file in Paint from a form
am 30.11.2007 19:14:24 von Stuart McCall
"anthony" wrote in message
news:026b6aa9-0d47-423c-b592-e00666bed48d@o42g2000hsc.google groups.com...
> I'm embarrassed to ask this. I have a form with a bound object frame
> which displays an embedded bitmap stored in the table that the form is
> based on. How do I, by single or double click, get the image to open
> in Paint (the current Windows file association). I'm reduced to using
> SendKeys and I'm sure there are more elegant ways
>
> Anthony
With Forms!FormName!ControlName
.Verb = acOLEVerbOpen
.Action = acOLEActivate
End With