Click here to Skip to main content
15,897,187 members

Comments by Member 11438562 (Top 4 by date)

Member 11438562 11-Feb-15 6:55am View    
Please note that my application is windows based application running on Citrix server.
Member 11438562 11-Feb-15 3:36am View    
Does any body know what could be the issue causing this inconsistent error.
Member 11438562 11-Feb-15 3:35am View    
Hi Richard,
Following is the code which is shown in the error description.

Public Sub ActiveBookmarkSet(iIndex As Integer, Optional szBookmark As String = "")
On Error GoTo ActiveBookmarkSetErr
Dim iErrorTimes As Integer

iErrorTimes = 0
If Not moBookmarks Is Nothing Then
If iIndex > 0 Then
If miActiveBookmarkCount >= iIndex Then
Set moBookmark = moBookmarks.Item(iIndex)
mszActiveBookmark = moBookmark
End If
ElseIf szBookmark <> "" Then
If moBookmarks.Exists(szBookmark) = True Then
Set moBookmark = moBookmarks.Item(szBookmark)
mszActiveBookmark = moBookmark
End If
End If
Else
mobjRevision.objError.RaiseError CWORDERR_BASE_NoActiveBookmarks, App.EXEName & "::CGCDocWordApp::ActiveBookmarkSet", ""
End If
Exit Sub
ActiveBookmarkSetErr:
iErrorTimes = iErrorTimes + 1
If iErrorTimes < 6 Then
Resume
End If
& "::CGCDocWordApp:ActiveBookmarkSet Method", "")
Call mobjRevision.objError.RaiseError(Err, App.EXEName & "::CGCDocWordApp:ActiveBookmarkSet Method", Err.Description)
End Sub
Member 11438562 10-Feb-15 10:06am View    
Hi All,

Thank you for you reply I will impliment the solutions provided by you all.

And let you all know about the status.

Thank you so much.:)