Questions tagged [notepad]

Notepad is a simple text editor for Microsoft Windows. Use this tag for issues relating to interfacing with Notepad and/or duplicating Notepad functionality.

Notepad is a simple text editor for Microsoft Windows. It has been included in all versions of Microsoft Windows since Windows 1.0 in 1985.

787 questions
1
vote
3 answers

How to get Notepad file saved location

How to retrieve the actual path of the notepad file if it is saved in drive. For example a notepad process is running and it is saved somewhere in the drive. How can I retrieve its full path? Using below code I can get the process detail, but not…
navi
  • 63
  • 2
  • 10
1
vote
1 answer

How can I remove alphabet numeric character in notepad file

I am having a text file Example: 793643450715275|Andriod Game Hacker 470734673064253|Andriod Firmရာ 382409221961101|Andriod Solution 709215912481252|AndriodوIOS 248027618719895|Exchange App Andriod Reviews 212241765574268|andrioders I want to…
N0ddy
  • 11
  • 1
1
vote
0 answers

How to add an expansion file to an app

I'm a new app developer and I know the least about Android. I've developed a Notepad. I want to keep its installation size minimal and I would like to add options like fonts as an optional downloadable addon. I do not have any code or logic of how…
NIKE PICK
  • 91
  • 1
  • 8
1
vote
1 answer

Using SSH server and vi editor inside SSH, how do i copy lines of code and paste into notepad

So I have to use SSH for my computational physics course, and with that we have to use VI editor. I'm coding in fortran 77 because that's the only language I have been taught through this course, but my professor has focused mainly on the physics…
Olivia
  • 11
  • 2
1
vote
2 answers

Extra Line Breaks Detected with Visual Studio

While I read my txt file in visual studio, its shows extra line breaks, but when I open same file with notepad it doesn't show those line breaks. I am reading my file with System.IO.File var file =…
10K35H 5H4KY4
  • 1,496
  • 5
  • 19
  • 41
1
vote
2 answers

Python: Pack variable result as text to append it to a text file

Program gets a list of titles from a website. Then stored in a variable (listOfjobs). I want to be able to write the contents of that variable (a list of job positions) appending it to an existing text file, but it tells me that only strings are…
skeitel
  • 271
  • 2
  • 6
  • 17
1
vote
0 answers

MF Notepad conversion

Someone assign me a task to type some document in MF Notepad software (Adobe flash player MF Notepad). After typing I have to save that document. I can see that file but it does not have extension. Issue is that software does not allow paste feature…
1
vote
2 answers

how to refresh the content of the jtable if you're using notepad to putting data in the jtable

public void readCar() { String choice = String.valueOf(car_combo1.getSelectedItem()); int ctr = 0; String filename = null; if (choice.equals("STATE-Description")) { filename = TEXT_CAR1.getText(); ctr = 12; }…
R. Tienzo
  • 13
  • 3
1
vote
3 answers

How to open a file of different extension with notepad in python

I have a .fhx file that I could open normally with notepad but I want to open it using Python. I have tried subprocess.popen which I got online but I keep getting errors. I also want to be able to read the contents of this file like a normal text…
Cheth_K
  • 57
  • 8
1
vote
0 answers

Notepad - force to show save dialog when content provided by SendMessage pinvoke

I have simple helper method which allows me to open notepad.exe and fill it by provided text. [DllImport("user32.dll", SetLastError = true)] public static extern IntPtr FindWindowEx(IntPtr hwndParent, IntPtr hwndChildAfter, string lpszClass,…
user2126375
  • 1,594
  • 12
  • 29
1
vote
1 answer

Tabbed Notepad - not able to remove close button

I'm trying to create a tabbed notepad application but having problems in deleting the "close buttons" on the tabs. The tabs gets removed as they should, but I'm only able to remove 1 close button. Can anyone please help and direct me into the right…
1
vote
1 answer

How notepad create shortcut links in recently opened folder

When we open text file using notepad, a shortcut file is created in recent folder. How notepad do it internally. I tried to open text file using Process.Start("C:\test.txt"); But no shortcut was created. But for other files,…
1
vote
3 answers

Adding List Data to a Text File

I am trying to save the list of data from C# code to a text file. It throws an error at foreach stating that list cannot be converted to string. Any ideas where I am going wrong? I have to Run Application only on .Net Framework…
Kurkula
  • 6,386
  • 27
  • 127
  • 202
1
vote
2 answers

How do i delete all the lines in a file ending with colon using awk or sed?

I have a file with some tabular data in it. But it also has some text line(ending with a colon) in between the data. So i want to remove those text lines and only have my data.
1
vote
2 answers

Running C++ program and Notepad

How to open a notepad in C++ then still continue using the c++ program even when the notepad is open? I tried system("filename.txt") But I can't continue using the c++ program unless I close the notepad file. is this possible?
iri0021
  • 51
  • 1
  • 1
  • 13