15,905,558 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 blueye89 (Top 29 by date)
blueye89
24-Jan-18 17:45pm
View
Thank you for advice! I forgot to say that I made a screenshot of the Form while project is not debugged. At the time when I made a project, I didn't have a monitor (I worked on my Lenovo P70 laptop). In the meaning time, I bought monitor and when I opened a project to get some piece of code for another project, I noticed that controls are ones above each other.
blueye89
24-Jan-18 9:10am
View
https://postimg.org/image/86cdicbbf/
https://postimg.org/image/ro70yafyz/
blueye89
26-Nov-17 17:13pm
View
Solved! Thank you!
blueye89
26-Nov-17 16:30pm
View
Warning BC42104 Variable 'returnValue' is used before it has been assigned a value. A null reference exception could result at runtime.
blueye89
8-Nov-17 21:12pm
View
Thank you!
blueye89
13-Sep-17 7:19am
View
I have modified code little bit and it works fine but I would like to get little bit different result. I want to set back color on whole text line where string is filtered, not just on filtered string.
RichTextBox1.SelectAll()
RichTextBox1.SelectionBackColor = Color.Red
For Each row As DataGridViewRow In DataGridView1.Rows
Dim filteredText As String = row.Cells(2).Value
Dim startText As Integer = 0
Dim endText As Integer
endText = RichTextBox1.Text.LastIndexOf(filteredText)
RichTextBox1.SelectAll()
While startText < endText
RichTextBox1.Find(filteredText, startText, RichTextBox1.TextLength, RichTextBoxFinds.MatchCase)
RichTextBox1.SelectionBackColor = Color.GreenYellow
startText = RichTextBox1.Text.IndexOf(filteredText, startText) + 1
End While
Next
Here is the result what I get:
https://s26.postimg.org/7pux4ri7t/img02.png
Here is what I expect:
https://s26.postimg.org/5iutb7ldl/after_filetring.png
blueye89
7-Jul-17 2:34am
View
Yes, I would like also to check the length of the array if number is integer. For example if the fixed length is 6 digits and I have got array which length is 5, then I would like to add one "0" at the end of the string to fill the length of 6 digits. Any idea?
blueye89
6-Jul-17 6:39am
View
Converted to VB code:
Dim decNum As Decimal = 0.5656D
Dim strArr = decNum.ToString().Split("."C).ToArray()
Dim finalString As String = strArr(0).PadLeft(3, "0"C) + strArr(1)
Thank you very much!
blueye89
16-Mar-17 9:25am
View
This doesn't work cause this is for VBA. I am looking for VB2010 code.
blueye89
16-Mar-17 9:07am
View
I have done it manually, using:
For Each w As Word.Range In oDoc.Words
If w.Font.Bold = True Then
txtEngDrwPath.Text = w.Text
End If
Next
But this returns me only last bold word in the row, with all spaces after that I don't need.
blueye89
16-Mar-17 8:54am
View
When I enable paragraph marks.
https://s12.postimg.org/ev2qlsr65/img.png
blueye89
16-Mar-17 4:55am
View
I have tried it, steps are:
1. Start Recording
2. Ctrl+F
3. Paste Search String
4. Click on Find Button
What Next? It has been done also by using code above. How to send the content after to VB2010 MsgBox?
blueye89
16-Mar-17 4:42am
View
Is there something easier? I am not familiar with the type of code that you posted via links.
blueye89
16-Mar-17 4:38am
View
Yes!
blueye89
16-Mar-17 4:28am
View
I am using VB2010.
blueye89
18-Jan-13 12:16pm
View
I don't know how to use this.
blueye89
17-Jan-13 20:58pm
View
Is this vb.net code?
blueye89
15-Jan-13 17:34pm
View
This line have a error: cmd.ExecuteNonQuery()
blueye89
11-Dec-12 17:18pm
View
NO, I am not doing only one time, after that I will periodically update my database by using my application.
blueye89
8-Nov-12 16:45pm
View
:) Thank you my friend!!..That's solution.Did you know how to change weight of line to 1pt?
blueye89
16-Feb-12 8:06am
View
How to get his FILE>SAVE function?I don't understand post above.Please some code example..
blueye89
16-Feb-12 8:04am
View
I am running application ex.notepad:
[code]
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
Dim p As New Process
p.StartInfo.UseShellExecute = True
p.StartInfo.Arguments = "C:\other_application.txt"
p.StartInfo.FileName = "notepad.exe"
p.Start()
End Sub
End Class
[/code]
blueye89
15-Feb-12 8:08am
View
I resolve it,I just putt this address in web client address:
http://whatismyip.org/
and it works.
Thanks everyone who tried to help me,I am coming back with new questions :-).
blueye89
15-Feb-12 8:00am
View
I trying with your solution but I get a message:
"File moved-http://www.whatismyip.com/faq/automation.asp"
If I change web address to this I get a problem with WebResponse.
Why??
blueye89
6-Feb-12 15:36pm
View
I'am working on .Net application and I have a problem.Can anyone help me to resolve?
http://www.codeproject.com/Questions/325822/email-validation-problem
blueye89
6-Feb-12 14:59pm
View
I think that you understand me :-).
My application will working similar like program which name is "Multi email notifier".There is a option for testing emails with their passwords,and program give me a message "Successfully match (or not)" without receiving a message from mail.
blueye89
6-Feb-12 14:44pm
View
Yes it's working but I don't wanna to send a message from email server.
Is there a way that my application will show me notice,without a sending message from checked email?
blueye89
6-Feb-12 14:35pm
View
It's my mistake,sorry.But if remove that "Exit sub" it still not working.Problem is in:
Try
I don't know what to input here.
Catch ex As Exception
End try
blueye89
6-Feb-12 14:17pm
View
I will input username and password into two textboxes and when I click on button "Check It",it will test does password is match with real password for given email.If password is match it will show me a message "Successfully match",if it is not "Unsuccessfully match".
Show More