473,405 Members | 2,272 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,405 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
automatically).

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
pauses).

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)?

Thanks!

Dec 6 '05 #1
0 1418

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Sharon | last post by:
Hi all. I'm using the WebBrowser class and sometimes i get this exception: System.Windows.Forms.IWebBrowser2.Navigate2(Object& URL, Object& flags, Object& targetFrameName, Object& postData,...
6
by: ESmith | last post by:
I'm looking to user a web browser component in VS2005. I like the functionality in the AXWebBrowser component (from ActiveX controls page) that allows me to do this: mshtml.HTMLDocument doc; ...
10
by: John | last post by:
I currently have a Windows Service that runs Transactions that are very Processor/Memory Intensive. I have a requirement to deploy multiple instances of the Web service on the Same server. Each...
1
by: claes R | last post by:
Hi ! I am trying to add a cookie to a webbrowser component hosted inside a windows forms window and perform a call. ala, browser.Navigate( xxx,yyy, zzz, strHeader) where strHeader contains...
5
by: ThisBytes5 | last post by:
I have an application that uses the web browser component in VS 2005. I know this is just a wrapper for the com component. What I need to do is control wether or not the images on the navigated...
1
balabaster
by: balabaster | last post by:
Hi, I'm trying to figure out how to install multiple instances of a Windows Service on a single machine using the deployment Setup Project. We have a Windows Service that's configurable through...
0
by: =?Utf-8?B?Q29kZVJhem9y?= | last post by:
Hi, Is it possible to access an htc file from the windows webbrowser control? I am receiving the following error: "An error has occurred in the script on this page." "Error: Access is denied...
0
Pittaman
by: Pittaman | last post by:
Hello, We're developing an application (.NET 2.0) that let's users drop documents in the application and allows users to show some document types "embedded". For example, a textfile would appear...
3
by: TedTrippin | last post by:
Hi, Background - I've create a windows application in VS and added a WebBrowser component and all works well. I'm now trying to do this programmatically. My application now listens on a socket...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

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.