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

    Unique Random Number Generation

    Just to add to markdmac's code: Randomize MyNumber = Int(rnd() * 1000000 + 1) Because we're using the int() function you will only get a number between 0 and 999,999.
  2. loganginger

    Progress bar

    http://home.att.net/~wshvbs/wshLtWtNonModalDialogObj.htm I use the above for progress bars.
  3. loganginger

    Gibberish spam - what's up with that?

    I've noticed a huge increase in these gibberish spam emails coming into our organisation, too. Most of them are regular spam with a heap of random words littered throughout the email. It's my theory that this is the spammer's attempts to render anything that uses a Bayesian spam filter...
  4. loganginger

    Active Directory

    I wrestled with this. Eventually, I found this worked: <% Set grp = GetObject(&quot;WinNT://DOMAIN/DomainGroup&quot;) For each usr in grp.Members Response.Write usr.Name Next %> I needed the page to display things dynamically, depending on whether or not a person was a member of a group...
  5. loganginger

    VBscript = Virus!?

    Treat any vbscript as you would any other executable program. If you didn't ask for it, don't run it.
  6. loganginger

    automatic email disclaimers

    Does anyone know how to append an email disclaimer to outgoing emails? I know it can be done with exchange 5.5 by simply adding a registry entry (doesn't work for 2000 as far as I can tell). I don't particluarly want to spend $000's just for a utility that does it. We are using Outlook as our...
  7. loganginger

    OutLook97 Sending message From VBScript: Why failed ?

    I replaced: With newMessage .Subject =&quot;TEST Transmittal&quot; & rundate & &quot; Exception report also&quot; .Body = myBody .Recipients.Add(&quot;XXXX@XXXX.com&quot;).Type = olTo .Send End With with: With newMessage .Subject =&quot;TEST Transmittal&quot; & rundate & &quot; Exception...
  8. loganginger

    Ping?

    goto http://www.donia.com/products.htm#DSPingPro Download, install, and read the instructions on how to use it in vbscript. No need for batch files. Easy to code.
  9. loganginger

    Multiple IP address

    set IPConfigSet = GetObject(&quot;winmgmts:{impersonationLevel=impersonate}&quot;).ExecQuery _ (&quot;select IPAddress from Win32_NetworkAdapterConfiguration where IPEnabled=TRUE&quot;) for each IPConfig in IPConfigSet if Not IsNull(IPConfig.IPAddress) then for...

Part and Inventory Search

Back
Top