Results 1 to 5 of 5

Thread: active X or server setup!?!

  1. #1

    Thread Starter
    Frenzied Member ober0330's Avatar
    Join Date
    Dec 2001
    Location
    OH, USA
    Posts
    1,945

    active X or server setup!?!

    I want to edit a user's hosts file and I've been told to use VBScript to do this. Do I need to have anything setup special on the server to do this (use VBScript)? I'm using Apache for development and will be migrating to IIS for deployment.

    And then I guess the next question is how to use the FSO in VBScript... does anyone have any examples?
    format your code!! - [vbcode] [/vbcode]

    ANSWERS CAN BE FOUND HERE!!

    my personal company

  2. #2
    Frenzied Member
    Join Date
    Feb 2003
    Location
    Argentina
    Posts
    1,950
    Tag!

  3. #3

    Thread Starter
    Frenzied Member ober0330's Avatar
    Join Date
    Dec 2001
    Location
    OH, USA
    Posts
    1,945
    AH! *tags back*

    30 second mandatory no tag back rule in effect!
    format your code!! - [vbcode] [/vbcode]

    ANSWERS CAN BE FOUND HERE!!

    my personal company

  4. #4
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,170

    Re: active X or server setup!?!

    Originally posted by ober5861
    I want to edit a user's hosts file and I've been told to use VBScript to do this. Do I need to have anything setup special on the server to do this (use VBScript)? I'm using Apache for development and will be migrating to IIS for deployment.

    And then I guess the next question is how to use the FSO in VBScript... does anyone have any examples?
    I'm not sure if you can work with the client's files like that. You'd probably need to use an ActiveX control.

    What sort of an FSO example do you want?

  5. #5

    Thread Starter
    Frenzied Member ober0330's Avatar
    Join Date
    Dec 2001
    Location
    OH, USA
    Posts
    1,945
    Actually... it is possible and I psuedo-solved the problem.

    The only roadblock now is the fact that IE is set as a default to not run vbscript (or at least the FSO object). So now I either have to run around and reset that or go another route, possibly with a vb "patch".
    format your code!! - [vbcode] [/vbcode]

    ANSWERS CAN BE FOUND HERE!!

    my personal company

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