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

    VBSCRIPT Asset Data Collection via User Input

    Here is the final script, I think everything is correct. It writes, It verifies... The only part im leary about is the following Dim WSHShell, RegKey, AbbottAsset, Result Dim sh, v, r Set sh = WScript.CreateObject("WScript.Shell") Set WSHShell = CreateObject("WScript.Shell")...
  2. Lqqker777

    VBSCRIPT Asset Data Collection via User Input

    With the above nothing happens, I guess Ive over thought it to much and now im brain fried.
  3. Lqqker777

    VBSCRIPT Asset Data Collection via User Input

    ???? Im drawing a blank asto whats next.... Option Explicit Dim WSHShell, RegKey, AbbottAsset, Result, v, r Set WSHShell = CreateObject("WScript.Shell") RegKey = "HKLM\SYSTEM\CurrentControlSet\Services\lanmanserver\parameters\AbbottAsset\" AbbottAsset = WSHShell.RegRead (regkey &...
  4. Lqqker777

    VBSCRIPT Asset Data Collection via User Input

    Thanks for the response... The registry read is the part I cant seem to get to work...
  5. Lqqker777

    VBSCRIPT Asset Data Collection via User Input

    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\lanmanserver\parameters\AbbottAsset\Comment or Its value If one or the other exist I want the script to do nothing... no popup just be totally silent. Thanks for the response Mark
  6. Lqqker777

    VBSCRIPT Asset Data Collection via User Input

    OK I got it the way I want it to work, NOW! hehehe always a BUT or NOW... I need the script to run if the string doesnt exist but if it does to not run. I have tried all day using registrykeyexist with no luck, any thoughts? Heres the script so far: Dim sh, v, r Set sh =...
  7. Lqqker777

    Data Collection Via USER INPUT

    Sorry, now I understand what it was you were trying to say... I have been reading till my eyes have gone crosseyed. I actually thought I was in the right forum, somehow I missed I was in Vb5/6.
  8. Lqqker777

    Data Collection Via USER INPUT

    Heres the script so far: Dim sh, v, r Set sh = WScript.CreateObject("WScript.Shell") v = Msgbox("Enter Asset Tag Number") If v = 2 Then wscript.quit End if r = inputbox("ASSET NUMBER") If r = "empty" Then sh.regwrite...
  9. Lqqker777

    Data Collection Via USER INPUT

    OK I got it the way I want it to work, NOW! hehehe always a BUT or NOW... I need the script to run if the string doesnt exist but if it does to not run. I have tried all day using registrykeyexist with no luck, any thoughts?
  10. Lqqker777

    Data Collection Via USER INPUT

    I need to collect data from users as they login to their system... The type of data that I am after is the ASSET TAG NUMBER that is attached to the case of the system. I need the user to type in the asset number (Example - 01881) into a GUI popup, then it be recorded to a text file or entered...

Part and Inventory Search

Back
Top