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 IamaSherpa 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. chouck

    On the fly listbox in HTA

    It worked... I had to juggle a couple of things around, and not exactly sure what I did, but I got it to work. Thank You so much for the help Curt
  2. chouck

    On the fly listbox in HTA

    Oh man, I am so close this is what I put in my do/loop: Do Until objRecordSet.EOF set objoption= objRecordSet.Fields("printerName").value AvailablePrinters.add(objoption) objRecordSet.MoveNext Loop now when i run it, it comes up and gives me an error message that says...
  3. chouck

    On the fly listbox in HTA

    Hi PHV, Yeah I was looking at that one earlier and one on the "Scripting Guy" website as well. This is a very generic version of the code that I am trying to develop. Any suggestions. I have marked the area where I think the problem is occurring I just can't figure it out :( <HEAD>...
  4. chouck

    On the fly listbox in HTA

    Hi All, I have gotten some great help on this site and was hoping to figure this problem out. What I am trying to do is to dynamically populate a list of available printers in a drop down box users can select from. I am connecting to AD in 2003 to get the printer info and want to "import" it...
  5. chouck

    Hta error handling

    Thanks for the help. I did find a really good link on ActiveExperts site: http://www.activexperts.com/activmonitor/windowsmanagement/adminscripts/printing/servers/#EnumAllPublishedPrinters.htm I am going to try and intergrate this in.
  6. chouck

    Hta error handling

    Thanks DM that worked like a charm. Now I think I am getting greedy. Is there a way to query the local print server and havve it populate a dropdown list depending on the "case" selected ? I tried using wmi to enumerate the printers but it seems you have t ohave admin rights on the print server...
  7. chouck

    Hta error handling

    Hi All, I have a bit of code that I am having a problem w/. I have a little hta that will let a user select their location, then type in the printer name, and then have some vb code run to add the printer connection. I have it set to where if the user just clicks of without typing anything it...
  8. chouck

    Collection Object output formatting question

    Hi All, I'm not sure if I will explain this correctly but here goes... I am trying to display the description of the modem that is installed see code: strComputer = "." Set objWMIService = GetObject("winmgmts:" _ & "{impersonationLevel=impersonate}!\\" & strComputer & "\root\cimv2") Set...
  9. chouck

    Alphabetical Directory search question ?

    PHV, that worked awesome. it did exactly like what i wanted it to. Thanks a million!!! mr. movie, that was just the way it has always been set up here. i guess in case a user needed something particular to just them or something like that.
  10. chouck

    Alphabetical Directory search question ?

    Hi All, this one is kind of complicated to me so i'll try to explain it the best i can. i have a text file of all users in my location. i want to use that text file as input to connect to there home directories and add a line to their logon script that will call an application setup when they...
  11. chouck

    Install / push out MSI package on multiple client pc's

    Hi All, I have been looking at this specific code all day and i still haven't figured out what i am doing wrong: Const wbemImpersonationLevelDelegate = 4 Set objWbemLocator = CreateObject("WbemScripting.SWbemLocator") Set objConnection = objwbemLocator.ConnectServer _ ("WebServer"...
  12. chouck

    Need help with WMI and DNS settings in script

    Tsuji, Thank You, Thank You, Thank You !! that is exatly what I was looking for!
  13. chouck

    Need help with WMI and DNS settings in script

    Hi All, I was wondering if anyone ever came across this situation, or if you might know how to do this. Basically what I am trying to do is to change the client DNS settings to to not do a search domain suffix's. I have gotten as far as changing the advanced dns settings from "Appending The...
  14. chouck

    Manipulating the system time

    PHV, Thank you so much. That worked like a champ!!! perfect :) I don't suppose you could kind of explain what you did there, i kind of get the left right set thing but not really ? And would like to understand. Thanks again!
  15. chouck

    Manipulating the system time

    Hello All, I have what I think is an easy question, I just haven't been able to figure it out. I'm trying to get the pc to echo the date format a certain way and haven't been able to figure it out when I run this code : currdate = year(date) & "/" & month(date) & "/" & day(date) wscript.echo...
  16. chouck

    error when connecting to wmi on remote computer

    i'm throwing this out there for anyone who has an idea. basically what is happening is that i have a script that runs against a set of pc's on my network. it tries to remotely connect to the wmi object and then retrieves information from the remote pc's. my problem is that when it comes across...
  17. chouck

    use wmi to compare current ip ipaddress to dhcp server ?

    I was wondering how to do this. and am looking for any answer or suggestion someone may have to do this... i want to use wmi to take the current ip address for the "active" adapter and compare it to the current dhcp server address and use it as a way for a client pc to process a script a logon...
  18. chouck

    use wildcard string to check flow of script

    thank you to both of you, both of these solutions worked very well!! This was gold and did exactly what I needed it to do. Thanks
  19. chouck

    use wildcard string to check flow of script

    I was wondering if anyone could tell me how to do this. I cna't figure it out and was looking for a bit of advice: what i want to do is take the first two characteres of a computername and use that as the indicator of which way the script shoul flow. for instance if i use one type of name for...
  20. chouck

    Determin and echo locational DHCP Server

    tsuji, The clients are all windows 2000. the dhcp servers are a mixture of winnt 4.0 and win2k.

Part and Inventory Search

Back
Top