B
Bruno Frisque
Hi,
The Tif images display fine with Access 2003/Win XP, but only whitin an
Image frame.
Then no way to open the default viewer by double clicking the image.
To do this one need an OLE Bound object with following code :
Private Sub Form_Current()
'Olebound7 : Link creation
[OLEBound7].Class = "picture"
[OLEBound7].OLETypeAllowed = acOLELinked
[OLEBound7].SourceDoc = "C:\Data\L05d1.tif" ' Specify source file.
[OLEBound7].Action = acOLECreateLink ' Create linked object.
[OLEBound7].SizeMode = acOLESizeZoom ' ok full image
End Sub
This work perfectly with Access 2000 and 2002. By double clicking the image,
the default viewer opens it.
With Access 2003 : "error 2753. problem during communication between Access
and the OLE server or activex control."
Do you know the reason ?
Any other solution to activate an image on a form ?
Anybody available to test my little form (on A2003) containing the 3 ways of
displaying images ?
Many thanks in advance
The Tif images display fine with Access 2003/Win XP, but only whitin an
Image frame.
Then no way to open the default viewer by double clicking the image.
To do this one need an OLE Bound object with following code :
Private Sub Form_Current()
'Olebound7 : Link creation
[OLEBound7].Class = "picture"
[OLEBound7].OLETypeAllowed = acOLELinked
[OLEBound7].SourceDoc = "C:\Data\L05d1.tif" ' Specify source file.
[OLEBound7].Action = acOLECreateLink ' Create linked object.
[OLEBound7].SizeMode = acOLESizeZoom ' ok full image
End Sub
This work perfectly with Access 2000 and 2002. By double clicking the image,
the default viewer opens it.
With Access 2003 : "error 2753. problem during communication between Access
and the OLE server or activex control."
Do you know the reason ?
Any other solution to activate an image on a form ?
Anybody available to test my little form (on A2003) containing the 3 ways of
displaying images ?
Many thanks in advance