IDocHostShowUI.ShowMessage randomly raised in c#

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance

From: Adam Tuliper (amt_at_no00ooospamaroneusGecko-software.com)
Date: 10/04/04


Date: Mon, 4 Oct 2004 10:51:18 -0700

Nevermind.
Called microsoft, its a bug in mscorlib.dll, but seemingly
not a published one yet.
doh.

>-----Original Message-----
>Scenario:
>C# form implements IDocHostShowUI. I navigate to a test
>page I created with a simple alert() in it. In
>ShowMessage, I display a messagebox with my own caption
on
>it. I then return 0 to tell IE not to display its own
>dialog. My ShowMessage gets called completely randomly. I
>click refresh say 3,4,5 times, nothing (the default IE
>dialog is displayed), try it again, my custom messagebox
>shows. Are there any known issues with calling back to
>intefaces in c# from com? The interface seems to be
>defined correctly, as it works, but only its random.
>Sometimes event wiring seems to get lost as well. Weird.
>Any thoughts?
>
>.
>



Relevant Pages

  • Re: Garbled links
    ... That looks like standard path truncation when it is too long to display in the box. ... The html version of the link (with the front slashes and %20 for spaces) ... location is substituted for the dots and slashes. ... The problem occurs only when I navigate to a link. ...
    (microsoft.public.word.newusers)
  • Re: 49G+ Equation Library SOLV & Flag 117
    ... > With flag 117 unchecked, start by pressing, then navigate ... > it displays "Starting Solver" and then it totally bombs out of the ... > display says "Starting Solver" and then the Reverse Video solve ...
    (comp.sys.hp48)
  • Re: Recordset problem
    ... >I am trying to navigate to a specific record in a recordset, ... >Private Sub cmdGoToCase_Click ... If no match, display ... Marsh ...
    (microsoft.public.access.formscoding)
  • Re: office file browser broken
    ... WORD crashes when trying to OPEN or SAVE ... navigate to an existing office file, the file browser takes 3 to 4 minutes ... display a folder and file list. ... it takes another 3 to 4 minutes to display the new list. ...
    (microsoft.public.windowsxp.general)
  • which record navigation methods
    ... to navigate, ... DoCmd.GoToRecord, "", acLast or ... Any special things I need to do to have the form display the records and do I ... to make the SUB work the currently active form/boundtable). ...
    (microsoft.public.access.formscoding)