Is it possible to put the logoff/shutdown/restart buttons on an ASP page or something similar? If so can anyone point me in the direction of some code please or where I can read how to do it
Cheer
JonBoy 7 2486
What do you mean? Sure, you can put images, buttons, whatever on a page,
but what's the question? Can you allow someone to reboot your server from
your web page? Is that what you want to do? Or do you just want a
screenshot of a shutdown dialog?
Ray at work
"JonBoy" <an*******@discussions.microsoft.com> wrote in message
news:D1**********************************@microsof t.com... Is it possible to put the logoff/shutdown/restart buttons on an ASP page
or something similar? If so can anyone point me in the direction of some
code please or where I can read how to do it. Cheers JonBoy
I mean put buttons on a webpage using whatever language is appropiate ( I
suspect it can only be done in activex). The buttons will be shutdown,
logoff and restart and will replace the usual way of shutting
down/rebooting/logging off. I will disable the usual buttons.
This script will then be ran to logoff/shutdown/reboot the PC. It will be
doing other things as well...I'm not just doing it for the sake of it :-)
JonBoy
"Ray at <%=sLocation%> [MVP]" <myfirstname at lane34 dot com> wrote in
message news:OD**************@TK2MSFTNGP09.phx.gbl... What do you mean? Sure, you can put images, buttons, whatever on a page, but what's the question? Can you allow someone to reboot your server from your web page? Is that what you want to do? Or do you just want a screenshot of a shutdown dialog?
Ray at work
"JonBoy" <an*******@discussions.microsoft.com> wrote in message news:D1**********************************@microsof t.com... Is it possible to put the logoff/shutdown/restart buttons on an ASP page or something similar? If so can anyone point me in the direction of some code please or where I can read how to do it. Cheers JonBoy
You want your webpage to have the ability to reboot the client's computer?
Is that what you're saying? Yes, in theory this can be done with the
correct security settings, but before we get into that, is that REALLY what
you want to do? I would never visit your site if it's going to try to
restart my computer.
Ray at work
"JonBoy" <Jo****@nospam.com> wrote in message
news:dkG6c.758$ux.39@newsfe1-win... I mean put buttons on a webpage using whatever language is appropiate ( I suspect it can only be done in activex). The buttons will be shutdown, logoff and restart and will replace the usual way of shutting down/rebooting/logging off. I will disable the usual buttons.
This script will then be ran to logoff/shutdown/reboot the PC. It will be doing other things as well...I'm not just doing it for the sake of it :-)
JonBoy
"Ray at <%=sLocation%> [MVP]" <myfirstname at lane34 dot com> wrote in message news:OD**************@TK2MSFTNGP09.phx.gbl... What do you mean? Sure, you can put images, buttons, whatever on a
page, but what's the question? Can you allow someone to reboot your server
from your web page? Is that what you want to do? Or do you just want a screenshot of a shutdown dialog?
Ray at work
"JonBoy" <an*******@discussions.microsoft.com> wrote in message news:D1**********************************@microsof t.com... Is it possible to put the logoff/shutdown/restart buttons on an ASP
page or something similar? If so can anyone point me in the direction of
some code please or where I can read how to do it. Cheers JonBoy
Yes thats correct. It's not for a website as such. It's just a web based
application that will run within our own intranet at our company. The
security issue isn't a problem, as these machines won't be hitting the
internet so can be set with low security settings.
So what do I have to do? :-)
Thanks
JonBoy
"Ray at <%=sLocation%> [MVP]" <myfirstname at lane34 dot com> wrote in
message news:uG**************@tk2msftngp13.phx.gbl... You want your webpage to have the ability to reboot the client's computer? Is that what you're saying? Yes, in theory this can be done with the correct security settings, but before we get into that, is that REALLY
what you want to do? I would never visit your site if it's going to try to restart my computer.
Ray at work
"JonBoy" <Jo****@nospam.com> wrote in message news:dkG6c.758$ux.39@newsfe1-win... I mean put buttons on a webpage using whatever language is appropiate
( I suspect it can only be done in activex). The buttons will be shutdown, logoff and restart and will replace the usual way of shutting down/rebooting/logging off. I will disable the usual buttons.
This script will then be ran to logoff/shutdown/reboot the PC. It will
be doing other things as well...I'm not just doing it for the sake of it
:-) JonBoy
"Ray at <%=sLocation%> [MVP]" <myfirstname at lane34 dot com> wrote in message news:OD**************@TK2MSFTNGP09.phx.gbl... What do you mean? Sure, you can put images, buttons, whatever on a page, but what's the question? Can you allow someone to reboot your server from your web page? Is that what you want to do? Or do you just want a screenshot of a shutdown dialog?
Ray at work
"JonBoy" <an*******@discussions.microsoft.com> wrote in message news:D1**********************************@microsof t.com... > Is it possible to put the logoff/shutdown/restart buttons on an ASP page or something similar? If so can anyone point me in the direction of some code please or where I can read how to do it. > > Cheers > JonBoy
Well, nothing with ASP. :] But I see you also posted this to an IE group.
Here is code: http://groups.google.com/groups?th=4...acdd663&rnum=2
You can use this function in a Web page in INTERNET EXPLORER, and for your
zone, you'll have to allow "intitialize and script ActiveX controls not
marked as safe" for this to run. (I ~think~ that should be all.)
Just make sure you don't enable this in the INTERNET zone. If your intranet
is not in the intranet zone, i.e. there are dots in the domain name, add the
domain to the TRUSTED SITES zone and customize those permissions. If you
open up that security hole in the INTERNET zone, your machines will be at
too great a risk.
Ray at work
"JonBoy" <Jo****@nospam.com> wrote in message
news:Zz*************@newsfe1-gui.server.ntli.net... Yes thats correct. It's not for a website as such. It's just a web based application that will run within our own intranet at our company. The security issue isn't a problem, as these machines won't be hitting the internet so can be set with low security settings.
So what do I have to do? :-)
Thanks
JonBoy
"Ray at <%=sLocation%> [MVP]" <myfirstname at lane34 dot com> wrote in message news:uG**************@tk2msftngp13.phx.gbl... You want your webpage to have the ability to reboot the client's
computer? Is that what you're saying? Yes, in theory this can be done with the correct security settings, but before we get into that, is that REALLY what you want to do? I would never visit your site if it's going to try to restart my computer.
Ray at work
"JonBoy" <Jo****@nospam.com> wrote in message news:dkG6c.758$ux.39@newsfe1-win... I mean put buttons on a webpage using whatever lan
I posted to an ASP group 'cause I do have knowledge of that and was hoping
it could be done that way.
I have no idea how to call functions like those in the link. If you could
advise on how to do this and integrate that code with an ASP page I'd very
much appreciate it.
Many thanks
JonBoy
"Ray at <%=sLocation%> [MVP]" <myfirstname at lane34 dot com> wrote in
message news:O%*****************@TK2MSFTNGP10.phx.gbl... Well, nothing with ASP. :] But I see you also posted this to an IE
group. Here is code:
http://groups.google.com/groups?th=4...acdd663&rnum=2
You can use this function in a Web page in INTERNET EXPLORER, and for your zone, you'll have to allow "intitialize and script ActiveX controls not marked as safe" for this to run. (I ~think~ that should be all.)
Just make sure you don't enable this in the INTERNET zone. If your
intranet is not in the intranet zone, i.e. there are dots in the domain name, add
the domain to the TRUSTED SITES zone and customize those permissions. If you open up that security hole in the INTERNET zone, your machines will be at too great a risk.
Ray at work
"JonBoy" <Jo****@nospam.com> wrote in message news:Zz*************@newsfe1-gui.server.ntli.net... Yes thats correct. It's not for a website as such. It's just a web
based application that will run within our own intranet at our company. The security issue isn't a problem, as these machines won't be hitting the internet so can be set with low security settings.
So what do I have to do? :-)
Thanks
JonBoy
"Ray at <%=sLocation%> [MVP]" <myfirstname at lane34 dot com> wrote in message news:uG**************@tk2msftngp13.phx.gbl... You want your webpage to have the ability to reboot the client's computer? Is that what you're saying? Yes, in theory this can be done with the correct security settings, but before we get into that, is that REALLY
what you want to do? I would never visit your site if it's going to try to restart my computer.
Ray at work
"JonBoy" <Jo****@nospam.com> wrote in message news:dkG6c.758$ux.39@newsfe1-win... > I mean put buttons on a webpage using whatever lan
<button name="logoff">Log off</button>
<script type="text/vbscript">
Sub logoff_OnClick()
Call Shutdown(".","logoff")
End Sub
'''that code here
</script>
Ray at home
"JonBoy" <No@spam.com> wrote in message
news:y3***************@newsfe3-win.server.ntli.net... I posted to an ASP group 'cause I do have knowledge of that and was hoping it could be done that way.
I have no idea how to call functions like those in the link. If you could advise on how to do this and integrate that code with an ASP page I'd very much appreciate it.
Many thanks This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Arun Goel |
last post by:
Hi all,
I have set up rmiregistry.exe to run as service on Windows 2000 Server
.. I set it up using "srvany.exe".
It is running fine, but when I logoff, it stops.I did a lot of
research but I...
|
by: Jonathan Heath |
last post by:
Hi all,
I have created an ASP script that enters data into an Access Database.
My problem is that I'd like this script to run when the computer is shutdown
or the user logs off.
I think...
|
by: Allan Bredahl |
last post by:
Hi All
I am trying to construct an application that is able to cancel a machine
shutdown, reboot or logoff. And after performing some stuff to perform the
original shutdown order :...
|
by: jerry.xuddd |
last post by:
I believe that someone asked the same question before, but I can't find the
old post.
I have written a windows service that needs to perform different functions
between a user is logged in and...
|
by: Brian Worth |
last post by:
I have just upgraded from VB 4.0 to VB .NET 2002. One program under VB 4.0
was able to shut down or restart the (windows XP) machine using a series of
API calls. (Getlasterror, GetCurrentProcess,...
|
by: Jm |
last post by:
Hi All
I have an app that when running if a user selects logoff or shutdown from
the start menu, it will close itself but not logoff windows or shutdown.
From what i have found so far its most...
|
by: mikemiller.innova |
last post by:
I developed a C# Windows App that requires a user to input their real
name and what they did to the server while they were online.
I am going to launch the app att shutdown via a logoff script.
...
|
by: CyberSoftHari |
last post by:
I want to get applications running (Showing) in Task bar (and show those applications running) and Cancel windows LogOff, Shutdown, Restart when user try to Click windows LogOff, Shutdown, Restart
|
by: Clemente |
last post by:
Hi,
We have a VB.Net application that is sleeping until it receives a
logoff/shutdown event. We want the application running on Vista and
XP.
When the application receives those events it has...
|
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: isladogs |
last post by:
The next Access Europe meeting will be on Wednesday 4 Oct 2023 starting at 18:00 UK time (6PM UTC+1) and finishing at about 19:15 (7.15PM)
The start time is equivalent to 19:00 (7PM) in Central...
|
by: tracyyun |
last post by:
Hello everyone,
I have a question and would like some advice on network connectivity. I have one computer connected to my router via WiFi, but I have two other computers that I want to be able to...
|
by: NeoPa |
last post by:
Introduction
For this article I'll be using a very simple database which has Form (clsForm) & Report (clsReport) classes that simply handle making the calling Form invisible until the Form, or all...
|
by: Teri B |
last post by:
Hi, I have created a sub-form Roles. In my course form the user selects the roles assigned to the course.
0ne-to-many. One course many roles.
Then I created a report based on the Course form and...
|
by: isladogs |
last post by:
The next Access Europe meeting will be on Wednesday 1 Nov 2023 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM)
Please note that the UK and Europe revert to winter time on...
|
by: NeoPa |
last post by:
Introduction
For this article I'll be focusing on the Report (clsReport) class. This simply handles making the calling Form invisible until all of the Reports opened by it have been closed, when it...
|
by: isladogs |
last post by:
The next online meeting of the Access Europe User Group will be on Wednesday 6 Dec 2023 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM).
In this month's session, Mike...
|
by: GKJR |
last post by:
Does anyone have a recommendation to build a standalone application to replace an Access database? I have my bookkeeping software I developed in Access that I would like to make available to other...
| |