15,885,914 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 Simon Dufour (Top 50 by date)
Simon Dufour
25-Jul-11 8:02am
View
Could you rephrase because what you want is really unclear right now.
Simon Dufour
1-Dec-10 9:17am
View
Deleted
Reason for my vote of 5
It works for DISTINCT but also work for any kind of subselect. If you wanted to count all the employees living in a city, you'd only have a small edit to make here. Good tip.
Simon Dufour
1-Dec-10 9:16am
View
Deleted
Reason for my vote of 1
Might work, who knows. It's not clean however and certainly not the norm.
Simon Dufour
28-Sep-10 12:47pm
View
Deleted
Reason for my vote of 5
Wow! I definitely didn't know that!
Simon Dufour
21-Sep-10 14:00pm
View
Your questions is too criptic.
Simon Dufour
17-Sep-10 16:08pm
View
You can't feed byte data to Acrobat Reader without saving it in a file. Take the data, save it as a .pdf file and launch the app normally.
Simon Dufour
16-Sep-10 15:33pm
View
Deleted
Thanks, I corrected it. I also changed the arrays that didn't support Contains.
Simon Dufour
16-Sep-10 10:24am
View
Deleted
I don't really like your method. It implies that if the string isn't in array, it's false.
Simon Dufour
8-Sep-10 8:09am
View
I'm glad it worked for you. GL
Simon Dufour
7-Sep-10 8:41am
View
Deleted
Reason for my vote of 5
Thank you! Nice tip!
Simon Dufour
3-Sep-10 11:52am
View
Unfortunately, it doesn't work. I get a "The resource cannot be found" page. Is the page supposed to exist on every TFS server versions? We might have the 2005 version or something.
Simon Dufour
3-Sep-10 8:56am
View
The problem is mostly that I don't know if I can remotely read a .csproj file on a Team Fondation Server. The rest is kinda easy.
Simon Dufour
2-Sep-10 8:22am
View
Deleted
I doubt the <script> tag need ''.
Simon Dufour
31-Aug-10 11:44am
View
Deleted
Reason for my vote of 1
Tons of error and don't really give any tip at all. The highlight bug and it's even worse because it'll erase text if you move selection during typing. Lots of problems.
Simon Dufour
31-Aug-10 10:01am
View
Deleted
I guess it's not a bad start but prehaps you should also check if the element is part of a string too.
Simon Dufour
30-Aug-10 8:56am
View
Reason for my vote of 2
Question wasn't clear. In the question, he talks of ArrayList as a constraint but accept an answer that do not use them.
Simon Dufour
30-Aug-10 8:54am
View
Reason for my vote of 2
Question not clear enough to be answered.
Simon Dufour
30-Aug-10 8:54am
View
In WPF it's really really easy. No.. more like.. ridiculously easy.
Simon Dufour
30-Aug-10 8:51am
View
Please not that some functions are static. Depending on how you set things up in your application, you might want to remove "static" and simply use them as normal functions.
Simon Dufour
30-Aug-10 8:09am
View
Deleted
It will only allow you to drag a UI Element inside its container right? There's no validation, no way to control the other UI elements while you're dragging or anything like that. I'm asking because I think that if someone need some sort of complex drag behavior, I think this method wouldn't work. Aren't I right?
Interesting tip. Definitely a vote 4 for me. Would have given a 5 if it had a answer to the questions I've asked because I think it would be important to define the scope of the tip a bit better.
Simon Dufour
26-Aug-10 13:19pm
View
Yes, I know. I suggested the first answer in case the original poster didn't want to use a FOR loop because he thought he'd have to loop through the whole list.
Simon Dufour
26-Aug-10 10:46am
View
Reason for my vote of 5
That's the way I would have done it.
Simon Dufour
26-Aug-10 10:43am
View
Reason for my vote of 1
Should have been a comment.
Simon Dufour
26-Aug-10 10:17am
View
Reason for my vote of 5
Ugly but that's what he asked for.
Simon Dufour
26-Aug-10 8:12am
View
Reason for my vote of 2
Is not a solution.
Simon Dufour
26-Aug-10 8:11am
View
First, a binary search assume that the ArrayList is sorted. Second, a binary search will only return ONE element.. not a whole list.
Simon Dufour
26-Aug-10 7:58am
View
Reason for my vote of 2
It look like interesting code but it's almost unreadable and there's not explication at all.
Simon Dufour
25-Aug-10 15:40pm
View
Reason for my vote of 1
Not an answer.
Simon Dufour
25-Aug-10 15:37pm
View
Reason for my vote of 1
Title is useless. Question is not even complete. Rework you question and you might have some help!
Simon Dufour
25-Aug-10 15:35pm
View
Reason for my vote of 1
Title is wrong.. question is both unclear and is impossible to answer.
Simon Dufour
24-Aug-10 10:43am
View
Reason for my vote of 4
Good advice. Might help even more than actually giving the answer.
Simon Dufour
24-Aug-10 10:05am
View
Reason for my vote of 3
Next time, check the preview and fix the formatting. In VS, you can shift tab your code to the left edge and replace TABS for spaces in your options.
Simon Dufour
24-Aug-10 8:55am
View
Reason for my vote of 1
Not clear.
Simon Dufour
24-Aug-10 8:55am
View
You could try to be clearer in your question.
Simon Dufour
20-Aug-10 14:23pm
View
Deleted
Now, it works up to novenonagintanongentillion.
Simon Dufour
20-Aug-10 14:23pm
View
Deleted
lol.. you people fail to see Silic0re09 sarcasm! You're even worse!
Simon Dufour
20-Aug-10 6:42am
View
Deleted
BTW.. I detected sarcasm! Giving a right way to do it doesn't make me deserve a vote 1!!!
Simon Dufour
19-Aug-10 17:38pm
View
Deleted
Reason for my vote of 1
Voted 1 because it's not a good tip. It's a good joke however. As a joke I'd give it a 5.
Simon Dufour
19-Aug-10 9:24am
View
Deleted
Thanks.. I guess the best way to check for bool? is the make an Equal(true).
Simon Dufour
19-Aug-10 9:22am
View
Deleted
Why not "if (frm.ShowDialog())"?
Simon Dufour
13-Aug-10 15:55pm
View
The question isn't too clear. I'd like to help you but I don't understand what you need.
Simon Dufour
16-Jul-10 8:13am
View
You have project constraints then that's how it usually turn up. Good luck :).
Simon Dufour
15-Jul-10 12:42pm
View
If you can gather the date and log it in a file somewhere, you can find a way to show that data in a web page. What's you problem exactly?
Simon Dufour
15-Jul-10 12:15pm
View
Do you mean without reloading? That'd mean you'd need AJAX in your page. You should make your question clearer.
Simon Dufour
15-Jul-10 12:09pm
View
Reason for my vote of 5
Didn't even think it was possible!
Simon Dufour
15-Jul-10 8:43am
View
I asked my boss to change my priorities but he wouldn't let me. Sorry buddy.
Simon Dufour
15-Jul-10 8:42am
View
Reason for my vote of 5
Searching is the key!
Simon Dufour
15-Jul-10 8:40am
View
Reason for my vote of 5
Searching for ourself is the key!
Simon Dufour
15-Jul-10 8:15am
View
Reason for my vote of 1
Questions with no details. No signs of any effort that the person has even searched for a solution himself. He even mark his question with a "its urgent". It won't be useful in the long run.
Simon Dufour
14-Jul-10 13:04pm
View
I think he's searching for an algorithm that search for keywords in files. I might be wrong.
Show More