15,905,875 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 George_Rasmi (Top 26 by date)
George_Rasmi
5-Oct-11 3:07am
View
it happens randomly !
George_Rasmi
2-Oct-11 12:20pm
View
it didn't help :(
George_Rasmi
2-Oct-11 12:20pm
View
I did that too, but it's not the problem because when I test the program I always write something in the text box
George_Rasmi
2-Oct-11 12:16pm
View
you have to write a text in the PrivateMessageTextBox and press Enter to add this text to the PrivateRichTextBox1 ... the code of the PrivateMessageTextBox key_up (Enter) event is this:
private void PrivateMessageTextBox_KeyUp_1(object sender, KeyEventArgs e)
{
if (e.KeyCode == Keys.Enter)
{
PrivateMessageTextBox.Text = PrivateMessageTextBox.Text.Replace("\r\n", "");
if (PrivateMessageTextBox.Text != "")
{
try
{
PrivateRichTextBox1.Text = PrivateRichTextBox1.Text + "Me: " + PrivateMessageTextBox.Text + "\n";
PrivateRichTextBox1.SelectionStart = PrivateRichTextBox1.Text.Length;
PrivateRichTextBox1.ScrollToCaret();
}
catch
{
}
PrivateMessageTextBox.Text = "";
}
}
}
}
but to get that error you will have to execute this function very fast and for many times (I mean try to write one character and then press enter then immediately re write a character and press enter and keep doing this very fast and for many times until the program stops and gives you that error)
George_Rasmi
28-Sep-11 16:10pm
View
it worked Thanks :)
George_Rasmi
28-Sep-11 16:10pm
View
it worked Thanks :)
George_Rasmi
28-Sep-11 15:52pm
View
this method is not working :(
it always returns false even if the cursor was in the textbox
George_Rasmi
28-Sep-11 11:23am
View
It's not working :(
I included System.Windows.Input to the project but I still don't have a Keyboard class
George_Rasmi
28-Sep-11 10:47am
View
perfect :)
thanks,
George_Rasmi
28-Sep-11 10:41am
View
can you give me more details? a small code???
George_Rasmi
28-Sep-11 10:37am
View
it tried this code but it didn't work :(
George_Rasmi
28-Sep-11 8:10am
View
I will try to do that
thanks,
George_Rasmi
27-Sep-11 4:24am
View
Yes, That was the correct solution
thanks,
George_Rasmi
25-Sep-11 3:55am
View
I made a simple test application and it didn't work also on the same machines...
I was wondering is there any supporting programs that I have to install on those computers like DirectX or something like that???
George_Rasmi
24-Sep-11 13:07pm
View
yes, speakers are working and I can hear sounds from other applications
George_Rasmi
20-Sep-11 6:33am
View
this is what I'm looking for :)
thanks Andre
George_Rasmi
20-Sep-11 6:33am
View
thanks prdshukla :)
that was usefull
George_Rasmi
19-Sep-11 19:20pm
View
nice idea :)
thanks John
George_Rasmi
18-Sep-11 6:20am
View
This is exactly what I'm looking for :)
thanks arunkumaraymuo
George_Rasmi
17-Sep-11 14:38pm
View
Actually, this is not what I'm looking for :(
anyway, thanks digimanus :)
George_Rasmi
17-Sep-11 14:37pm
View
I don't want to write on a file ... I just need to store it inside the program like (Properties.Settings ...etc)
can you help me???
thanks,
George_Rasmi
17-Sep-11 13:30pm
View
I tried your method and it worked perfectly in the project thanks :)
I need one more thing :
according to this method, how to store a String array ???
in other words, I need to store a string array in the program so it can retrieve it every time the program starts...
any suggestions???
George_Rasmi
17-Sep-11 13:02pm
View
Deleted
I tried your method and it worked perfectly in the project thanks :)
but a new problem appears when I run my program as an exe file :(
(perhaps the program can't read the properties when it's running on exe mode!)
do you have any suggestions for me???
George_Rasmi
17-Sep-11 9:11am
View
What is application Config files?
how do I use them ???
can you help me with that?
George_Rasmi
11-Aug-11 8:07am
View
thank you orc
I've downloaded DirectX 9 and this problem seems to be disappeared
but when I run the program and press on call button I get
"error in application" ... the code shows a "cross-thread error"
what should I do???
does this program have an error ? or the error comes from my computer???
please help me ... It's so important and I'm so frustrated :((
George_Rasmi
6-Aug-11 11:53am
View
it might be the needed code but it's not working!
I'm getting this error:
The reference component 'Microsoft.DirectX' could not be found
what should I do?
Thanks,
Show More