473,769 Members | 3,102 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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

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

InvokeMethod("W in32Shutdown", 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("W in32Shutdown", 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 1087

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

Similar topics

3
1342
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 a regular basis. My current Access apps are used to collate, action and summarise this data. The collation process involves checking the new data and adding it to
3
5909
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 some (but not all) such documents by invoking ResultSet.getBinaryStream() or, alternately, ResultSet.getBlob() followed by Blob.getBinaryStream(). For some (as yet undetermined) reason, attempting to retrieve some documents using either of the...
5
25491
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()) { ..... stmt2 = conn.createStatement();
0
1076
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
1870
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.... Here is the Code:
7
1474
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
3464
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 line 383, column 4, file embedsql.pc: EXEC SQL VAR TMK_date IS DATE; ...1 PCC-S-02351, illegal datatype equivalencing operation
10
1319
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 * 50 ); = 295 Why D) = 245.00000000000003 ?
0
9589
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9423
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10222
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10050
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
7413
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6675
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5310
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 last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
3967
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 we have to send another system
2
3570
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.