Forum Discussion

subhram_sahoo's avatar
subhram_sahoo
Occasional Contributor
6 months ago

I want to read all contains from a notepad and paste all contains of notepad into my application

I want to read all contains from a notepad and paste all contains of notepad into my application. How to define or get that notepad file and all contains inside that notepad

3 Replies

  • rraghvani's avatar
    rraghvani
    Champion Level 3

    "What is the exact variable value of notepad?" - meaning what is the actual value of your variable i.e. is it "C:\Temp\SomeText.txt"? What value are you passing to FS.OpenTextFile(notepad, ForReading)?