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

Copy/Filter/Paste to TXT File- Remove Excel Filter

I am trying to filter a tab in excel for non blank cells, copy those cells, and paste the copied data in a txt file. I then need the filter applied on the tab in excel to be removed. When I try to input the clear sub in the TEST sub, the copy and…
arisophia
  • 61
  • 4
1
vote
1 answer

Text file is not longer saved with ANSI in Windows Notepad

When I save a text file in Windows Notepad by selecting ANSI as encoding in the save file dialog, the text file is not longer saved with ANSI but with UTF-8. Why is the text file not longer saved with ANSI? How do I solve the problem? How do I get…
note
  • 19
  • 2
1
vote
2 answers

Cannot resolve symbol 'ViewHolder' Java Android studio

I have tried other examples online and in stack overflow but cannot solve this issue I was following a tut made years ago which uses ViewHolder but it gives me error "Cannot resolve symbol 'ViewHolder'" this is for a part of my notepad tool inside…
Brett Hudson
  • 51
  • 1
  • 7
1
vote
0 answers

Prevent external apps from opening more than once VB.Net using Mutex

I want to ask the correct way to use Mutex so that external apps (Notepad) can be opened once. Below are the codes that I am trying right now. Imports System.Threading Public Class Form1 Dim proc As New System.Diagnostics.Process() Public Function…
iamaftar
  • 11
  • 1
1
vote
2 answers

Using Process.Start to open a text file in PFE

I wonder if you can help me with this one. I have looked on Google but found nothing. I have a program, that once it is finished comparing 2 files together, it writes out all the differences to a text file. I have 2 radio buttons, one to open in…
Kevdog777
  • 908
  • 7
  • 20
  • 43
1
vote
1 answer

Python - Open text editor and view updates in real time

The purpose of my program is to log keypresses in a text editor and display with a timer in real time. Functionality would be similar to manually opening a text editor and typing, which provides immediate feedback. The code below logs keypresses to…
Alex Elfont
  • 115
  • 1
  • 12
1
vote
1 answer

Search&replace notepad regex to be used one

I have strings like is below, nn"h11p3ppppvxq3b288N1 m 227"] {vanxtageendganmesbhorgtgt(1702)}' d3zd6xf8dz8xd6dz8f6zd8` [nn"5rvh11p3ppppvxq3b288N1 n 227"] {vanxtageendganmesbhorgtgt(1802)} d3zd6xf8dz8xd6dz8f6zd8 I start my 1st capturing group from m…
Haji Rahmatullah
  • 390
  • 1
  • 2
  • 11
1
vote
1 answer

Saving and opening Python Script in Anaconda

I use Anaconda with Spyder that was installed in Anaconda to learn python. The problem: when I'm trying to save python scripts by extending the file name to .py, the python script automatically gets saved in the Windows notepad. And when I try to…
Robin311
  • 203
  • 1
  • 9
1
vote
2 answers

How to set default unicode of notepad to UTF8?

Every time I'm saving a file that has some Unicode characters in notepad, it prompts me that this file is going to be saved in ansi format and you will losing some data and I should cancel saving and choose UTF8 as unicode. How can I set default…
hamidreza75
  • 567
  • 6
  • 15
1
vote
2 answers

CSV file created with VBA has blank row(s) at the end even if cells are empty

I am adding some data in the first column of a worksheet and am using this code Sub createCSVfile() Dim xRg As Range Dim xRow As Range Dim xCell As Range Dim xStr As String Dim xTxt As String Dim xName As…
1
vote
1 answer

How to open Notepad text file and keep on top of all other windows until i close it in VBScript?

I would like to create a vbscript to open a notepad text file I saved and keep this notepad text file on top of all other windows either until i minimise it or close it. I want to create a reminder in tasks then so it pops up every 30 minutes or so…
Greg
  • 13
  • 2
1
vote
2 answers

Defining functions with GUI buttons (Python\Tkinter) _beginner level_ (issue: "function; not definded)

Currently studying Python for class, I am creating a number guessing game. objectives of code: a user rolls a dice, that determines how many attempts they get to guess a number between 1 to 100 results are saved in a notepad. I am able to get the…
user13011065
1
vote
3 answers

correct format for json file...then to dataframe

I have a notepad file which I save as a json file and I'm trying to read it in pandas dataframe. My json file looks like this: { "date" : "2000-01-01", "i" : "1387", "xxx" : "aaaa", }, { "fecha" : "2000-01-02", "indicativo" : "1387", …
mariancatholic
  • 81
  • 1
  • 1
  • 6
1
vote
1 answer

Sort XML by attribute

I want to sort an XML file. Let's assume, we have following XML:
Huber
  • 13
  • 2
1
vote
2 answers

Import Data as Array from TXT File in Java

I want to import a data like this from .txt file using Java. I want to import this as an Array. The class of data is like this: class SolidStateDrive { String brand; String model; int capacityInGB; } So if the array from txt file is…
wiryadev
  • 1,089
  • 1
  • 11
  • 33