Results 1 to 4 of 4

Thread: vbscripting question

  1. #1

    Thread Starter
    I'm about to be a PowerPoster! kleinma's Avatar
    Join Date
    Nov 2001
    Location
    NJ - USA (Near NYC)
    Posts
    23,373

    vbscripting question

    ok someone asked me to write a vbscript to manipulate a text file... can this be done? i know you can use the FSO in vbscript.. but can you with a standalone script? basically they asked me to write a vbscript that parses a text file log from IIS and extracts IPs from each line

  2. #2
    Hyperactive Member ashay's Avatar
    Join Date
    Feb 2002
    Location
    Mumbai,India
    Posts
    278
    hi,

    Use a vbs file.

    regds,
    ashay

  3. #3

    Thread Starter
    I'm about to be a PowerPoster! kleinma's Avatar
    Join Date
    Nov 2001
    Location
    NJ - USA (Near NYC)
    Posts
    23,373
    yeah i know that much but can i create objects in vbs on the fly?? when I code vbscript in an ASP pages.. i create the objects on the server side though... so using VBscript as a stand alone file on a PC i can still create the objects?

  4. #4
    Hyperactive Member ashay's Avatar
    Join Date
    Feb 2002
    Location
    Mumbai,India
    Posts
    278
    hi,

    yeah ....u can do it.....
    use
    Set f=CreateObject("Scripting.FileSystemObject")

    Remember ,i hvnt used "Server.CreateObject"

    regds,
    ashay

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width