15,891,316 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 Micha3ldg (Top 9 by date)
Micha3ldg
24-Mar-11 9:54am
View
Yes this will not work. as Dylan said session is current/per user. instead of using session you can store the count of online in database or you can use Global variable and make it as static. in web static fields are shared among all the users.
Micha3ldg
24-Mar-11 6:19am
View
Sorry that's the only thing I see. :)
Micha3ldg
24-Mar-11 5:37am
View
thanks Manfred
Micha3ldg
24-Mar-11 4:01am
View
I remember this question. As I said before. take a loot at the Zedgraph(http://www.codeproject.com/KB/graphics/zedgraph.aspx) and Microsoft chart control(http://archive.msdn.microsoft.com/mschart). In making best fit graph there are computation need to achieve. like the R square, the slope of the line, coefficient and etc. basically you need to determine those before plotting it.
Micha3ldg
24-Mar-11 2:51am
View
As luisnike19 and Sandeep said, you should give more details on what is the problem. other members can't guess of what you are facing now.
Micha3ldg
24-Mar-11 2:44am
View
yes that can be done. I'm not clear about what you want to do. as for my understanding, only the contents in textbox1 should be validated if it exist in listbox or not? and the textbox from 2,3,4 can be add without validation.I am correct? if so. try to use this code
listBox1.Items.Add(textBox2.Text);
listBox1.Items.Add(textBox3.Text);
listBox1.Items.Add(textBox4.Text);
string content = textBox1.Text
bool isValid = true;
foreach (string item in listBox1.Items)
{
if (item == content)
{
MessageBox.Show("Already in the list.");
isValid = false;
}
}
if (isValid)
listBox1.Items.Add(content);
or play with those codes.
Micha3ldg
23-Mar-11 3:44am
View
Why not use the Generic Queue? Your class will be strong type.
http://msdn.microsoft.com/en-us/library/7977ey2c.aspx
Micha3ldg
17-Mar-11 12:47pm
View
you're welcome
Micha3ldg
17-Mar-11 4:48am
View
the button login and button get data is windows control? or it is inside html/frame?
Show More