Hi,
Im trying to create a process on a remote computer, however i dont want the process to be hidden, i.e if the process is notpad.exe then i want a notepad to open on the remote computer.
However my current code just runs the process and does not show the window.
MINIMIZED_WINDOW is a...
The following line of code is producing an error 53 file not found - app.path is E:\nettools and the file exists in e:\nettools\vncinstall\ ... any ideas?
runVNCexe = Shell("copy " & Chr$(34) & App.Path & "\vncinstall\winvnc.exe" & Chr$(34) & " " & Chr$(34) &...
By default, the Shell function runs other programs asynchronously, this causes me a problem in that a file hasnt been completly finished being written before vb tries to read it, casuing a list to not fully populate.
The time taken to write the file can vary immensly depending on the conditions...
Hi all,
My "problem" code is:
Set objWMIService = GetObject("winmgmts:"_ & "{impersonationLevel=impersonate}!\\" &_ frmSelect.cmbPCList.List(intCounter)_ & "\root\cimv2")
Set colRunningServices = objWMIService.ExecQuery("Select *_ from...
In terms of speed, is it better to use select case or a series of IF statements?
If anyone can explain why one is quicker than the other (if it is) id appreciate it :)
Cheers
Good morning.
I am currently working on a script that will check for a service, and check if its running.
If the service is present and not running it will attempt to start the service.
At this point i would like the script to set the startup type to automatic.
Im farily new to WMI so im...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.