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 SkipVought 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. JadeKnight

    Mathematical equation for counter

    lol... figured it out. Thx, sometimes it's better to think simplicity :)
  2. JadeKnight

    Mathematical equation for counter

    I've allready red that one, however I still can't figure out a smart equation that will be true on a given interval.
  3. JadeKnight

    Mathematical equation for counter

    I need to trigger an event in script when each time a counter passes a given number. Let's say 1000. Below is a sample of what I want to achieve. Option Explicit Dim oShell Dim iCounter,i 'Create Shell object Set oShell = Wscript.CreateObject("Wscript.Shell") iCounter = 0 wscript.echo...
  4. JadeKnight

    Runas code

    I you could tell me some more about you're environment and what you're going to deply, I might point you in another direction. Runas form a script exposes one important security issue, user/pass in clear text. The solution dm4ever provides, remedies this issue a bit, because the utility he...
  5. JadeKnight

    Basic Authentication on ASP Page

    OK, that explains a couple of things. First of all I must advise you to stick with the integrated authentication and SSL. Sounds like this web site is designed by the book. Drop the basic authentication part. This won't help you solve anything nor find the reason why this is failing. The first...
  6. JadeKnight

    Close open windows

    What do you want to accomplish besides closing all open windows? Can you put it in context?
  7. JadeKnight

    Basic Authentication on ASP Page

    You have not configured the IIS and clients properly. You must both have permission in the web site and the files you're going to access (ntfs). If users are comming from same domain, use integrated authentication, you can also make the users omit entering user/pass if you add the url to either...
  8. JadeKnight

    Need this script to find the BUILT IN Administrator account!

    What kind of OS are we talking about here? If WinXP are they in a domain?
  9. JadeKnight

    Basic Authentication on ASP Page

    I assume this is going to run on some sort of IIS. I would suggest you look at the build in authentication features of IIS rather than coding something on you're own. 1) IIS has a lot of ways to authenticate 2) It's secure and proven 3) You don't have to code anything
  10. JadeKnight

    Need help with assigning printer security to 200+ printers

    I assume you're running a Windows 2000 domain/server or higher. If you're running Windows NT 4.0 I can't remember what to do. Haven't touched it in almost six years. Btw, if you're running Windows 2003 on the printservers I would reccomend you to upgrade it to R2 and use the new print manager...
  11. JadeKnight

    Need help with assigning printer security to 200+ printers

    It's a built in group for this. Both in the domain and on the server. User print-operators built in group and you're home free. Just add the domain global group named print operators to the local group print operators at the server. Add the domain users to which is going to operate the printers...
  12. JadeKnight

    Do you have anyscript to reset the Delivery Restrictions

    You can not expect to get an answear out of that question. It's to little information about what you want to accomplish. I can guess that it has something to do with e-mail/Exchange/AD, but... again it's a wild guess and I'm not sure what you want.
  13. JadeKnight

    Need this script to find the BUILT IN Administrator account!

    Btw... here's the full answear to you're question : http://www.microsoft.com/technet/scriptcenter/resources/qanda/jul05/hey0722.mspx
  14. JadeKnight

    Need this script to find the BUILT IN Administrator account!

    You can not use name for that task, you must use sids. Here's a reference to all known sids : http://support.microsoft.com/kb/243330 BTW, if the local administrator account is renamed, you can not delete it. It must be renamed back to Administrator.
  15. JadeKnight

    Redim of multidimesional array

    And off course, it's worth a star... correct reply always is :)...
  16. JadeKnight

    Redim of multidimesional array

    Thx for pointing that out to me EBGreen. I wasen't aware of that limitation. I use multidimesional arrays seldom, Suddenly I discovered the need for dictionary, haven't really thought of it that way before :)...
  17. JadeKnight

    Redim of multidimesional array

    Hi, I've got a problem with a ReDim of a multidimesional array. I can't figur out what's wrong. Any help would be appreciated. Error : Microsoft VBScript runtime error: Subscript out of range: '1' Basically this is this line : aIndex(iCnt,iDim1) = sLine This is the whole sub wich is...
  18. JadeKnight

    Split a string without delimeter...

    That's true PHV, I did see that and I corrected it myself. I was just after the method or principle. Not necessary a blueprint, but thx for pointing it out :)...
  19. JadeKnight

    Split a string without delimeter...

    Thx MrMilson... you're way of doing it was the absolute optimal solution.
  20. JadeKnight

    Split a string without delimeter...

    Thx, I did find a solution myself... but I think your solution was more elegant :). This is what I came up with : Option Explicit Dim sGUID,aGUID(),x,i 'c9e0dbb492006a49864a94100fb34da9 sGUID = "c9e0dbb492006a49864a94100fb34da9" For i = 0 To 32 ReDim Preserve aGUID(x) If i = 0 Then...

Part and Inventory Search

Back
Top