Lost Password? No account yet? Register
Member Area

Software Installation Technologies

May 17th

Home arrow Community arrow External Forums arrow Scripting

Scripting
microsoft.public.scripting.vbscript Google Group


  • Find Default Network Card NIC
    Hi all,
    I need a little help with some scripting so i can out put the default
    network card being used on any given computer.
    I know i can use something like:
    strComputer = "."
    Set objWMIService = GetObject("winmgmts:\\" & strComputer)
    Set colItems =
    objWMIService.InstancesOf("Win 32_NetworkAdapterConfiguration ")

  • Re: HMAC SHA-1 Challenge
    hello,
    see inline
    I changed maybe four lines and added one function StrFromHex()
    good luck,
    Mark from tlviewer.org
    strIpad = strIpad & Chr(arrIpad(i))
    strOpad = strOpad & Chr(arrOpad(i))
    hmac = sha1(strOpad & StringFromHex(sha1(strIpad & text)))
    ' add this helper function
    Public Function StringFromHex(sText) 'As String

  • Re: active directory question
    The first recommendation has to be to not use "On Error Resume Next"
    throughout. I know you trap many possible errors early in the script, but a
    lot can go wrong later (and perhaps does). My approach is to only use "On
    Error Resume Next" for the statements I expect might raise an error, then
    handle the error (as you do in several places), then restore normal error

  • Re: Change from gradient background on fly in an HTA
    XP schrieb:
    Sub solidColorOnTheFly()
    With document.body
    .style.filter = ""
    .bgcolor = "#66594C"
    End With
    End Sub

  • Re: interact with user dialobbox user e passord
    Have a look here:
    [link]

  • Change from gradient background on fly in an HTA
    In an HTA I have the following CSS which initially sets up a gradient
    background like so:
    body
    {
    filter: progid:DXImageTransform.Micros oft.Gradient(GradientType=1,
    StartColorStr='#66594C', endColorStr='#69999C');
    I wanted to be able for the user to change the background to a solid color
    on the fly, but the following fails if the gradient is loaded:

  • Re: interact with user dialobbox user e passord
    Tks for suggestiopn but sure not for me...
    Code?

  • Re: Set a drop down to a certain selection
    Hi Tom,
    Sorry, it is in an HTA, and your solution works perfectly, thanks!

  • active directory question
    With the help of this newsgroup I have a script that will pull the the groups
    off a specified folder output them and the members of each group to separate
    sheets in an excel spreadsheet. I also want to output the logon names of each
    member. To do this I have to access the User properties instead of the Group.

  • Re: exporting .resx file to excel.
    hi NIDU,
    As best I can tell, a resx file is an old-fashioned "res" file,
    rendered into xml, the format used by vs.
    I can't imagine what you want the file in xl for, as you can
    most likely modify or re-format it any way you want with
    vbscript.
    However, if you must use xl, then there are (at least) two


Visitors: 501057

Extended Menu