Click here to Skip to main content
15,893,814 members
Everything / Text

Text

text

Great Reads

by shunninghuang
CPS1 emulator, ROM hacking
by Andy Allinger
Add features to k-means for missing data, mixed data, and choosing the number of clusters
by Ajcek84
Open source library for music engraving in desktop, mobile and web applications
by Edwyn Amador
Handles and validates input typing and pressed keys in TextBox, RichTextBox and ComboBox, displaying custom balloon tips messages

Latest Articles

by Jo_vb.net
This article and the demo are about getting started using the MVVM Toolkit and some self-created interfaces / services for MessageBox and some dialogs.
by Xavier Junqué i de Fortuny
Converts MathML coded string to/from plain text string
by Macabies Gilles
An easy-to-use filterable, multilingual custom DataGrid control for managing and filtering data for your WPF applications
by shunninghuang
C# arcade emulator, ROM hacking

All Articles

Sort by Updated

Text 

U 7 May 2024 by Jo_vb.net
This article and the demo are about getting started using the MVVM Toolkit and some self-created interfaces / services for MessageBox and some dialogs.
U 30 Apr 2024 by Xavier Junqué i de Fortuny
Converts MathML coded string to/from plain text string
5 Mar 2024 by Macabies Gilles
An easy-to-use filterable, multilingual custom DataGrid control for managing and filtering data for your WPF applications
18 Feb 2024 by shunninghuang
C# arcade emulator, ROM hacking
15 Jan 2024 by Sh.H.
I found the answer. I should bind the Text to parent, then bind to the Class.
15 Jan 2024 by Sh.H.
Hi I have a DataGrid. I used TextBox in its cells. I made a ControlTemplate for it. So My problem is when I use controlTemplate, the Binding of TextBox won't work. But if I directly set everything in the DataTemplate, the Binding works perfect....
9 Jan 2024 by Ammar Albush 1997
Network Sniffer and Analyzer Program written in C# .NET 6.0 Windows Form (Sharppcap, PacketDotNet)
18 Nov 2023 by Erik Drent
A simple POCO mapper for EPPlus
30 Oct 2023 by Rami Alshaar
Enhance your coding skills with a walkthrough on how to create a smart calculator with many features made in Python.
25 Aug 2023 by InvisibleMedia
ScrollBars implementation with Windows Forms because the AutoScroll didn't fit my needs
12 Aug 2023 by Andy Allinger
Convert audio to image. (Edit the image.) Convert image to music.
2 Aug 2023 by Patrice T
How to use bitwise operations on Bitfields as primitive SIMD
26 Jun 2023 by Jo_vb.net
Get started MonoGame and use IceSkater C# project
16 Jun 2023 by Member 11788039
So the spell checker works fine, however there are a few issues. 1.) Does not capitalize the first letter of the alphabet. 2.) Does not underline the error when doing the spelling or grammar check 3.) Most probable the most important the form...
15 Jun 2023 by Andre Oosthuizen
1. To capitalize, add the following line of code just before you copy your text to the clipboard (Uppercase Letter[^]) - RichTextBox1.Text = Char.ToUpper(RichTextBox1.Text(0)) + RichTextBox1.Text.Substring(1) 2. To underline the errors, you...
7 Jun 2023 by Andy Allinger
Add features to k-means for missing data, mixed data, and choosing the number of clusters
4 May 2023 by JayWalks
A walkthrough of code solving a real world problem
22 Apr 2023 by Ben McNamara
Container classes much faster than STL.
11 Apr 2023 by MarkLTX
Easy to use logger with a powerful viewer that supports filtering by thread, logger, etc.
19 Mar 2023 by Amitkumaryadava
Hello Great Minds ! I have Difficulties to read text where notepad have large data and strings character like ---- and ... The Data i Want to read data in datagrid Like Below Village Grower Mobile Aadhar 50305 ...
19 Mar 2023 by OriginalGriff
The code you show doesn't try to do what you describe: in fact it doesn't do anything useful at all. It looks like you found some "read a file" code and threw two lines into it in the hope it would work: ResultText.Text = line.ToString...
6 Feb 2023 by shunninghuang
Software named M1.NET which shows the details of decrypting arcade game audio
16 Nov 2022 by Svetoslav Chekanov
Fast implementation of 2:1 image shrink (full image or part of it)
21 Oct 2022 by nessNotFound404
Hello I've been trying to get scaling text(sized to fit it's container without trailing) into my views with the following modifiers below is the custom button code, and the image is it's containing view. I've applied the following modifiers to...
10 Oct 2022 by Mehul Donga
Handle managed (C#) event in managed (C++/CLI)
5 Oct 2022 by Jake-J
Hi there, I want to use regex to parse a m3u list. Let's suppose we have this m3u item: #EXTINF:-1, tvg-name="THE NAME" tvg-logo="THE LOGO" group-title="THE TITLE",THE ITEM https://www.SampleSite.com I want to extract THE NAME,THE LOGO, THE...
5 Oct 2022 by Patrice T
Just a few interesting links to help building and debugging RegEx. Here is a link to RegEx documentation: perlre - perldoc.perl.org[^] Here is links to tools to help build RegEx and debug them: .NET Regex Tester - Regex Storm[^] Expresso Regular...
5 Oct 2022 by OriginalGriff
Try this: \btvg-name="([^"]+)".tvg-logo="([^"]+)".group-title="([^"]+)",(.*?)\n*(https?\S+) If you are going to work with regexes, get a copy of Expresso[^] - it's free, and it examines and generates Regular expressions.
31 Aug 2022 by rkapl
Automated Setting of the Out of Office Assistant
20 Aug 2022 by Brian C Hart
Example of how to use the caret (^) in Regexes that have specific matching requirements
19 Aug 2022 by Hiruy Metsihafe
I have automated finding the people's last names from a text file and I have stored their names in a (var)list I want to delete their last names from the text file. and I don't fully know how to use truncate there might be mistakes & if there is...
19 Aug 2022 by Richard MacCutchan
The following code does not look correct. The variable i contains the complete line, but res contains only the last word of the line. The chances are that the two will never be the same. if i != res: f.write(i) Take a look...
21 Jul 2022 by dejf111
Hi, I am trying to create a CIMTextSymbol that I could write my string into. Below in the code I have created a generic CIMTextSymbol , but I would like to write some text with it. What I have tried: private static Task...
21 Jul 2022 by Richard MacCutchan
See the sample code at CIMTextSymbol Class—ArcGIS Pro[^].
1 Jul 2022 by honey the codewitch
Adapt a TextBox to make it writeable like any other text based I/O
18 Jun 2022 by Peter Sun (247)
Create a C# WPF app to read Twitter tweets and retweets via REST API with grouping related users / friends by categories. As a bonus, tweets can be saved in Azure / Cloud, and viewed in an Azure website.
14 Jun 2022 by Mark Pelf
We are giving an overview of 7 free Regex tools to test and develop Regex expressions
12 Jun 2022 by Ayesha Tassaduq
Hi i am trying to store a text file in mangoDb. the text file has data of some generated hashes. but i am receiving this error when i try to store file. Error "failing because no such method exists." % self.__name.split(".")[-1] TypeError:...
12 Jun 2022 by Richard MacCutchan
I just tested this with the MongoDB server running and it works correctly. You need to make sure you have a server instance running on your system.
24 May 2022 by Yücel Güven
IPv6 Subnet Calculator / Tool explained ( latest version: 5.0 )
16 May 2022 by GerVenson
Morstachio, the upstarter of Mustachio. Formatter and best friend
8 May 2022 by Bruno Tabbia
Creation of a substitution box starting from a key and using it in a direct substitution cipher
25 Apr 2022 by A v Nov2021
Input in a text file : Combination: 1 . 1 . 1 . 1 var_a: 33 op: -9.234727046103648 Combination: 1 . 1 . 1 . 2 var_a: 31 op: -9.234270216065962 Combination: 1 . 1 . 1 . 3 var_a: 39 op: -9.233204788566372 Combination: 1 . 1 . 1 . 4 var_a: 50 op:...
25 Apr 2022 by CPallini
There is a way simpler than using regular expressions: you can split every line, using ":" as separator, e.g. line = "Combination: 1 . 1 . 1 . 1" l = line.split(":") print(l[1]) outputs 1 . 1 . 1 . 1
25 Apr 2022 by Richard MacCutchan
You should create a list of tuples from the inputs. Read each set of three lines, and extract the values. Create a tuple of these values and add it to the list. Once you have all the data you can write it out to a .csv file. See 7. Input and...
16 Apr 2022 by Patrice T
RLE (Run Length Encoding): The Human Friendly Compression
15 Apr 2022 by dnxit
MVC .NET Core 3.1 Dynamic Role based authorization using Authorization Handler & Custom Authorize Policy
2 Apr 2022 by Michael Sydney Balloni
If you were on the fence about adding mscript to your arsenal of system tools, have another look.
11 Mar 2022 by Mark Pelf
Discussion on proper method to check for null-value and raise Event in C#
5 Mar 2022 by Mark Pelf
Tutorial article on Fluent Interface Pattern in C#
8 Feb 2022 by Pavel Bashkardin
ARC4 (Alleged RC4) Cryptography Provider Class Library
1 Feb 2022 by Niklas Arabäck
Hi, I can't find the right way and hope that you can help me. I need to use input files for my C# program. The file consists of some info in the beginning and is followed by a big table. It's a calibration file. I also need to generate an...
31 Jan 2022 by M Imran Ansari
In Additional with the solution-1. As you mentioned later on it would be a big table. Write your own classes according to config files and go with either XML or JSON because these formats are human-readable, easy to parse and available in most...
31 Jan 2022 by OriginalGriff
I'd use either XML or JSON: build your classes, populate them, and XML or JSON will serialize / deserialize the file in pretty much a single line of code. It's a lot more flexible and "developer friendly" than an INI file!
9 Jan 2022 by MXwell8
Hi, I have a question how can I convert the result of a multiplication into hh:mm:ss? This is the code Public Class Form9 Private Sub TextBox1_TextChanged(sender As Object, e As EventArgs) Handles TextBox1.TextChanged Dim nmpts As...
9 Jan 2022 by OriginalGriff
OK. The first things is that you don't want to store a value in the textbox that you intend to use as a calculation - that's just a bad way to do things. Instead, treat your "multiplication result" separate as hold it as an numeric value i.e. an...
6 Jan 2022 by honey the codewitch
This article describes an improvement to the state removal algorithm for converting FAs to regular expressions
1 Jan 2022 by Jo_vb.net
Host WPF usercontrol with Ribbon within winforms VB.NET project
31 Dec 2021 by Shun Huang
Use Python to build Threaded Binary Search Trees
25 Dec 2021 by honey the codewitch
Explore, run, and manipulate DFA regular expressions from graphs, to state machines with this library
18 Dec 2021 by Kai Schtrom
Win32_NetworkAdapterConfiguration WMI class in plain C and C++
15 Dec 2021 by asiwel
Bezier Curve Classification Training And Validation Models Using ALGLIB
13 Dec 2021 by honey the codewitch
An INI reader that is easy to use, easy to port, relatively efficient, and to the point
30 Nov 2021 by Nandkishor Biradar
A minimalist UML State machine framework for finite state machine and hierarchical state machine in C
21 Nov 2021 by REALTBU
Easy to use class which supports displaying icons on button controls
14 Nov 2021 by A v Nov2021
Input in a text file: a=2*8 b=3*9 c=4*8 d=5*9 e=a+b f=c+d g=0*6 h=1*7 i=e+g j=f+h output=i+j Desired Output : output=(((2*8)+(3*9))*(0*6))+(((4*8)+(5*9))*(1*7)) What I have tried: #Logic from internet. D = dict() output = None with...
11 Nov 2021 by Richard van Kesteren
In VSC I have open 2 files, a HTML and a CSS. Everytime I type in the css file at the top of the screen a text line opens asking to enter a password. [localhost]: enter your password (press 'Enter' to confirmor 'Escape' to cancel) What is this...
10 Nov 2021 by honey the codewitch
Embed fast streaming C# code to match text based on inputted regular expressions
2 Nov 2021 by OriginalGriff
This site is for software development questions, not tech support on apps for video. Start with Google: best app for adding animations to video - Google Search[^] but do bear in mind that Windows 7 is seriously out of date, and finding modern...
28 Oct 2021 by honey the codewitch
This is a little templating engine build tool I use to make my code generation projects more maintainable.
23 Oct 2021 by honey the codewitch
A handy code snippet that can set indentation levels while rendering multipart documents with a TextWriter
17 Oct 2021 by Petrov Vladimir
Starting Threads in MFC and Win32 and some handling samples
16 Oct 2021 by candijen
I have this question and I am not able to figure it out. Bulk Download: The application should provide a bulk download facility as follows. The user should be able specify a file name, default setting bulk.txt, containing URLs (exactly one per...
5 Oct 2021 by Eric P Schneider
The article demonstrates database create, read, update, delete operations using the .NET Symbiotic ORM.
25 Sep 2021 by Clark Fieseln
Compress, encrypt and hide a secret file inside an audio file (MP3, WAV, OGG, FLAC, ..)
30 Aug 2021 by sahnoune_khaled
I am trying to make a program which extracts the text from a PDF document PDF documents contain ARABIC text written by different types of FONT when I extract the text it works with some files and others not it gives me ambiguous Text I am using...
11 Aug 2021 by Kourosh K Tari
Customized onscreen keyboard in C# for Windows
1 Aug 2021 by David A. Gray
Though useful and mostly harmless, pitfalls can lead unwary developers astray.
11 Jul 2021 by W. García
To cover the need to import information from a CSV file directly into RAM, in an efficient, secure and stable way, from VBA, specialized libraries are needed to ensure the ease of use and integrity of the data.
4 Jul 2021 by Shun Huang
Use Python to implement Binary Search Tree Traversals
4 Jul 2021 by Shun Huang
Use Python to build Double-Threaded Binary Search Trees
29 Jun 2021 by Joe Dufresne
An easy to use tool to save your Windows Spotlight (lock screen) images for use as desktop wallpaper
7 Jun 2021 by Member 15170612
Hello, I have a question, I would like to like the WPF application saves time similar to the one in the rankings. Time and number of attempts is not a problem to list but the problem occurs when I want to sort it in a text file. EDIT:I'll start...
7 Jun 2021 by charuwaka
i am visual basic 2010i am Making a hotel bill in that there are two text boxes Quantity and Priceand last Total Text Box. i want code to multiply those Quantity and Price text boxes get multiplied and should appear in third Text Box Totalwhat is The code please tell mequantity...
4 Jun 2021 by kk2014
hi all,i have two HTML text boxes inside repeater. on text change of those text box i want to do sum and display in 3rd HTML text box using JQuery.how can i achieve it?Thanks,KK
27 May 2021 by Richard MacCutchan
You have raised this question a number of times and you still appear to be struggling. Think carefully about what you are trying to do, and the order in which you do it. 1. Call the Read method to read the records from the input file. 2. Any...
26 May 2021 by OriginalGriff
The error message says it all: the file you are trying to read is in use. When you open a file for writing, the stream acquires an "exclusive lock" on the file to prevent the contents changing while it is being read and potentially invalidating...
26 May 2021 by Giovanni Bejarasco
A walkthrough in UDT programming with primary focus on database concepts
26 May 2021 by Patrick P. Frey
In this article we see how a very primitive compiler is written in Lua using Mewa and how to compile and run a simple demo program in the shell.
25 May 2021 by Jarek Szczegielniak
In this article, we publish our NLP API service to Azure using Azure Container Instances.
21 May 2021 by Jarek Szczegielniak
In this article we use Visual Studio Code to edit and debug our increasingly complex code running inside a Docker container.
17 May 2021 by Member 15170612
Hello, I would like to create a time entry in the text file in the form of a ranking. Ranking would be sorted by time value. I create WPF Application. What I created will only write time and further writing to the file is no longer possible. ...
17 May 2021 by OriginalGriff
Quote: so again StreamReader reads a text file and then edits it like like MessageBox? No ... a StreamReader does what it says: reads a file from the beginning to the end. And the problem you have is that text files have no organization: you...
16 May 2021 by G.TR
This tip shows two different approaches for disposing view models that use Reactive Extension
16 May 2021 by Jeremy Monney
I have multiple values in a .txt file that are all in a different line and i tried to echo the value in a php like this: $myfile = fopen("pws.txt", "r") or die("Unable to open file!"); echo fread($myfile, filesize("pws.txt")); fclose ($myfile); ...
16 May 2021 by Gerry Schmitz
Use file_get_contents. echo - PHP: How do I display the contents of a textfile on my page? - Stack Overflow[^]
7 May 2021 by gxzs.
I'm trying to make a program that checks username availability on Ubisoft.com. The code I now have should be printing 'available' if the page says "Nothing is broken" and 'taken' if the username is already taken. An example of a taken username...
7 May 2021 by OriginalGriff
Quote: How do I fix that. The only way to do that is to use the debugger (pdb — The Python Debugger — Python 3.9.5 documentation[^]) to look at exactly what you have returned from the site, and check exactly what is happening to that data as...
7 May 2021 by Richard MacCutchan
That is most likely because the returned text always contains the string "Nothing is broken". Examination of the data will confirm.