Making A Remote Shutdown Program?

May 21, 2010

I am making a remote shutdown program. Here is the code for the local program that will be checking to see if there is a shutdown:

Imports System.Net
Public Class Form1
Public WithEvents Downlad_Message As WebClient[code]....

View 8 Replies


ADVERTISEMENT

Remote Shutdown PC In A Network?

Oct 14, 2010

How to remote shutdown a PC in a network using vb .net?

View 5 Replies

Shutdown Remote System ?

Mar 2, 2010

I ve to shut down the remote system of a network.. so i need the full vb.net source code to make it possible ..

View 2 Replies

VS 2008 - Shutdown A Remote PC?

May 8, 2009

Is there any way to turn off a remote pc that's not by using shutdown /s /m \computer name etc...I just want to turn off the server computer at night from my laptop. Is it possible to make the program check for pings and then shutdown? Or is there an easier way? (Maybe if I'm not on the local network send over a "signal"(?) to the pc so that it'll shut down..?)

View 6 Replies

[2005] Remote Shutdown With .net?

May 27, 2008

I was just wondering if there was a way to shutdown different computers that were on your network through writing a custom vb application.If so, what do I need to look into, such as certain objects and such.

View 26 Replies

Remote Shutdown/Restart/Lock Administration?

Jul 25, 2008

I work for a school system and I have teachers that run computer labs. I am trying to get an application that will allow them to do the following remotely:ShutdownRebootLockLog OffLog InI am not a good coder and I know what I have is not efficient and probably not what I need. I have found the following code that will Shutdown, Reboot, and Lock a remote

View 3 Replies

Local Group Policy Editor - Force Shutdown From Remote System

Aug 3, 2010

The following steps give a Guest shutdown policy.

1- Click run, and type the gpedit.msc, to start "Local Group Policy Editor".
2 -Expand "Computer Configuration" -> "Windows Settings" -> "Security Settings" -> "Local Policies" -> Then click "User Rights Assignment".
3- In the Policy window, Select "Force shutdown from a remote system", double click it, it will pop a properties window.
4- Click "Add user or group button", add a user and name it Guest.

I need to know if it's possible to manipulate and add the user or group programmatically. I'm using Visual Basic 2008.

View 1 Replies

Detect An Unexpected Shutdown Within A Program And React To It In A VB Program?

Aug 14, 2009

I'm working on a web browser named Hyvar.NET and i'd like to integrate a form of shutdown detection into it.

Currently, it simply uses a tri-option setting to decide how it opens - like this

If My.Settings.LoadLastOnStart = True Then
frm.wbTab.Navigate(My.Settings.LastOpenedPage.ToString)
ElseIf My.Settings.HomeOnStart = True Then

[Code]....

Each variable is appropriately named for its job as you can see.

However, i want to change this to react to correct and incorrect shutdowns - unexpected and user instigated ones for example. I.E: if the settings variable for the detection contained 0x000000, it could indicate a clean exit and continue as normal with a new session, but 0x000001 would indicate an unclean shutdown and present the user with an option of reopening the last session or continueing as normal, like in IE 7/8

Im 100% sure this will require a windows API call

View 1 Replies

Automated PC Shutdown Program Memory

Jun 3, 2011

I made a little VB app to shutdown a laptop after it has been powered on for 2 1/2 hours, and giving the user a little over 8min warning that it is about to be shutdown. However I have nothing in place to stop the user from restarting the device once it is shutdown. What I would like to integrate in this, is a sort of memory where if the user doesn't wait at least 30 minutes, the shutdwon will re-iniate immediatly.

I included the code I did so far.

Public Class Form1
Private Declare Sub Sleep Lib "kernel32" (ByVal dwmilliseconds As Long)
Private Sub Form1_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load

[Code].....

View 2 Replies

Forms - Timer Program Shutdown

Mar 9, 2009

Alright im trying to make it where in Visual Basic 2008 you click on a box ether 10, 20, or 30. Then that tells a timer that the program needs to turn off in 10, 20, or 30 minutes. What I basically want it to do is, whenever the set amount time is when it goes off it shows form1(login form). I have prepared a picture can anyone supply me with some information on how to do this?

View 14 Replies

Unable To Shutdown Pc While Running Program

Jul 8, 2009

I have recently made a program but while it is running the pc is unable to shutdown, i have used the followin code, so the application minimizes while closing:

Private Sub Form1_FormClosing(ByVal sender As Object, ByVal e As FormClosingEventArgs) Handles Me.FormClosing
Me.Visible = False
e.Cancel = True
End Sub

Dont know if this is preventing it 0_O??? is there any alternative to this?

View 3 Replies

Unable To Shutdown Pc While Running Program?

Jul 8, 2009

I have recently made a program but while it is running the pc is unable to shutdown, i have used the followin code, so the application minimizes while closing:

Private Sub Form1_FormClosing(ByVal sender As Object, ByVal e As FormClosingEventArgs) Handles Me.FormClosing
Me.Visible = False
e.Cancel = True
End Sub

Dont know if this is preventing it 0_O??? is there any alternative to this?

View 11 Replies

Trigger Program Action During Windows Shutdown?

Feb 10, 2009

I am designing a program that will show a reminder form when the computer is shutting down. (The reminder is to go outside and get the Bluetooth gps aerial.) I have tried using the formclosing event, (triggered by windows shutting down) to flash the form up on the screen using windowstate = normal. (At loading, the form windowstate = minimised). This did not halt windows shut down and the form was only on the screen for a fraction of a second before windows shut down. Can I trap windows shutdown until the form btn_Yes has been selected?

I think this msdn library article is talking about this. [URL]

I have looked at the enumprocess api, but this is quite a bit outside my current knowledge level. From what I have read, enumprocess would be suitable as we all run the same program on our laptops and I could check for the change of state of that program. Eg. �OK, program A is closing, the computer must be about to shutdown, so flash up the reminder form.�

View 1 Replies

Randomizing Program - Making A Program Which Generates A Random Number Between 1 And 10

Oct 20, 2011

I am making a program which generates a random number between 1 and 10 and when 7 appears it is suppose to tell you how many tries it took to get the number 7 and then end the application. This is the code I have used:

CODE:

This code only generates the number 7 and exits the application, each time i click the random button but i want it to show the other number it randomizes too for example 1 2 3 4 .. etc, if u dont understand, please try it, but im trying to say, when i clikc random it just says number 7 (does randomizing in background) and tells you how much tries it took but i want it to show the other number it randomized also and when 7 appears, then exit the program

View 2 Replies

Remote Access Using Program?

Jul 12, 2011

I was wondering can I make a program that I can send to other computer so i can access their screen. is this something that can be done in visual basic? i ask how to do this because Verizon did this to me the other day i saw him moving the mouse around and checking the connection but of course i had to accept this and it showed me a thing saying he was off when he was done.

View 1 Replies

Starting Program On Remote Pc?

Sep 17, 2009

I don't understand how I can get this to work!!!

Dim co As ConnectionOptions = New ConnectionOptions()
co.Username = "username"
co.Password = "password"

[Code]....

View 13 Replies

Create A Remote Runspace In Program?

Jan 28, 2010

How do I create a remote runspace in vb.net? I want to run a powershell script (actual script is created in my code in a txtbox object) on a remote windows server.[code]...

View 5 Replies

.NET Program Being Detected As Virus On Remote System

Jan 3, 2012

I've developed a simple program and in it I 'copy-pasted' some code which makes a copy of the program executable in a particular path (docs folder) and sets registry to start the executable in windows start-up only.. Everything is working absolutely fine in my PC. But when I sent the exe to my friend's PC. Then the antivirus in her PC detected it as a trojan!

[Code]....

View 2 Replies

Communications :: Make A Remote Desktop Program?

Aug 5, 2009

Lately, ive been using winsock quite a lot. I made a chat application, and now i want to make a remote desktop program. I dont want a half asses one, where u can press buttons that send info to the server, but i want to have a client server relationship where you see the screen, have control to the keyboard, and the mouse. Any tips on how i can go about this?

View 1 Replies

DB/Reporting :: Connection Between Program And An Remote SQL Server

Oct 3, 2009

Connection between program and an remote SQL server. most of the hits were on VB6 and as you might see in the title I use VB.NET 2008, so let's begin:

[Code]...

View 6 Replies

Making A MSN Like Program In VB?

Dec 3, 2009

What I'm trying to do is make a MSN like rpogram where you can send Text form a Textbox to a listbox between 2 computers. I have read About TCP/IP connections?

View 4 Replies

Making A Program Like WMA?

Oct 7, 2009

I used Microsoft Visual Basic 2008 and i am having trouble making it to where i can make a screen that a video can be played in. I mean i know i have to code it to call if from a folder but i do not know how to set up the form so i can make my own program. My teacher said that there used to be a thing where you just put in on the from and it did it for you is there a special thing you have to download to do that or do you have to actually go through and code it yourself. I do not want to be given code i just want to know the best way of starting my project whether it is making a thing so that i can play the videos

View 3 Replies

C# - Program To Monitor Other System Vitals With Remote Connection?

Sep 29, 2011

I'm looking to write a custom program in VB.NET / C++ / C# that would allow me to monitor a system's vitals over a Remote Desktop Connection. I'm only looking for tips on how to implement a connection like this in code (eg. is it just a simple object or call to a WScript function? or is it much more sophisticated?). As to the specifics of operation after making the connection, I have that figured out based on another program which shares some similar features. This doesn't have to go through an RDP connection, I'm definitely looking for better ways. Reason I mention RDP is because I currently do this manually over an RDP connection, but I don't wanna have to constantly open the window.

View 1 Replies

Insert Remote Image Onto Windows Form In Program?

Jun 7, 2009

Inserting remote image onto windows form in vb.net?

View 1 Replies

Write A New Program To Remote Into Our Tech Support Computers?

May 18, 2011

I am tasked to write a new program to remote into our tech support computers to help them out while they are trying to remote into their computers to see what is up if they are having problems. I was asked to be able to not move their mouse if they were in Word, Excel, in an application writing a problem ticket,

View 1 Replies

Making A .NET Application The Only Program Which Can Run?

Oct 18, 2011

What would be the best way to make a Windows .NET application be the only program that can be used on a computer? I have come across timers or events to switch windows back to a window with matching text and some api32 calls to make a form top most.

Is it possible to make an application like the windows lock screen where nothing can be done except that what is on screen? I want to block users from doing other things and only let administrators get to the desktop.

View 3 Replies

Making A Counting Program?

Oct 5, 2009

I am making a program that is very simple, but I'm have problems with it. It runs like this:Theres a textbox and you enter in any amount you want.Next to that there are three radio buttons, deposit, check and service charge.If you enter in 100 in the transaction text box, and check the deposit radio button, and hit "Calculate" it will display 100 (in a total display box); hit calculate again, it will display 200, then 300, etc..Now lets say you keep 100 in the text box, but you check either "service charge" or "check" and hit calculate then it will MINUS the amount in your total display box. So for example if you had 300 in the total display box, and 100 in the transaction box and you checked "Service Charge" and hit calculate it would display 200 in the total display box, hit calculate again, and it shows 100.. etc..

Public Class Form1
Private Balance As Decimal
Private Sub CalculateButton_Click(ByVal sender As System.Object, ByVal e As

[code].....

View 9 Replies

Making A Menu-like Program

Oct 13, 2009

i am making a menu-like program.i added an existing item, which was setup.exe.it appears in the solution explorer.Now, i want to run it using shell or something else at the click of a button. how do i do this?

View 1 Replies

Making A Menu-like Program?

Jan 25, 2009

i am making a menu-like program.i added an existing item, which was setup.exe.it appears in the solution explorer/Now, i want to run it using shell or something else at the click of a button. how do i do this?

View 3 Replies

Making A Program That Has Two Forms?

Jan 27, 2010

I am making a program in vb.net (visual basic) that has two forms. I have one as a sort of "main" base which will be behind everything. Then I have another additional form which is suppose to go on top of the "main" form. Well I get this to work when I show both of the forms, but I want the smaller (additional) form to be centered onto the main form. If you want an easier sense of it, its a small box in a big box. (all centered and aligned). Does anyone know how to do this?

View 3 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved