![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
I want to be able to double click on the embedded image file in a image control and have that image open in windows picture viewer. Anyone know how to do this? Thanks. |
#3
| |||
| |||
|
|
Associate Windows Picture Viewer to the image file type of the imbedded image. In the Click event of the Image Control, use the Application.FollowHyperlink with the Picture property of the Image Control. Larry Linson, Microsof Office Access MVP christianlott1 (AT) yahoo (DOT) com> wrote in message news:178d7a09-59ba-4da9-becc-d0765a14cb84 (AT) m4g2000yqm (DOT) googlegroups.com... I want to be able to double click on the embedded image file in a image control and have that image open in windows picture viewer. Anyone know how to do this? Thanks. |
#4
| |||
| |||
|
|
I want to be able to double click on the embedded image file in a image control and have that image open in windows picture viewer. Anyone know how to do this? Thanks. |
#5
| |||
| |||
|
|
If the image is linked then Larry's suggestion should work but if it is actually embedded this is more difficult. You need to create a temp file of the image and then you could use the Shell command to open it. To create the temp file you need to use the PictureData property of the image control. *There should be examples of this Googleable or try Steven Leban's sitewww.lebans.comfor an example. *Post back if stuck. Depending on your app though you may just be better off making the image linked. |
#6
| |||
| |||
|
|
If the image is linked then Larry's suggestion should work but if it is actually embedded this is more difficult. You need to create a temp file of the image and then you could use the Shell command to open it. To create the temp file you need to use the PictureData property of the image control. There should be examples of this Googleable or try Steven Leban's sitewww.lebans.comfor an example. Post back if stuck. Depending on your app though you may just be better off making the image linked. |
![]() |
| Thread Tools | |
| Display Modes | |
| |