15,897,273 members
Sign in
Sign in
Email
Password
Forgot your password?
Sign in with
home
articles
Browse Topics
>
Latest Articles
Top Articles
Posting/Update Guidelines
Article Help Forum
Submit an article or tip
Import GitHub Project
Import your Blog
quick answers
Q&A
Ask a Question
View Unanswered Questions
View All Questions
View C# questions
View C++ questions
View Javascript questions
View Visual Basic questions
View Python questions
discussions
forums
CodeProject.AI Server
All Message Boards...
Application Lifecycle
>
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Work Issues
Design and Architecture
Artificial Intelligence
ASP.NET
JavaScript
Internet of Things
C / C++ / MFC
>
ATL / WTL / STL
Managed C++/CLI
C#
Free Tools
Objective-C and Swift
Database
Hardware & Devices
>
System Admin
Hosting and Servers
Java
Linux Programming
Python
.NET (Core and Framework)
Android
iOS
Mobile
WPF
Visual Basic
Web Development
Site Bugs / Suggestions
Spam and Abuse Watch
features
features
Competitions
News
The Insider Newsletter
The Daily Build Newsletter
Newsletter archive
Surveys
CodeProject Stuff
community
lounge
Who's Who
Most Valuable Professionals
The Lounge
The CodeProject Blog
Where I Am: Member Photos
The Insider News
The Weird & The Wonderful
help
?
What is 'CodeProject'?
General FAQ
Ask a Question
Bugs and Suggestions
Article Help Forum
About Us
Search within:
Articles
Quick Answers
Messages
Comments by Stm21 (Top 39 by date)
Stm21
29-Mar-23 8:57am
View
ok my friend i will try !!!!!!!!
Stm21
29-Mar-23 8:22am
View
i don't want to do something illegal. My English is very bad and i have problem to explain my problem in open question.
Stm21
7-Aug-20 6:17am
View
Thank you!!!!!!!!!!!!!
Stm21
7-Aug-20 6:17am
View
Thank you!!!!!!!!!!!!!
Stm21
7-Aug-20 6:10am
View
i have a machine that export log with this format not exactly 111111_a.txt
but the last 2 digits are always _a _b _c _e etc.
Stm21
5-Aug-20 4:34am
View
Thank you so so so so so much for your help.
Stm21
5-Aug-20 4:20am
View
Thank you for the quick response
the code work but in the list box the results is c:\bla bla bla...
i want only the filename not all the path
Stm21
24-Apr-20 5:26am
View
Sorry Sorry my bad....the extension file is not gr but gz.
My problem is the list box show me all the path and i want only the last folder and the file with gz extension.
Stm21
14-Apr-20 6:32am
View
Thank you so much for your answer!!!!!!!!!!!!
Stm21
14-Apr-20 6:14am
View
Thank you for the quick response
I am not a programmer but i try my very best with many google search but many times i can't find solution like this time.
Stm21
13-Apr-20 6:36am
View
the problem is i don't know how can i start the decompression process for all files
Stm21
5-Feb-19 2:28am
View
Thank you for your comment. Please can you explain to me how i can convert binary to text?
Stm21
3-Feb-19 15:17pm
View
Thank you all for you responses!!!!!!!!!
Stm21
3-Feb-19 14:59pm
View
i think i made it
string data = textBox1.Text;
Stm21
3-Feb-19 14:55pm
View
thank you very much.
This ex help me a lot but i receive the status in a textbox.
Stm21
3-Feb-19 13:39pm
View
Thank you for your quick response
The data i received from unit is like this FF A1 00 00 00 00 00 00 00 00 i want to separate only the 00 or the 01 and paint the panel.for ex. if the response is "01 01 01 01 01 01 01 01" all the panel will be change color to red.
Stm21
29-Jul-18 5:18am
View
I have a simple file .txt with ΑΒΓΔΕΖΗΘΙΚΛΜΝΞΟΠΡΣΤΥΦΧΨΩ/αβγδεζηθικλμνξοπρστυφχψω
my thermal printer is LK-T20EB SEWOO
Stm21
12-Nov-16 4:04am
View
how can i make button to delete alla the line with colored word
Stm21
16-Apr-16 13:21pm
View
Private Sub Button3_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button3.Click, Timer1.Tick
ListView1.Items.Clear()
Dim i As Integer = 0
For Each drive As IO.DriveInfo In IO.DriveInfo.GetDrives
Dim itemText As String = drive.Name
Dim Type As String
Dim ltr As String = drive.Name
If drive.IsReady AndAlso drive.VolumeLabel <> "" Then
itemText = drive.VolumeLabel
End If
ListView1.Items.Add(itemText)
Dim _itm As ListViewItem
'For Each _itm In ListView1.Items
'If Not (_itm.SubItems(0).Text).ToString.Equals("some text") Then
'Me.Close()
'End If
'Next
Next
End Sub
please what i do wrong???
pleaseeeeeeee help
Stm21
16-Apr-16 13:01pm
View
Mr Michael_Davies with the last code when i run the application the application close after 1 second with the text equal.
I think i did't do anything wrong.
Stm21
16-Apr-16 6:59am
View
work with that and thank you so much but i want the opposite
if the list view losing specify text the program close
Stm21
25-Dec-15 6:05am
View
i want to place inside text box the last filename created inside last folder created.
with this code i get only the last folder created name.
Stm21
24-Dec-15 13:32pm
View
i try this with no success
var directory = Directory.GetDirectories("C:\\xxxx").OrderByDescending(d => new DirectoryInfo(d).CreationTime).Select(Path.GetFileNameWithoutExtension);
Stm21
24-Dec-15 9:41am
View
Thank you for the code
One more question
In the text box i get folder\file.txt
i want only the filename
Stm21
20-Dec-15 13:08pm
View
The name 'files' does not exist in the current context
i place the using System.IO;
Stm21
20-Dec-15 12:07pm
View
this folder create a folder per day
Stm21
20-Dec-15 11:41am
View
easy for u not for me
Stm21
20-Dec-15 10:35am
View
I have a folder in my computer and inside folder i have many txt file who created by another programm.
i want to make a text box that capture the filename of the last txt file that create the programm.
i know that it is dificult for me to do that
Stm21
20-Dec-15 10:30am
View
as u can see i am a very new in c#
Stm21
20-Dec-15 10:25am
View
Basmeh Awad how can i send u a personal message?
Stm21
20-Dec-15 10:15am
View
now i have a message box but i want this test.txt to place in the text box
Stm21
20-Dec-15 10:14am
View
thank you so much!!!!
Stm21
20-Dec-15 10:09am
View
with the seccond solution i get one expected error in the end of the line MessageBox.Show(Path.GetFileName(path);
Stm21
20-Dec-15 9:07am
View
can i have some help ?
Stm21
1-May-15 14:05pm
View
Deleted
that doesen't work
let explain better. for exaple
.WriteLine("xxx")
.WriteLine("xxx")
.WriteLine("xxx")
.WriteLine("xxx")
.WriteLine("xxx")
.WriteLine("xxx")
this code send to printer lines with xxx
i want the space between lines smaller
Stm21
1-May-15 11:43am
View
Deleted
http://www.codeproject.com/Articles/110314/POS-Printing-The-Easy-Way?msg=5025666#xx5025666xx
this is the main programm
Stm21
1-May-15 10:50am
View
Deleted
sorry but i am new here and this is my first question.
my questios is how to make the space between two lines in print out smaller or bigger
Stm21
31-Mar-15 14:18pm
View
what can i do with this?and i can't download from external site
Stm21
31-Mar-15 13:54pm
View
so let explain my problem
i connect to my printer with hyper terminal and send them some unicode like alt+xxx and the printer print something
i want to print with the same font like hyper terminal.
Show More