S
scorpion53061
I made an app and all seemed well that revolved around MS Word automation.
They recieved this error:
RPC_X_BAD_STUB_DATA - The stub received bad data.
According to http://support.microsoft.com/default.aspx?scid=kb;en-us;292744
this is a C++ error - though I am programming from vb.net.
It says however that I should have used late binding on my "find" attempt.
The client is using Word 2000.
Here is the code please advise me how to make this a late bind to make this
error go away. They live several thousand miles away and it appears I am
unable to walk them through the registry reentry steps.
With oDoc.Content.Application.Selection
Do While .Find.Execute(selectedtextStart, False, Wrap:=0)
.MoveEnd(1, Len(selectedtext) - Len(selectedtextStart))
If LCase(.Text) = LCase(selectedtext) Then ' If .Text =
selectedtext Then
.Text = ""
Exit Do
End If
.Move(1, 1)
Loop
End With
They recieved this error:
RPC_X_BAD_STUB_DATA - The stub received bad data.
According to http://support.microsoft.com/default.aspx?scid=kb;en-us;292744
this is a C++ error - though I am programming from vb.net.
It says however that I should have used late binding on my "find" attempt.
The client is using Word 2000.
Here is the code please advise me how to make this a late bind to make this
error go away. They live several thousand miles away and it appears I am
unable to walk them through the registry reentry steps.
With oDoc.Content.Application.Selection
Do While .Find.Execute(selectedtextStart, False, Wrap:=0)
.MoveEnd(1, Len(selectedtext) - Len(selectedtextStart))
If LCase(.Text) = LCase(selectedtext) Then ' If .Text =
selectedtext Then
.Text = ""
Exit Do
End If
.Move(1, 1)
Loop
End With