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

how to get operation(shutdown/restart) result by using win32shutdown method

53
Hi,
I am doing shutdown for a remote system using this method

InvokeMethod("Win32Shutdown", inParams, null); in C#.Net 2.0.

Once the shutdown is done, how to get the status , whether the shutdown is completed or not, As this method InvokeMethod("Win32Shutdown", inParams, null); is asynchronous.
not only for shutdown, i want the status for restart also. once the restart is completed how to know that , that is done.

Plz any suggestions.....
Feb 13 '08 #1
0 1062

Sign in to post your reply or Sign up for a free account.

Similar topics

3
by: B Moor | last post by:
SQL Server 2000 sp3; single instance; used as backend to Access 2002: I have 20 tables used as a temporary store, each one receiving data from VB based remote applications that insert new data on...
3
by: skykeys | last post by:
Hi all, I'm having a problem with the type 4 JDBC driver over DB2 v8.1 on Linux. We've recently begun to use Blobs to store documents in our table structure. Problem is: we're able to retrieve...
5
by: praveen | last post by:
Hi, I am using nested resultsets to execute queries on two different tables. The code structure is: stmt1 = conn.createStatement(); rs1 = stmt1.executeQuery(query1); while (rs1.next()) {...
0
by: madigalwar | last post by:
hi i have a problem while writing a java script for confirm box which i want to use before the delete operation. mayuri
1
by: Bharath Reddy VasiReddy | last post by:
hai all, I am using FAXCOM.dll for fax operation in my application. Here i am getting an "Unspecified error" exception. Can anyone say me whats wrong in my code. Thanks in advance.... ...
7
by: MoRpHeOo | last post by:
Hi everybody, ¿can help me?, I'm novice in C#, can tell me what type of variable gives this operation. Dim a As UInteger = 63689
1
by: John Randall | last post by:
When I try to do datatype equivancing for a date in a .pc file, and then use the precompiler. typedef char TMK_date; EXEC SQL VAR TMK_date IS DATE; I get following message Semantic error at...
10
by: maori | last post by:
You can try this in javascript: A) alert( 1.9 * 50 ); = 95 B) alert( 2.9 * 50 ); = 145 C) alert( 3.9 * 50 ); = 195 D) alert( 4.9 * 50 ); = 245.00000000000003 E) alert( 5.9...
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: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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
Oralloy
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,...
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.