Article | 41023265 |
Type | Bug |
Product | Engine |
Version | 4.0.4.1023 |
Date Added | 10/8/2003 |
Fixed | Yes [10/15/2003] |
Submitted by | Walter Tallman |
Keywords |
If the byte array gets corrupted using the savetomemory and the createfrom memory is used, no trapable non recoverable error is generated.
Private Sub Command4_Click() Dim Document As Variant Dim Bytes As Long VD.ActiveDocument.New VD.CommandAction.CmdLine Array(Array(10, 10), Array(20, 20), Array(30, 10)) On Error GoTo errEnd Bytes = VD.ActiveDocument.SaveToMemory(Document) For i = 1000 To 1005 Document(i) = Document(i) + 1 'xalaw ta bytes. Next i VD.ActiveDocument.CreateFromMemory Document, Bytes VD.CommandAction.RegenAll VD.CommandAction.Zoom "E", "USER", "USER" Exit Sub errEnd: MsgBox "error" End Sub
It is fixed in 4.0.5.1024