ACC: Can't Insert or View .SNP File in Snapshot Viewer ControlID: Q224002
|
You may experience one or more of the following problems when you try to set or view the SnapshotPath property of the Snapshot Viewer ActiveX control, even though the path that you use is for a valid snapshot (.snp) file.
The snapshot is not displayed in the control, and you do not receive an error message.
-or-
You receive the following error messages:
There was a problem referencing a property or method of the object.
Check the component's documentation for information on the properties and methods it makes available for Automation operations.
-or-
Run-time error '-2147467259(800004005)':
Method 'SnapshotPath' of object 'ISnapshotViewer' failed.
-or-
NOTE: In the last two items, the number following "Run-time error" may vary.Run-time error '-2147467259(800004005)':
Automation error.
You tried to set or view the SnapshotPath property on a computer that has Microsoft Internet Explorer version 5.0 installed.
You can avoid this problem by including "File" before the path. For example, instead of setting the path as:
C:\My Documents\Catalog.snp
Use the following:
File://C:\My Documents\Catalog.snp
Microsoft has confirmed this to be a problem in the Microsoft products listed at the beginning of this article.
Name: SnapV
Left: 0
Top: 0
Width: 4.5
Height: 6
Zoom: 50%
Forms("Form1").Controls("SnapV").SnapshotPath="C:\My Documents\Catalog.snp"
Sub SetSnapshotPath()
Dim s As SnapshotViewer
Set s = Forms("Form1").SnapV.Object
s.SnapshotPath = "C:\My Documents\Catalog.snp"
End Sub
SetSnapshotPath
Additional query words: pra
Keywords : kbdta
Version : WINDOWS:97
Platform : WINDOWS
Issue type : kbbug
Last Reviewed: May 6, 1999