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 Westi 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. Pickachu

    Search Domain for the current PC to determine its owing OU(Domain)

    Firstly apologies as i posted the wrong code, the code i posted was an earlier version, the actual code i have working (in a fashion is below, it runs without any syntax errors but it doesnt seem to be giving me the desired results as described in my earlier text...
  2. Pickachu

    Search Domain for the current PC to determine its owing OU(Domain)

    I have the following code to search the domain called mx for the current computer name, I seem to be having problems with the syntax at the line indicated by the * it gives me an error saying "The search filter cannot be recognised" can anyone see what i have done wrong? Also, it seems to be...
  3. Pickachu

    Two Domains Login Problem

    We have two domains D1 and DZ, there is a trust between the two domains. I want to stop users logging into PC's from the opposite doamin, if that makes sense. i.e. If a user logs into their domain (D1) but the PC they are logging into belongs to the second domain (DZ) i want to show them a...
  4. Pickachu

    Code Error 800A03F2 - Expected Identifier

    Thanks for your help dm4ever, this worked atreat i was obviously having a bad day! [2thumbsup][yinyang]
  5. Pickachu

    Code Error 800A03F2 - Expected Identifier

    Thanks PHV, i will change it but according to the error i get the problem lies with this bit of code; Do While intProcCount > 0 Set colItems = objWMIService.ExecQuery(wmiQuery) intProcCount = colItems.Count Loop
  6. Pickachu

    Code Error 800A03F2 - Expected Identifier

    I have a script below that is giving me the error, i cannot find or see anything wrong with it, can anyone help? [bigears]Apparently the compilation error is at line 28 col 2, i have indicated the line with a * Dim objShell, vRunObject dim filesys, getname, path, Set objShell =...
  7. Pickachu

    Do While Loop whilst a process is running

    I am writing a piece of code that checks for a certain process running (in this case it is an upgrade to the MSI engine). I want the code to loop until the process has completed but i'm unsure of how to do this, this is what i have so far; -------------------------------------------- Option...

Part and Inventory Search

Back
Top