Win32_Shutdown Flag Setting - Help

G

Guest

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/d...own_method_in_class_win32_operatingsystem.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
 
G

Guest

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top