472,790 Members | 1,375 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

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

IE browser embedded in outlook vs refresh

I have a custom web app that has an 'Inbox' that refreshes every 30 seconds.

One user uses Outlook to host the web page.

Using IE, the refresh works fine. If the user is working in another window,
web page quietly refreshes in the background.
Hosted in Outlook, the refresh causes Outlook to come to the front on
every refresh. Or in XP, causes the toolbar icon to flash.
Either way, it is very irritating.

We can refresh *images* using JavaScript, a timer, and SRC=url.jpg
without grabbing focus, but not the IFrame page.

Is there another way to refresh that doesn't cause Outlook to grab focus?

There are two pages involved:
1) The "parent" page contains various controls and an IFrame.

2) The "child" pages are loaded into that IFrame.
One child page, the 'Inbox', needs to refresh every 30 seconds, so we've got
a META tag to take care of this inside the child page:
<META HTTP-EQUIV='Refresh' CONTENT='30; URL=CallList.aspx?filter=inbox'>
We've also tested a snippet of javascript that sets the src attribute of the
IFrame tag to its own location. Both ways (and also doing a refresh of the
parent page itself) result in the following behavior:
In XP, whenever the page (which is being viewed from inside Outlook's
embedded IE browser) is refreshed, Outlook's icon in the taskbar flashes for
a moment and stays highlighted. On the analysts' machines, it assumes focus
altogether. In testing, I set the timeout to every 5s, and I did notice
Outlook get impatient and grab my current window's focus once or twice.

To see this in action, go to Outlook and:
1) right-click on Mailbox, Add a New Folder, give it a name, OK.
2) right-click on the new folder, Properties, Home Page
3) Check 'Show home page', and enter http://www.superbowl.com/scores for the
4) Click on the new folder to make the page active

Alternately, check View|Toolbars|Web to make sure that the address box is
Enter http://www.superbowl.com/scores for the address and hit return.

5) Put another window in front of Outlook
6) Wait about 1 minute for the page to refresh.
When it does, Outlook should pop to the front. Hope you weren't trying to
respond to this post, or get any work done. 8:-)

Nov 19 '05 #1
0 1626

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

Similar topics

by: Jay | last post by:
I'm trying to refresh browser when some new information is available in DB. is there any way to force to refresh browser? Thanks. -Kev
by: Nick K. | last post by:
I am looking for architecture to push information from a server to a client browser. This information would be in the form of an alert. What I do not want to do is have the browser be on a timer...
by: hb | last post by:
Hi, Would you please tell me how to detect if the client's browser is closed? I need such event to trigger a database modification. Thank you hb
by: Joseph | last post by:
I know about writing CGI application using Perl and Apache to refresh a static webpage that displays on the browser. But now i have an application requirement that I hope someone can help me. ...
by: tshad | last post by:
I was looking for a way to handle refreshes (user pressed refresh button) and found a piece of code to check if a Web page was refreshed but I can't get it to work. The code is:...
by: Nalin Gupta | last post by:
Hello, I am newbie to web programming, though a did bit 10 years back. I have to do this for embedded device, which is running some simple minimal web server as of now. On browser, I need to...
by: Bill Nguyen | last post by:
I would like to be able to get an active browser window to refresh the URL (reload) every 5 minutes. Is it possible in VB.NET? Thanks Bill
by: pvogel | last post by:
Hi Folks, I've got an asynchronous pluggable protocol (APP) handler implemented (based on the excellent work here: http://www.codeproject.com/aspnet/AspxProtocol.asp) that works absolutely...
by: NEWSGROUPS | last post by:
I know that I can import data from my Outlook inbox by going to File -Get External Data -Import -Select Files Of Type Outlook() etc... using the wizard but can this be done systemically via VBA...
by: Rina0 | last post by:
Cybersecurity engineering is a specialized field that focuses on the design, development, and implementation of systems, processes, and technologies that protect against cyber threats and...
by: erikbower65 | last post by:
Using CodiumAI's pr-agent is simple and powerful. Follow these steps: 1. Install CodiumAI CLI: Ensure Node.js is installed, then run 'npm install -g codiumai' in the terminal. 2. Connect to...
by: linyimin | last post by:
Spring Startup Analyzer generates an interactive Spring application startup report that lets you understand what contributes to the application startup time and helps to optimize it. Support for...
by: kcodez | last post by:
As a H5 game development enthusiast, I recently wrote a very interesting little game - Toy Claw ((http://claw.kjeek.com/))。Here I will summarize and share the development experience here, and hope it...
by: Taofi | last post by:
I try to insert a new record but the error message says the number of query names and destination fields are not the same This are my field names ID, Budgeted, Actual, Status and Differences ...
by: Rina0 | last post by:
I am looking for a Python code to find the longest common subsequence of two strings. I found this blog post that describes the length of longest common subsequence problem and provides a solution in...
by: DJRhino | last post by:
Private Sub CboDrawingID_BeforeUpdate(Cancel As Integer) If = 310029923 Or 310030138 Or 310030152 Or 310030346 Or 310030348 Or _ 310030356 Or 310030359 Or 310030362 Or...
by: lllomh | last post by:
How does React native implement an English player?
by: DJRhino | last post by:
Was curious if anyone else was having this same issue or not.... I was just Up/Down graded to windows 11 and now my access combo boxes are not acting right. With win 10 I could start typing...

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.