473,387 Members | 1,619 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,387 software developers and data experts.

How do I command a browser screen to front from asp?

Our application launches a webbrowser window with a command to (more than
one) asp's on the host. The window is reused for subsequent commands.
Unfortunately, the old window is usually underneath some other window and
unaccessable from the application.

Is there (preferably) a browser-independant method to command the window to
front from the asp?

thanks for your help.
regards,
Dar7yl.
Jul 21 '05 #1
6 1258
On Tue, 19 Oct 2004 02:45:24 GMT, "dar7yl" <no******@accepted.org>
wrote:
Our application launches a webbrowser window with a command to (more than
one) asp's on the host. The window is reused for subsequent commands.
Unfortunately, the old window is usually underneath some other window and
unaccessable from the application.

Is there (preferably) a browser-independant method to command the window to
front from the asp?


No, that's a client-side issue. And you know, I'm not sure I've even
seen one client-side, but you may find one. Alternatively, close and
don't reuse that window.

Jeff
Jul 21 '05 #2
"Jeff Cochran" wrote:
No, that's a client-side issue. And you know, I'm not sure I've even
seen one client-side, but you may find one.
Developers nowadays are so focused upon the server that they forget that it
is there to service the client. Yes, this is an asp group, but there is
life outside the server. Focus outward.
Alternatively, close and
don't reuse that window.


Not an option. The window belongs to the user. He may decide to close it or
reuse it. If he does reuse it, a simple screen-to-front command would be
appropriate. What options are available to the asp programmer to control
the calling browser display properties?

regards,
Dar7yl.


Jul 21 '05 #3
"dar7yl" wrote in message news:%K2dd.32812$qU.9380@clgrps13...
: "Jeff Cochran" wrote:
: > No, that's a client-side issue. And you know, I'm not sure I've even
: > seen one client-side, but you may find one.
:
: Developers nowadays are so focused upon the server that they forget that
it
: is there to service the client. Yes, this is an asp group, but there is
: life outside the server. Focus outward.

I'm going to use that argument with my mechanic when I take my motorcycle to
him and he says, "We only work on Corvettes!" I'm gonna' say, there is life
outside the Corvette. Focus outward!

: > Alternatively, close and
: > don't reuse that window.
:
: Not an option. The window belongs to the user. He may decide to close it
or
: reuse it.

Your application opened it, and named it, hopefully and we can guess at how
your application works or perhaps you can include more in your post to a
j(ava)script NG.

: If he does reuse it, a simple screen-to-front command would be
: appropriate.

And there is one, in javascript.

: What options are available to the asp programmer to control
: the calling browser display properties?

You're not listening. It is a client-side issue! ASP ONLY deals with the
server no matter how outward you focus. (O:=

--
Roland Hall
/* This information is distributed in the hope that it will be useful, but
without any warranty; without even the implied warranty of merchantability
or fitness for a particular purpose. */
Technet Script Center - http://www.microsoft.com/technet/scriptcenter/
WSH 5.6 Documentation - http://msdn.microsoft.com/downloads/list/webdev.asp
MSDN Library - http://msdn.microsoft.com/library/default.asp
Jul 21 '05 #4
> Yes, this is an asp group, but there is life outside the server.

So let's all jump into an Oracle group and tell them that they must answer
our questions about Access or SQL Server or basket-weaving or the recipe for
Dr. Pepper, because after all, there is life outside of Oracle.
reuse it. If he does reuse it, a simple screen-to-front command would be
appropriate. What options are available to the asp programmer to control
the calling browser display properties?


As Jeff said, this is a client-side issue. ASP does not know what a window
is. You could try setting focus() to a form element on the other window.
If you open the window with a name, you can reference it that way... see a
JScript/JavaScript group for more information.
Jul 21 '05 #5
On Tue, 19 Oct 2004 06:46:19 GMT, "dar7yl" <no******@accepted.org>
wrote:
"Jeff Cochran" wrote:
No, that's a client-side issue. And you know, I'm not sure I've even
seen one client-side, but you may find one.


Developers nowadays are so focused upon the server that they forget that it
is there to service the client. Yes, this is an asp group, but there is
life outside the server. Focus outward.


The group is focused on ASP. There *are* client side groups,
Javascript, VBScript, DHTML, etc available for those answers. You may
want to refocus outward toward those groups for answers they can best
provide.
Alternatively, close and
don't reuse that window.


Not an option. The window belongs to the user. He may decide to close it or
reuse it. If he does reuse it, a simple screen-to-front command would be
appropriate. What options are available to the asp programmer to control
the calling browser display properties?


I'd argue the window belongs to the app, but that's really just a
design issue. As far as options for the ASP programmer to control the
browser, there are none. But there are plenty for a Javascript
programmer.

Keep in mind that ASP isn't your entire application. ASP is simply
the server technology, and you are heavily using a client side
technology as well. I'm not trying to be an ass (though I usually get
accused of that anyway), I'm trying to point you to an alternative
location where your question would be best answered with the options
available.

Jeff
Jul 21 '05 #6
Learn JavaScript or post in a JavaScript newsgroup.

dar7yl wrote:
Our application launches a webbrowser window with a command to (more than
one) asp's on the host. The window is reused for subsequent commands.
Unfortunately, the old window is usually underneath some other window and
unaccessable from the application.

Is there (preferably) a browser-independant method to command the window to
front from the asp?

thanks for your help.
regards,
Dar7yl.


--
Please do not contact me directly or ask me to contact you directly for
assistance.

If your question is worth asking, it's worth posting.

If it’s not worth posting you should have done a search on
http://www.google.com/ http://www.google.com/grphp?hl=en&tab=wg&q= or
http://news.google.com/froogle?hl=en&tab=nf&ned=us&q= before wasting our
time.
Jul 21 '05 #7

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

Similar topics

6
by: jonathan | last post by:
everyone, I'd like to be able to debug php scripts on the command line, going through the browser. In other words, set up the debugger to listen and then type in a url and have the code stop...
2
by: Fred Snider | last post by:
Help! Opening a new window using the window.open( ) command works great for opening new windows and having them on top and having the focus. The window.focus command brings any existing...
8
by: lawrence | last post by:
Under the domain publicpen.com I've several dozen sites in subdiretories, such as www.publicpen.com/honenbeger. I've no trouble with any of these sites. But under one, which I put in yesterday,...
20
by: msa | last post by:
Hi there, First off, let me say that I know that launching to full screen is a bad idea. I would never do it given the choice, but I must follow orders from my boss, the boss that desparately...
10
by: jimmy | last post by:
Hi again, sorry for posting two questions so close together but im working on a school project which is due in soon and running into some difficulties implementing the database parts. I have the...
2
by: one.1more | last post by:
Hello, I have the following code but its not working. i want my site to be accessible only if the visitors resolution is 1024 x 768 or higher and only if they are using internet explorer. the...
4
by: Zoubidoo | last post by:
Many applications require a high-speed interface such as supermarket checkouts, busy points of sale, doctors' surgeries etc. The problem with graphical interfaces is that they are too slow for...
3
by: V S Rawat | last post by:
Browser has its own settings, java, javascripts, addons, extensions, keyboard shortcuts, along with the problem in html coding in the php file, which all I think might interfere with seeing only...
1
by: alnino | last post by:
Hi, On a form I have a command button that allows a user to browse for a file (PDF, Word, etc…). This command button then stores a hyperlink to the file within an associated txtfield in the table....
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
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...

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.