Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Wanet Telecoms Ltd on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. thomasmcgeown

    Creating a non hidden, remote process?

    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...
  2. thomasmcgeown

    Head scratching "file not found"

    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) &...
  3. thomasmcgeown

    Making the sheel function run synchronously?

    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...
  4. thomasmcgeown

    Select just one service from Win32_service...

    Hi all, My "problem" code is: Set objWMIService = GetObject("winmgmts:"_ & "{impersonationLevel=impersonate}!\\" &_ frmSelect.cmbPCList.List(intCounter)_ & "\root\cimv2") Set colRunningServices = objWMIService.ExecQuery("Select *_ from...
  5. thomasmcgeown

    Select case over IF

    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
  6. thomasmcgeown

    VBS WMI and Services Startup properties.

    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...
  7. thomasmcgeown

    How can i round a number to the nearest 10?

    Im trying to set a vsb so that the value can only be a multiple of 10. Is there a simple way to do this. Thanks Tom

Part and Inventory Search

Back
Top