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
-3
votes
1 answer

Text file breaking lines up when opening it using ReadAllLines() c#

I've created a program to make bug templates and am having a problem with text not saving correctly. I have a text file called TemplateTexts that holds all the text for each template, a template looks like this - REQUIREMENTS - Example ADDITIONAL…
Khakis7
  • 413
  • 4
  • 19
-3
votes
1 answer
-3
votes
3 answers

Fixed tictactoe error in notepad?

Hi i'm doing my assignment, i'm making a tic tac toe game. i'm using notepad for this purpose from my teacher instructions, i'm making 2 classes in a single notepad, a main class of TicTacToe name or 2nd GameBoard. everything is alright in netbeans…
-3
votes
1 answer

Error With My Java Notepad

Hello this is my first Java App that i have created and i am having this error I have a feeling this a syntax error but i can not find it even though i have programmed in C++ /********************************** Notepad Created By Anmol Brar …
-3
votes
1 answer

Clipboard.SetText not copying new line characters properly

In VB 2005, I'm using ClipBoard.SetText to copy the contents of a RichTextBox to the Clipboard: My.Computer.Clipboard.SetText(RichTextBox1.Text) The RichTextBox has multiple lines. The problem I'm having is that after performing this operation and…
RapierMother
  • 339
  • 1
  • 3
  • 13
-3
votes
1 answer

Java, write string to notepad file

I just simply would like to add a string to a notepad file. Let's call the notepad file "Values.txt" Say I have; public static void main(String[] args) { String myText = "Let's add this string to a notepad file"; // Code to add string to a notepad…
Josh Beckwith
  • 1,432
  • 3
  • 20
  • 38
-4
votes
1 answer

How to repeat an instruction of raw_input

I have a question: how to repeat an instruction of raw_input in python 2.7.5? print("This is a NotePad") main = raw_input() this is the code(I started 3 minutes ago.) I can't find an answer to my question on Google. This is the code with me trying…
EvrestRGB
  • 1
  • 3
-4
votes
1 answer

How to change the extension of a file?

I am currently working on project where I need to add some message at the end of a file and then I want to change its extension. I know how to add the message at the end of the file; my code: _ofstream myfile; _myfile.open("check.txt",…
DeUs
  • 31
  • 2
  • 9
-4
votes
2 answers

Execute batch-file to start wifi hotspot as admin

I'm using windows 10 and I often have to start a wifi hotspot manually from cmd. So, I was thinking maybe I could write some code so that I don't have to write the commands again and again but I have no experience with .bat files. This is how I…
Batman
  • 13
  • 1
  • 1
  • 3
-4
votes
2 answers

Get untitled notepad contents

I am looking for a solution in c# or generally in any language which will do the following: 1) Let say you have an opened notepad and have write something inside. File is unsaved. 2) Via the program you will create save as "foo.txt" the notepad file…
Nick Doulgeridis
  • 583
  • 1
  • 16
  • 31
-4
votes
1 answer

Hello, how do I copy text and paste it into another line in notepad?

how do I copy text and paste it into another line in notepad? need to copy the text between "0;" and ";" then paste it in the desired location. How do I do that? tried using regular expressions, but could not. example: filename new.txt Start 1- …
Luix
  • 1
-4
votes
1 answer

Notepad in c# Replace All

I have made replace function, but I am really struggling to make "Replace All" function. I tried to make into for loop but that didn't work well... I have dialog box just like in usual Notepad (another form) and i have richtextbox in Main form. Any…
kristy889
  • 1
  • 1
-4
votes
1 answer

missing main file not found

I've got Java code to simply create a notepad project and I'm having trouble getting it to run. It seems the code generates warnings. I'm using NetBeans IDE 8.01 with Java. When I try to run the program I get the following in a…
-4
votes
2 answers

VB notepad spliter

So I just started a new program and in this program I need a feature that will basically take a text file or just a richtextbox, and then equally split it. So lets say I have a file with 200 lines of text. Then I want to split it up into 10 files of…
-4
votes
1 answer

How can i use notepad for textview?

i'm very biginner so bare me please I have two activity in my project first is text1.xml
user3410344
  • 41
  • 13
1 2 3
52
53