471,354 Members | 1,422 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,354 software developers and data experts.

Multiple instances of WebBrowser component

Hi there,

I am trying to simultaneously run multiple Windows Forms (in this case
3 windows) each with a WebBrowser object. Each of the WebBrowser
objects is running a PowerPoint presentation (set to cycle through

The problem I have run into is that when there is more than one window
only the last created window allows the PowerPoint presentation to
cycle. The other presentations appear to pause - until I click on their
window & then advance the scrollbar. It seems that the other windows
have lost focus (& therefore the WebBrowser object / PowerPoint file

I tried running a timer on each of the windows & outputting a counter
to a Label on the screen at each tick. This works fine, ie the label is
continuously updated - so it would appear the controls on the screen
are still active.

A identical test app was built in another language (Visual Objects) to
make sure it wasn't a limitation of PowerPoint or the WebBrowser
object. This worked correctly with each of the 3 PowerPoint files (in
the WebBrowser object) running simultaneously.

Any ideas how to make sure all windows maintain focus, or alternatively
why this concept doesn't work in .NET yet will work in a Win32 language
such as Visual Objects (someone mentioned it maybe the way the Windows
Event Loop is being called & used)?


Dec 6 '05 #1
0 1323

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

reply views Thread by Sharon | last post: by
1 post views Thread by claes R | last post: by
reply views Thread by =?Utf-8?B?Q29kZVJhem9y?= | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.