Hi all,
looks like I have a big problem to use a VB.NET function, please help me out
;-)
I try to connvert a vbs to vb.net
I use the getservice Function to list all services with the current status
in a small vb application
on a local machine the code works fine
and if i try to change the focus to a remote machine i see a error like "no
Access - access denied"
my question here is how can I can the securtiy context to a other user /
password ?
Code Snip:
Dim ListSvcs() As ServiceProcess.ServiceController
Dim SingleSvc As ServiceProcess.ServiceController
try
ListSvcs = SingleSvc.GetServices("192.168.1.1")
vbs use this one
http://msdn.microsoft.com/en-us/libr...78(VS.85).aspx