Thanks, Chris. I think I found the solution here:
http://www.thescarms.com/vbasic/subclassform.asp
Thanks for your help.
Alistair
"Christopher J. Hahn" <cjhahn@gmail.com> wrote in message
news:1122358150.966279.121780@g44g2000cwa.googlegroups.com...
> Alistair Saldanha wrote:
>> Csaba,
>>
>> Thank you so much for your post.
>>
>> I cannot change the code in the WebBrowser, I am helping the end user
>> react
>> to the WebBrowser using Visual Basic automation. The Visual Basic
>> Automation
>> automatically enters the account number and other details so the end user
>> doesn't have to enter them manually. What's killing the VB automation are
>> the consant messages that pop up saying "Another session is running",
>> which
>> is actually a bug in the WebBrowser coding, but it stops the VB
>> automation
>> cold. So I'm hoping to do something to sidestep the alerts.
>>
>> Alistair
>
>>>From your description, it sounds like you're not dealing with
> JavaScript alerts but WebBrowser MsgBoxes. We either need to see the JS
> code of the page (everything in <script> tags) to determine for sure,
> or if you already know that it's not a JS-alert(), then you're really
> asking in the wrong newsgroup.
>
> If it's not JS-related, a VB newsgroup or VB-WebBrowser newsgroup would
> serve you best.
>
Received on Tue Oct 18 03:02:00 2005