468,241 Members | 1,657 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,241 developers. It's quick & easy.

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 1645
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 discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

42 posts views Thread by Shayan | last post: by
1 post views Thread by Rahul | last post: by
3 posts views Thread by Pvt Ryan | last post: by
reply views Thread by NPC403 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.