472,354 Members | 1,800 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,354 software developers and data experts.

Win32_Shutdown Flag Setting - Help

I'm new to VB.Net and I'm trying to figure out the Flag for Win32_Shutdown. I went to this link:
http://msdn.microsoft.com/library/de...tingsystem.asp and the syntax
uint32 Win32Shutdown
sint32 Flags
sint32 Reserve
)

I don't know what they mean by Sint32 or unit32 or how should I declare it. I tried the followin

Dim StrFlag(2) As Array ---------> Is this correct? should it be an Array
StrFlag(0) =

For Each strAction In patch.Ge

strAction.InvokeMethod("Win32Shutdown", StrFlag(0)) -------> is this correct?
Nex

Please supply me an example

Thank

Braulio
Nov 20 '05 #1
2 1775
Hi,

http://www.mentalis.org/soft/class.qpx?id=7

Ken
-----------------
"Riverbr" <an*******@discussions.microsoft.com> wrote in message
news:F9**********************************@microsof t.com...
I'm new to VB.Net and I'm trying to figure out the Flag for
Win32_Shutdown. I went to this link:
http://msdn.microsoft.com/library/de...tingsystem.asp
and the syntax:
uint32 Win32Shutdown(
sint32 Flags,
sint32 Reserved
);

I don't know what they mean by Sint32 or unit32 or how should I declare
it. I tried the following

Dim StrFlag(2) As Array ---------> Is this correct? should it be an Array?
StrFlag(0) = 6

For Each strAction In patch.Get

strAction.InvokeMethod("Win32Shutdown", StrFlag(0)) -------> is
this correct?
Next

Please supply me an example.

Thanks

Braulio

Nov 20 '05 #2
Thank you. 1 more question -- is there a namespace in VB.net that can connect to the Active Directory? so I can pull, modify and update records (username, computers etc)

Thanks again
Nov 20 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Jeremy Lemaire | last post by:
Hello, I am working on cross platform code that is displaying a huge memory leak when compiled on 11.00 HPUX using the aCC -AA flag. It is not leaking on NT, LINUX, Solaris, or HPUX without the...
42
by: Shayan | last post by:
Is there a boolean flag that can be set atomically without needing to wrap it in a mutex? This flag will be checked constantly by multiple threads so I don't really want to deal with the overhead...
1
by: Rahul | last post by:
Hi Everybody I have some problem in my script. please help me. This is script file. I have one *.inq file. I want run this script in XML files. But this script errors shows . If u want i am...
7
by: Siv | last post by:
Hi, I have a stored procedure that I want to execute and then wait in a loop showing a timer whilst it completes and then carry on once I get notification that it has completed. The main reason...
2
by: gustavoprogrammer | last post by:
Hi you guys! How are? I'm new at the forum and know you could help me!! I Have a C program that works with file...it's so simple, but i need help with deletion of some data in a file(.dat). This...
0
by: shrik | last post by:
I have following error : Total giant files in replay configuration file are : File name : /new_file/prob1.rec Given file /new_file/prob1.rec is successfully verified. Splitting for giant file...
3
by: Pvt Ryan | last post by:
Background: Due to the large number of bots attempting to ssh to my server, I implemented portknocking (as the logs were just filled with crap). So to access port 2222 for ssh I would first...
6
by: priyajohal | last post by:
#include<fstream.h> #include<process.h> #include<stdlib.h> #include<conio.h> #include<string.h> #include<dos.h> #include<ctype.h> #include<stdio.h> void setup() void help();
3
by: ibeehbk | last post by:
Hi. I have a form made in xhtml. I test via vbscript to make sure none of the fields are empty and properly formatted (ie email). All the regular fields work. However, I have two drop down menus...
0
by: Naresh1 | last post by:
What is WebLogic Admin Training? WebLogic Admin Training is a specialized program designed to equip individuals with the skills and knowledge required to effectively administer and manage Oracle...
0
by: antdb | last post by:
Ⅰ. Advantage of AntDB: hyper-convergence + streaming processing engine In the overall architecture, a new "hyper-convergence" concept was proposed, which integrated multiple engines and...
0
by: AndyPSV | last post by:
HOW CAN I CREATE AN AI with an .executable file that would suck all files in the folder and on my computerHOW CAN I CREATE AN AI with an .executable file that would suck all files in the folder and...
0
by: Arjunsri | last post by:
I have a Redshift database that I need to use as an import data source. I have configured the DSN connection using the server, port, database, and credentials and received a successful connection...
0
hi
by: WisdomUfot | last post by:
It's an interesting question you've got about how Gmail hides the HTTP referrer when a link in an email is clicked. While I don't have the specific technical details, Gmail likely implements measures...
1
by: Matthew3360 | last post by:
Hi, I have been trying to connect to a local host using php curl. But I am finding it hard to do this. I am doing the curl get request from my web server and have made sure to enable curl. I get a...
0
by: Carina712 | last post by:
Setting background colors for Excel documents can help to improve the visual appeal of the document and make it easier to read and understand. Background colors can be used to highlight important...
0
BLUEPANDA
by: BLUEPANDA | last post by:
At BluePanda Dev, we're passionate about building high-quality software and sharing our knowledge with the community. That's why we've created a SaaS starter kit that's not only easy to use but also...
0
by: Ricardo de Mila | last post by:
Dear people, good afternoon... I have a form in msAccess with lots of controls and a specific routine must be triggered if the mouse_down event happens in any control. Than I need to discover what...

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.