F
Fly Girl
Access 2002/XP
I'm finding that linking a file to an OLE container in XP
causes Windows Picture and Fax Viewer to crash with
unfortunate regularity. Once crashed the Access app must
be closed in order for things to get sorted out. Until
that time it is impossible to link .tif objects.
The following code works well in Access 2K .mdb but causes
the OLE Server for .tif files in XP (Windows Picture & Fax
Viewer) to crash ~50% of the time:
With Me.oleLinked
.Enabled = True
.Locked = False
.OLETypeAllowed = acOLELinked
.SourceDoc = strLinkFilePath
.Action = acOLECreateLink
End With
In XP an error occurs when the SourceDoc is a .tif file on
the line ".Action = acOLECreateLink". Error = "#2753 A
problem occurred while MS Access was communicating with
the OLE Server or Active X control."
Note: the 'black box' MS Access path of using 'Insert
Object' off of the shortcut menu does work when
linking .tif files. Unfortunately it does not serve the
needs of my app.
Any suggestions?
Also: Is "Windows Picture and Fax Viewer" new and improved
in Office 2003? Specifically is it more stable and does it
support the 'print' verb?
I'm finding that linking a file to an OLE container in XP
causes Windows Picture and Fax Viewer to crash with
unfortunate regularity. Once crashed the Access app must
be closed in order for things to get sorted out. Until
that time it is impossible to link .tif objects.
The following code works well in Access 2K .mdb but causes
the OLE Server for .tif files in XP (Windows Picture & Fax
Viewer) to crash ~50% of the time:
With Me.oleLinked
.Enabled = True
.Locked = False
.OLETypeAllowed = acOLELinked
.SourceDoc = strLinkFilePath
.Action = acOLECreateLink
End With
In XP an error occurs when the SourceDoc is a .tif file on
the line ".Action = acOLECreateLink". Error = "#2753 A
problem occurred while MS Access was communicating with
the OLE Server or Active X control."
Note: the 'black box' MS Access path of using 'Insert
Object' off of the shortcut menu does work when
linking .tif files. Unfortunately it does not serve the
needs of my app.
Any suggestions?
Also: Is "Windows Picture and Fax Viewer" new and improved
in Office 2003? Specifically is it more stable and does it
support the 'print' verb?