HI people,
what is wrong in the code bellow to kill iexplore.exe process after
processing my page??
'»»Before comes routines to access data base and to send email.
Set objWshell = Server.CreateObject("WScript.Shell")
objWshell.Run "%COMSPEC% /C kill iexplore.exe", 0, TRUE
VILMAR
BRAZIL
PRAIA GRANDE/SP 10 7412
Uh... you realize that this runs on the server, not the client......
--
Curt Christianson
Owner/Lead Developer, DF-Software www.Darkfalz.com
"Vilmar Brazão de Oliveira" <su*****@hitecnet.com.br> wrote in message
news:e0**************@TK2MSFTNGP12.phx.gbl... HI people, what is wrong in the code bellow to kill iexplore.exe process after processing my page??
'»»Before comes routines to access data base and to send email. Set objWshell = Server.CreateObject("WScript.Shell") objWshell.Run "%COMSPEC% /C kill iexplore.exe", 0, TRUE
VILMAR BRAZIL PRAIA GRANDE/SP
This will make an attempt to kill iexplore.exe on the SERVER you realize,
yes?
Also, kill.exe is not standard in W2K (if that's what you're using). It's
part of the W2K Resource Kit, IIRC, in W2K.
Are you getting an error?
Ray at work
"Vilmar Brazão de Oliveira" <su*****@hitecnet.com.br> wrote in message
news:e0**************@TK2MSFTNGP12.phx.gbl... HI people, what is wrong in the code bellow to kill iexplore.exe process after processing my page??
'»»Before comes routines to access data base and to send email. Set objWshell = Server.CreateObject("WScript.Shell") objWshell.Run "%COMSPEC% /C kill iexplore.exe", 0, TRUE
VILMAR BRAZIL PRAIA GRANDE/SP
hi guys,
I want to attempt kill process only on the server.
it is not returning me any error.
what is the problem?
thanks,
--
««««««««»»»»»»»»»»»»»»
Vlmar Brazão de Oliveira
Desenvolvimento Web
HI-TEC
"Curt_C [MVP]" <software_AT_darkfalz.com> escreveu na mensagem
news:#m**************@TK2MSFTNGP12.phx.gbl... Uh... you realize that this runs on the server, not the client......
-- Curt Christianson Owner/Lead Developer, DF-Software www.Darkfalz.com
"Vilmar Brazão de Oliveira" <su*****@hitecnet.com.br> wrote in message news:e0**************@TK2MSFTNGP12.phx.gbl... HI people, what is wrong in the code bellow to kill iexplore.exe process after processing my page??
'»»Before comes routines to access data base and to send email. Set objWshell = Server.CreateObject("WScript.Shell") objWshell.Run "%COMSPEC% /C kill iexplore.exe", 0, TRUE
VILMAR BRAZIL PRAIA GRANDE/SP
> what is wrong in the code bellow to kill iexplore.exe process after processing my page??
First of all, why is there an iexplore.exe process on the server? And why
are you killing it from ASP?
Set objWshell = Server.CreateObject("WScript.Shell") objWshell.Run "%COMSPEC% /C kill iexplore.exe", 0, TRUE
What is the actual problem? You ask "what is wrong" but I have no idea what
that means. Have you tried logging in to the server as IUSR_<machine_name>
and running the same command from a command prompt? What happens? Are you
sure kill.exe is even installed? (This is a tool that comes with the
resource kit, and is not installed by default.)
Hi Vilmar,
If you log in to the server and execute this in a .vbs file, for example,
does it work? (Remove "Server." from .vbs code)
Do you have kill.exe?
Ray at work
"Vilmar Brazão de Oliveira" <su*****@hitecnet.com.br> wrote in message
news:er**************@TK2MSFTNGP10.phx.gbl... hi guys, I want to attempt kill process only on the server. it is not returning me any error. what is the problem? thanks,
--
««««««««»»»»»»»»»»»»»» Vlmar Brazão de Oliveira Desenvolvimento Web HI-TEC
"Curt_C [
"Vilmar Brazão de Oliveira" <su*****@hitecnet.com.br> wrote in message
news:er**************@TK2MSFTNGP10.phx.gbl... hi guys, I want to attempt kill process only on the server. it is not returning me any error. what is the problem? thanks,
Is the server also the client? That is, you are sitting at the server
browsing with IE, and once complete you want the browser window to close...
is that correct?
HI GUYS,
the server is the client too.
I only want to kill the process iexplore.exe in the end of asp page
interpretation.
I have the kill program on the server, but still is not running as I hope!
thank untill now,
--
««««««««»»»»»»»»»»»»»»
Vlmar Brazão de Oliveira
Desenvolvimento Web
HI-TEC
"Peter Foti" <pe****@systolicNOSPAMnetworks.com> escreveu na mensagem
news:vv************@corp.supernews.com... "Vilmar Brazão de Oliveira" <su*****@hitecnet.com.br> wrote in message news:er**************@TK2MSFTNGP10.phx.gbl... hi guys, I want to attempt kill process only on the server. it is not returning me any error. what is the problem? thanks, Is the server also the client? That is, you are sitting at the server browsing with IE, and once complete you want the browser window to
close... is that correct?
hi foo man,
it runs ok in ms-dos command prompt.
kill processX
I don´t know why is not killing by asp!!
thanks
--
««««««««»»»»»»»»»»»»»»
Vlmar Brazão de Oliveira
Desenvolvimento Web
HI-TEC
"Foo Man Chew" <fo*@man.chew> escreveu na mensagem
news:uV**************@tk2msftngp13.phx.gbl... what is wrong in the code bellow to kill iexplore.exe process after processing my page?? First of all, why is there an iexplore.exe process on the server? And why are you killing it from ASP?
Set objWshell = Server.CreateObject("WScript.Shell") objWshell.Run "%COMSPEC% /C kill iexplore.exe", 0, TRUE
What is the actual problem? You ask "what is wrong" but I have no idea
what that means. Have you tried logging in to the server as
IUSR_<machine_name> and running the same command from a command prompt? What happens? Are
you sure kill.exe is even installed? (This is a tool that comes with the resource kit, and is not installed by default.)
Why would you want to have the web server kill your web browser if and only
if it happens to be the same machine and is Internet Explorer? That makes
absolutely no sense to me.
I wonder if the problem is that IIS is a service and does not have the
rights to terminate the process: http://msdn.microsoft.com/library/en...ateprocess.asp
Paul
"Vilmar Brazão de Oliveira" <su*****@hitecnet.com.br> wrote in message
news:uI**************@TK2MSFTNGP09.phx.gbl... HI GUYS, the server is the client too. I only want to kill the process iexplore.exe in the end of asp page interpretation. I have the kill program on the server, but still is not running as I hope! thank untill now,
--
««««««««»»»»»»»»»»»»»» Vlmar Brazão de Oliveira Desenvolvimento Web HI-TEC "Peter Foti" <pe****@systolicNOSPAMnetworks.com> escreveu na mensagem news:vv************@corp.supernews.com... "Vilmar Brazão de Oliveira" <su*****@hitecnet.com.br> wrote in message news:er**************@TK2MSFTNGP10.phx.gbl... hi guys, I want to attempt kill process only on the server. it is not returning me any error. what is the problem? thanks,
Is the server also the client? That is, you are sitting at the server browsing with IE, and once complete you want the browser window to close... is that correct?
Try "kill iexplore.exe" at the Command Prompt precisely. Then try
objWshell.Run "kill iexplore.exe" precisely. This is the only way to
properly prove that it works at the Command Prompt and not from the ASP.
Your description of what you did is not as rigorous as that. I made another
post with suggestions as to why that might be.
Paul
"Vilmar Brazão de Oliveira" <su*****@hitecnet.com.br> wrote in message
news:u$**************@TK2MSFTNGP10.phx.gbl... hi foo man, it runs ok in ms-dos command prompt. kill processX I don´t know why is not killing by asp!! thanks
--
««««««««»»»»»»»»»»»»»» Vlmar Brazão de Oliveira Desenvolvimento Web HI-TEC "Foo Man Chew" <fo*@man.chew> escreveu na mensagem news:uV**************@tk2msftngp13.phx.gbl... what is wrong in the code bellow to kill iexplore.exe process after processing my page??
First of all, why is there an iexplore.exe process on the server? And
why are you killing it from ASP?
Set objWshell = Server.CreateObject("WScript.Shell") objWshell.Run "%COMSPEC% /C kill iexplore.exe", 0, TRUE
What is the actual problem? You ask "what is wrong" but I have no idea
what that means. Have you tried logging in to the server as IUSR_<machine_name> and running the same command from a command prompt? What happens? Are you sure kill.exe is even installed? (This is a tool that comes with the resource kit, and is not installed by default.)
This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: news.microsoft.com |
last post by:
Hi folks,
I got samples on http://www.aspfaq.com/show.asp?id=2059 and runs ok to dir
ms-dos command, but to others commands like del, rd, deltree, etc... it has
not had any effect, even it has...
|
by: Vilmar Brazão de Oliveira |
last post by:
Hi all,
I was using:
<% Set objWshell = Server.CreateObject("WScript.Shell")
objWshell.Run "%COMSPEC% /C ren topoX.jpg topo_cliente.jpg", 0, TRUE %>
BUT the comand COMSPEC disapeared of all my...
|
by: Fred |
last post by:
There is a setting in INIT.ORA that has the unintended side-effect of
making sure the ALTER SYSTEM KILL SESSION command has immediate affect.
Without this setting, I've seen some instances where...
|
by: Jako Menkveld |
last post by:
I'm building a relatively simple client-server app. One of the functions of
the client is to notify the server when it terminates, this all works fine.
The problem comes in when the server is...
|
by: =?Utf-8?B?QWxoYW1icmEgRWlkb3MgS2lxdWVuZXQ=?= |
last post by:
Hi misters,
Is it possible "kill" the thread of Backgroundworker ?
In my Dowork event, I have NOT While for do e.Cancel = true, only have a
call to external COM.
If I want cancel, calling...
| |
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,...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers,...
|
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...
|
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...
|
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,...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The...
| |
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| | |