15,917,454 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 Wjousts (Top 17 by date)
Wjousts
11-Oct-11 9:38am
View
Deleted
I did exactly what the OP did before I discovered the Fisher-Yates shuffle. I think both are o(n), but the Fisher-Yates shuffles in place rather than creating a new list. Of course, if you want to copy
and
shuffle (hence retaining the original list in the original order) then the OP's method is better (since it doesn't change collection).
Wjousts
9-Aug-11 17:23pm
View
I don't see an "EmployeeData" anywhere in your view, view model or model, but you've got it set as your itemsource for your list view. I also don't see where you are initializing your model or view model.
Are you missing some code in your snippets? Else, that's your problem.
Wjousts
9-Aug-11 17:22pm
View
Deleted
I don't see an "EmployeeData" anywhere in your view, view model or model, but you've got it set as your itemsource for your list view. I also don't see where you are initializing your model or view model.
Unless you are doing it in the code behind of your view, that'll be your problem.
Wjousts
5-Aug-11 14:30pm
View
No it won't. Read the
docs
:
Initializes a new instance of the Random class, using a time-dependent default seed value.
The parameterless constructor basically does what you suggest internally.
Wjousts
3-Aug-11 10:19am
View
Can you even install two versions of PowerPoint and have them peacefully co-exist? And since the latest version of PowerPoint should be backwards compatible with PPT files from earlier versions, why would you want to?
Even with PowerPoint 2010 open, you should be able to specify the format you want to save in, but I'm not sure if there are any differences (in file format) between 2007 and 2010 anyway.
Wjousts
2-Aug-11 17:03pm
View
Where's 4?
Wjousts
28-Jul-11 9:10am
View
No idea. You need to give more details before anybody can help you.
Wjousts
26-Jul-11 9:18am
View
I'm not writing code for you. I've told you how to do it. If you don't understand what I said then you need to start with some basic tutorials on C# and Windows Forms (there are lots of them out there). Once you have mastered the basic concepts, this should be easy.
Wjousts
26-Jul-11 9:04am
View
This is C# not vb. No modules here.
Wjousts
25-Jul-11 15:06pm
View
I appreciate your comment for me, it's just a shame I have no idea what you are talking about?
Wjousts
25-Jul-11 11:15am
View
Actually Code Project already has a
Chinese
and
Indian
forum. Although the Indian forum seems to be in English and the Chinese forum isn't used all that much (only 242 posts).
Of course, that doesn't mean there's a need for an Arabic forum. I've got no idea if there are enough Arabic speakers on here to make it worthwhile.
Wjousts
22-Jul-11 11:17am
View
It's not clear what you want here. What do you mean by "checked checkboxes data"? Do you mean find which item(s) are checked?
Wjousts
21-Jul-11 16:42pm
View
Also, books. There are lots of them. Start at your local library.
Wjousts
21-Jul-11 8:44am
View
You didn't create a thread, but the SerialPort object did. The event handler is going to be called on a different thread to the GUI thread so you need to use Control.Invoke to do any GUI updating. If you look at BobJanova's solution above, he has the same problem and the same solution. Look at the code in his ThreadDataReceived handler above. You should be able to adapt it to fit.
Wjousts
20-Jul-11 9:30am
View
All very nice, but it looks like you are simply recreating the SerialPort's DataReceived event. Which actually begs the question, why doesn't the OP just use that in the first place?
Wjousts
19-Jul-11 10:59am
View
Is it possible that it's your Windows icon cache not your application that is causing the problem? Try forcing Windows to rebuild the icon cache first (Google for how to do it) and see if that fixes your problem
Wjousts
11-Aug-10 15:31pm
View
I think you misunderstood the question. The OP wants, for a given enum value the string in the attribute they attached to it.
Show More