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 Chris Miller 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?

    thank you for your help vanvb, id like to do this myself tho, a combination of being to proud to admit defeat and knowing that a decent challange will improve my abilities more than taking an easier route! Thanks again for your suggestion! Tom
  2. thomasmcgeown

    Creating a non hidden, remote process?

    for anyone who was interested.. seems this is impossible using the WIN32_Process class, its made non interactive for security reasons apparently, guess it makes some sort of sence. gonna try and do it by creating a scheduled task with a small amount of time added to the system time.
  3. thomasmcgeown

    Creating a non hidden, remote process?

    *bump* no one got any suggestions?
  4. 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...
  5. thomasmcgeown

    Head scratching "file not found"

    "I misread your original post, the problem is that visual basic cannot recognise the copy command from shell." ^^ does anyone have a list of commands that can and cant be sent to shell to save me this hassle in the future?!
  6. thomasmcgeown

    Head scratching "file not found"

    matt king - no, e: is a local drive andy watt- cant remember, i think not as i didnt use it as a solution - will try again to satisfy your curiosity :)
  7. thomasmcgeown

    Head scratching "file not found"

    well that method works fine.. /me scratches his head some more cheers all for your help!
  8. thomasmcgeown

    Head scratching "file not found"

    unbeliveably.. exactly the same error!
  9. thomasmcgeown

    Head scratching "file not found"

    Got it working, not an ideal solution by any means but did it by creating a batch file then running that from shell.. will slow my code down a hell of a lot when it has a list of machines to run the code on i think, never mind eh! Set txtTryingBat = fso.createtextfile(App.Path &...
  10. thomasmcgeown

    Head scratching "file not found"

    returns correct paths for both source and destination as follows: copy "e:\nettools\vncinstall\winvnc.exe" "\\tomm\c$\program files\realvnc\winvnc\winvnc.exe" the above is also the exact line I use succesfully at a command prompt
  11. thomasmcgeown

    Head scratching "file not found"

    it is blank, but that will be because it is unable to complete that line of code.. surely...
  12. thomasmcgeown

    Head scratching "file not found"

    ill give it a try, but i dont see why shell would need to reference the vb fso, a far as vb is concerned there just strings, no file access is done until shell takes over... the command works fine if i run it manually from cmd
  13. thomasmcgeown

    Head scratching "file not found"

    i am domain admin and im testing it on my local machine, so its not permisions either..
  14. thomasmcgeown

    Head scratching "file not found"

    strRemotePush = "\\" & strSelected & "\C$\Program Files\RealVNC\WinVNC\" - so not that!
  15. thomasmcgeown

    Reading Registry

    I would use WMI - try modifying this code i wrote for creating registry keys '*************** Set Registry Values *************** strNewKey = "Software\MYNewKey\" strMethodCreateKey = "CreateKey" Set objRegistry =...
  16. 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) &...
  17. thomasmcgeown

    Making the sheel function run synchronously?

    Thanks for your suggestions. In the end i made the batch add a particular string to the end of the text file it was creating, then stuck a loop so that the code would not continue unless this string was present... ====================================== Do Until intEndTest = 1 Do...
  18. thomasmcgeown

    MouseMove problem with ListBox.

    justa thought i had may not work.. why not put a hidden frame under the area u want to trigger it and trigger on that instead.. never tried it so may not work
  19. 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...
  20. 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...

Part and Inventory Search

Back
Top