15,913,361 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 Nicomendox (Top 11 by date)
Nicomendox
29-Jun-20 4:21am
View
You absolutely didn't understood yet what I want to do... I already get 100% correct answer here. hope not forbidden to share links.. maybe you like to learn too. God bless you.
Why can not select all text in textbox after focus to textbox ?-VBForums
[
^
]
Nicomendox
7-May-20 21:40pm
View
Deleted
........................................
Nicomendox
22-Apr-20 3:39am
View
Hi. thanks for your suggestion. But I use Navigator A4 Paper. 210x297mm. problem is about only margins. not inside the paper other measurements. Just Left and Top Margin. My Printer Epson L382 in home and in the office a LASER printer. both of them result is same. When I set ZERO to left margin in PrintDocument Printer Print around 3.35 mm left. if I set 4.65 mm this time result is 8 mm left on the paper. when I set margin cdec(4.65-3.35) this time print correct but on preview page left margin 1.30 mm not show correct margin.
Nicomendox
18-Apr-20 23:39pm
View
Dim rectX As Rectangle = New Rectangle(Math.Truncate(A), Math.Truncate(B), Math.Truncate(wdth), Math.Truncate(hght))
Dim rectf As RectangleF = RectangleF.op_Implicit(rectX)
Dim rect2 As Rectangle = Rectangle.Truncate(rectf)
'grpX.DrawRectangles(pen, New RectangleF() {rectf}) '(pen, rectf)
e.Graphics.DrawRectangle(pen2, rect2)
grpX.DrawRectangles(pen, New RectangleF() {rectf})
Unfortunately same result. values are always round dawn.
Nicomendox
22-Mar-19 14:17pm
View
Absolutely "C:\Users" is same with "Users"
"C:\Users" is Tag and "Users" is Node under the Treeview.
My problem is if I type "C:\users" instade of "C:\Users" code dosent work. because not all letters match with the search string.
Under TreeView, Node Name is "Users" not "users. Problem is "u" and "U" difrencence.
Nicomendox
22-Mar-19 10:41am
View
I am sorry but I couldnt work with this code. but same problem here
Private Sub Button13_Click(sender As Object, e As EventArgs) Handles Button13.Click
For Each n As TreeNode In Me.TreeView1.Nodes(0).Nodes
If n.Text = "Users" Then
TreeView1.SelectedNode = n
TreeView1.Select()
TreeView1.SelectedNode.Expand()
End If
Next
End Sub
When Type "Users" 'With Capital "U"
TreeView.SelectedNode is Focus On "C:\Users"
But When I type "users" with "u"
this time result is nothing.
is the problem about TreeView or about the Code ?
Nicomendox
16-Feb-19 10:59am
View
Thank you it works great. And Sorry for my bad english.
with your permission I want to ask another question. as you see I try to copy multiple file(s) and Folder(s) which listed in listbox.
wtih this code I can also add multiple files in listbox :
Hide Copy Code
If OpenFileDialog1.ShowDialog() = DialogResult.OK Then
Dim sayi As Integer = Me.OpenFileDialog1.FileNames.Length - 1
For i As Integer = 0 To sayi
ListBox1.Items.Add(OpenFileDialog1.FileNames(i))
'ListBox2.Items.Add(OpenFileDialog1.FileNames(i))
Next
End If
But...
When I add Multi Folders and Multi Files in a Listbox then this time I cant get the folders and Files Count together.
When I copy folder(s) and file(s) which listed in listbox I can copy all files and folder into torget directory well. but I cant count folders and files together
if you let me to ask how can I do it please ?
again thank you soo much for fast and exact solution.
Nicomendox
16-Feb-19 10:58am
View
Thank you it works great. And Sorry for my bad english.
with your permission I want to ask another question. as you see I try to copy multiple file(s) and Folder(s) which listed in listbox.
wtih this code I can also add multiple files in listbox :
Hide Copy Code
If OpenFileDialog1.ShowDialog() = DialogResult.OK Then
Dim sayi As Integer = Me.OpenFileDialog1.FileNames.Length - 1
For i As Integer = 0 To sayi
ListBox1.Items.Add(OpenFileDialog1.FileNames(i))
'ListBox2.Items.Add(OpenFileDialog1.FileNames(i))
Next
End If
But...
When I add Multi Folders and Multi Files in a Listbox then this time I cant get the folders and Files Count together.
When I copy folder(s) and file(s) which listed in listbox I can copy all files and folder into torget directory well. but I cant count folders and files together
if you let me to ask how can I do it please ?
again thank you soo much for fast and exact solution.
Nicomendox
3-Jan-19 3:31am
View
Thanks again. but I want to ask another question.
for excample when I multiply 1.23456789012 with 1.5
the code is :
TextBox3.Text = (Format((CDec(TextBox1.Text)) * (CDec(TextBox2.Text)), "###,###,##0.############"))
With 12 digits for Decimal Numbers then result is 1.419753073638
When I change 11 digits for Decimal then result is 1,41975307364
İts rounding up to last 8 and left side 3 became 4
How can I arrange to Decimals without rounding up or dawn ?
Nicomendox
1-Jan-19 12:46pm
View
Thank you at last I solved with your advice. thank you very much.
Nicomendox
1-Jan-19 9:52am
View
First of all then for reply.
I make a mistake... I mean to say... in a calculator screen I try to set max digit length. For example:(in my country we use comma for decimal numbers and use dot for tousand seperater.)
1,234,567,890,123,456 (total length is 21) (Digit Count= 16)
12,345,678,901,234.56 (total length is 21) (Digit Count= 16)
123,456,789,012,345.6 (total length is 21) (Digit Count= 16)
123,456,789.0123456 (total length is 19) (Digit Count= 16)
1,234,567,890.123456 (total length is 20) (Digit Count= 16)
1.234567890123456 (total length is 17) (Digit Count= 16)
as u can see. I want to set max digit limit is 16. when digit number count is 16 then textboxt dont allow more digit number.
Show More