Announcement

Collapse
No announcement yet.

Quick VB question that is driving me.....

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Quick VB question that is driving me.....

    WTF doesn't this code here :

    Const ForReading = 1, ForWriting = 2, ForAppending = 3
    Set fs = CreateObject("Scripting.FileSystemObject")
    Set f = fs.OpenTextFile("c:\windows\system.ini", 2)
    f.Write (myreadini)
    f.Close

    work under Windows95? It works under win98/ME/2000 but not 95. Is there something I'm missing?

    Bj
    BjBlaster! Car MP3 & Carputer!
    bjblaster.com

    "The solution to one problem is only the beginning of another"

  • #2
    Windows 95 does not come with VBScripting support, and therefore doesn't have the FileSystemObject. You will need to download the Windows Scripting Host from the MS site.
    Player: Pentium 166MMX, Amptron 598LMR MB w/onboard Sound, Video, LAN, 10.2 Gig Fujitsu Laptop HD, Arise 865 DC-DC Converter, Lexan Case, Custom Software w/Voice Interface, MS Access Based Playlists
    Car: 1986 Mazda RX-7 Turbo (highly modded), 1978 RX-7 Beater (Dead, parting out), 2001 Honda Insight
    "If one more body-kitted, cut-spring-lowered, farty-exhausted Civic revs on me at an intersection, I swear I'm going to get out of my car and cram their ridiculous double-decker aluminium wing firmly up their rump."

    Comment


    • #3
      Thanks Aaron! I didn't know that.

      Bj
      BjBlaster! Car MP3 & Carputer!
      bjblaster.com

      "The solution to one problem is only the beginning of another"

      Comment

      Working...
      X