Yahoo Answers is shutting down on May 4th, 2021 (Eastern Time) and beginning April 20th, 2021 (Eastern Time) the Yahoo Answers website will be in read-only mode. There will be no changes to other Yahoo properties or services, or your Yahoo account. You can find more information about the Yahoo Answers shutdown and how to download your data on this help page.

Convert:Visual Basic To Javascript(one line)?

vb code:-

My.Computer.Filesystem.WriteallText("Text","D:/TextFile.txt",False)

2 Answers

Relevance
  • Chris
    Lv 7
    5 years ago

    My.Computer.Filesystem.WriteallText("Text", "D:/TextFile.txt", False)

    A browser's Javascript doesn't have direct access to the file system, not write access at least.

  • 5 years ago

    Impossible to do this because only part of the line is visible.

    Here's what appears:

    vb code:-

    My.Computer.Filesystem.WriteallText("Te...

    * Follow

Still have questions? Get your answers by asking now.