Click here to Skip to main content
15,166,587 members

Comments by Simon Bang Terkildsen (Top 200 by date)

Simon Bang Terkildsen 25-Oct-11 22:26pm View
   
+5!!
Simon Bang Terkildsen 25-Oct-11 22:18pm View
   
+5
Simon Bang Terkildsen 25-Oct-11 17:01pm View
   
I hope so, or I'm gonna demand the money, my mom paid for 2 years of private school, back! :P
Of course I would keep them myself, she doesn't know how to use them anyway XD
Simon Bang Terkildsen 25-Oct-11 16:59pm View
   
Thank you, Espen :)
Simon Bang Terkildsen 25-Oct-11 16:58pm View
   
Right
Simon Bang Terkildsen 25-Oct-11 16:58pm View
   
really? that must be your own type then. in any case SA's solution still applies.
Simon Bang Terkildsen 25-Oct-11 16:56pm View
   
A lot more to the point than my answer, got my 5.
Simon Bang Terkildsen 25-Oct-11 15:43pm View
   
Seems your guess was right on target. My 5 :)
Simon Bang Terkildsen 25-Oct-11 15:42pm View
   
My 5
Simon Bang Terkildsen 25-Oct-11 15:41pm View
   
+5
Simon Bang Terkildsen 25-Oct-11 15:25pm View
   
deleting, as this is not an answer. This comment has already been moved to a comment on solution 1 by SAKryukov.
Simon Bang Terkildsen 25-Oct-11 14:40pm View
   
Yeah, I guess the OP figured it out.
Simon Bang Terkildsen 25-Oct-11 14:39pm View
   
Thank you, Espen.
Simon Bang Terkildsen 25-Oct-11 14:38pm View
   
phew, was afraid HTML5 had f***ed up the little knowledge I have of web development :P
Simon Bang Terkildsen 22-Oct-11 16:12pm View
   
For the comment you posted that I guess you subsequently deleted. My answer is perfectly valid, it just doesn't cover the issue mentioned by SA.
So what you were trying not to be, you turn out to be.
Simon Bang Terkildsen 22-Oct-11 9:56am View
   
Ah ok, I've never used C++/CLI other than when I've replied to questions here.
However the delegate the OP defines still has to be defined as I've defined it or he will still get the posted exception.
Simon Bang Terkildsen 22-Oct-11 9:51am View
   
hahaha, true, pounding the table next to the mouse, with a hammer would work as well :)
Simon Bang Terkildsen 22-Oct-11 9:51am View
   
Deleted
hahaha, true, pounding the table next to the mouse, with a hammer would work as well :)
Simon Bang Terkildsen 22-Oct-11 9:49am View
   
I absolutely agree, A student doesn't become a good or even mediocre software engineer by sitting and listening to a lecture. It's practice and curiosity that yields the very best results, however a student will have to learn the basics, like what is a compiler/OS/protocol/authentication/etc. and how does it work.

The way you describe the how the students work at Phystech is a really great way I believe, however only the best of the best will be able to complete a study like that, and we do still need "just" good software developers (atm. less than mediocre are even used) in order to have enough employees, so it's also important to have universities that takes the level down a notch and a few really top level universities like MIT and Phystech.
Simon Bang Terkildsen 20-Oct-11 22:22pm View
   
A good overview
Simon Bang Terkildsen 20-Oct-11 20:23pm View
   
Really? Wow the only big company, in Denmark, I know of that doesn't hire a lot of interns are IBM, they only hire those who have completed their bachelor and I've heard that they heavily attempt to influence the interns choice of master thesis, which I don't like nothing wrong with saying "we have this and that project you might be interested writing about in your thesis", the intern shouldn't feel any pressure.
Simon Bang Terkildsen 20-Oct-11 20:13pm View
   
it is all based on probabilities
True, however you can influence it heavily. I'm considering writing an article on the subject as I wrote in the comment on my solution, as I really understand why people have these questions and a really satisfying answer is way to large to in a solution.
Simon Bang Terkildsen 20-Oct-11 19:51pm View
   
Very true, the reason I stated the 80% was to emphasize the fact that semi-large to large companies find it very important that you have the right personality for the team/environment you're gonna work in. And they know that you can never really assess the skill of an applicant during a 10-30 minute interview, well to some degree you can, but it's still far from accurate.

I've seen a lot of these type of questions the 2½ months I've been active here, some good some bad, but all in all it's a valid question; I remember when I applied for a job I didn't know what to expect what so ever. So I'm considering writing an article about the entire process, writing the CV, the job application, the interview and even when you get the job, so you don't end being the "coffee boy". And I would allow platinum members to edit the article in order to add some details about specific cultural differences they see/know of.
Simon Bang Terkildsen 20-Oct-11 19:30pm View
   
Very true there will be some cultural differences, we don't have a coffee boy either it, that wouldn't in good taste, we do however have student employees, who doesn't have much skill and they therefore doesn't get any real assignments, hell sometimes they are sent out to buy a plasma TV, a laptop, usbkey, whatever we need (e.g. like cola for me, when they are going for a smoke anyway :) )
I'm actually a student employee myself, even though I work more than full time and are paid a bit more than our other student employees, so I'm not saying all student employees everywhere is "coffee boys" :)
Simon Bang Terkildsen 20-Oct-11 18:37pm View
   
Agreed, no sense at all, even if it did they would soon after they hired the applicant figure out that he didn't know what it was he was talking about, and then the applicant is without a job again or reduced to coffee boy. But the coffee boy is very important! Though I like to use him to go buy some cola :)
Simon Bang Terkildsen 20-Oct-11 18:35pm View
   
I'll give a 4 for answering the question directly, however you cannot prepare for an interview like that.
Simon Bang Terkildsen 20-Oct-11 18:17pm View
   
Gotta keep in mind Google only has an uptime of 5% :P
Simon Bang Terkildsen 20-Oct-11 18:07pm View
   
Do you get the line number of the line that fails? If so which line is it?

This might be of interest make_public
Simon Bang Terkildsen 20-Oct-11 17:15pm View
   
Seems like such a hassle to me, much simpler with regular expressions, if one knows regex that is :)
Simon Bang Terkildsen 20-Oct-11 17:14pm View
   
Thank you, Mehdi.
Simon Bang Terkildsen 20-Oct-11 10:37am View
   
I'm sorry but that won't work, the only way is to create a style for the window.
Simon Bang Terkildsen 20-Oct-11 10:02am View
   
Good suggestion
Simon Bang Terkildsen 20-Oct-11 10:00am View
   
If you were to tell us what exception you got and on which line then you might actually find a solution below that were actually able to tell you why it is happening.
Simon Bang Terkildsen 20-Oct-11 9:58am View
   
Indeed
Simon Bang Terkildsen 20-Oct-11 9:57am View
   
Read Mehdi's comment to your previous comment you posted as solution.
For one you should not do it and second the person you're asking a question doesn't get notified an thus most likely never sees your question/comment.
Simon Bang Terkildsen 20-Oct-11 9:11am View
   
+5, if you can avoid using Office Interop do it and spare yourself the headache.
Simon Bang Terkildsen 20-Oct-11 8:54am View
   
Do NOT repost the question. Click "Improve question" to update the question.
Every thing else Anuja is telling you is valid.
Simon Bang Terkildsen 20-Oct-11 8:43am View
   
Click "Improve Question" inorder to add details about your question, do not post them in a solution, please.
Simon Bang Terkildsen 20-Oct-11 7:39am View
   
Nice that's really simple, though it will only work if there actually is an id :).
Simon Bang Terkildsen 20-Oct-11 7:30am View
   
Yeah, personally I would use Regex, but that would have been far to long an answer if I had to involve that.
Simon Bang Terkildsen 20-Oct-11 7:25am View
   
Yeah, it really is nice and simple sometimes :)
Simon Bang Terkildsen 20-Oct-11 7:24am View
   
Thank you, Espen.
Simon Bang Terkildsen 20-Oct-11 7:23am View
   
Yeah it ended out as acceptable, but started pretty bad, I miss read the question multiple times :( edited 6 times :D
Simon Bang Terkildsen 20-Oct-11 6:46am View
   
Thank you, Espen.
Simon Bang Terkildsen 20-Oct-11 5:59am View
   
No, but most users (like most of the facebook users) doesn't really know anything about computers, the internet and especially not security.
Simon Bang Terkildsen 19-Oct-11 19:28pm View
   
Sql Server 2008 or Oracle would be my choice, depending on who my customers are.
Simon Bang Terkildsen 19-Oct-11 18:35pm View
   
Good advice, I completely agree. +5
Simon Bang Terkildsen 19-Oct-11 12:20pm View
   
?? linking to this question is a solution?
Simon Bang Terkildsen 19-Oct-11 12:12pm View
   
Email removed, you'll be notified be any comments and solutions to your "question". However what you're asking is not appropriate, there are plenty of website out there where you can pay people to do your work, this is a place where people help other people learning.
Simon Bang Terkildsen 19-Oct-11 12:09pm View
   
thorough, +5!
Simon Bang Terkildsen 19-Oct-11 11:30am View
   
Got my 5
Simon Bang Terkildsen 19-Oct-11 11:30am View
   
+5
Simon Bang Terkildsen 19-Oct-11 11:25am View
   
Thank you, Espen.
Simon Bang Terkildsen 19-Oct-11 11:24am View
   
Thank you :)
Simon Bang Terkildsen 19-Oct-11 11:23am View
   
Thank you, Espen.
Simon Bang Terkildsen 19-Oct-11 11:10am View
   
My 5
Simon Bang Terkildsen 19-Oct-11 11:01am View
   
True, though I suppose the OP might actually be asking how to handle the click events of the menu items.
In which case select a menu item in the designer and open Properties (F4) find the click event and double click it, you now have an event handler (method) in your code behind.
Simon Bang Terkildsen 19-Oct-11 10:53am View
   
Very true, the OP should have posted the entire property signature.
Simon Bang Terkildsen 19-Oct-11 10:47am View
   
The error message the OP received "StatusMessage.Message cannot be assigned to -- it is read only" indicates that StatusMessage.Message is read only, this you cannot give it a value like you suggest.
Simon Bang Terkildsen 19-Oct-11 10:46am View
   
huh? where do the SerializableAttribute come into the picture? it will have no effect what so ever on the OP's problem, all SerializableAttribute does is telling anyone, who is interested, that a type is serializable.
Simon Bang Terkildsen 19-Oct-11 10:43am View
   
wont compile you have to return some value in the case when !string.IsNullOrEmpty(statusMessage.Message) is false
Simon Bang Terkildsen 19-Oct-11 10:42am View
   
Thank you, Xeshan :)
Simon Bang Terkildsen 19-Oct-11 10:41am View
   
because you have to return a value in the case when your if statement is false as I said in my solution. If you use the getter I posted it will work, assuming you've fixed the type of the property.
Simon Bang Terkildsen 19-Oct-11 8:38am View
   
You're completely right I completely misunderstood the core of the question, multiple times :)
Simon Bang Terkildsen 19-Oct-11 8:27am View
   
and what if statusMessage is null which is the OP's problem. And why not return null or an empty string? what would you return instead?
Though I fell into that trap as well, the OP is testing statusMessage.Message but needs to test statusMessage
Simon Bang Terkildsen 19-Oct-11 8:05am View
   
My pleasure
Simon Bang Terkildsen 19-Oct-11 7:53am View
   
Thank you, TJ.
Simon Bang Terkildsen 19-Oct-11 7:17am View
   
Very true, I was about to post it without the method signature so just k >= Keys.F1 && k <= Keys.F24 but I thought it would be more clear if I put it into a method.
Simon Bang Terkildsen 19-Oct-11 7:03am View
   
+5
Simon Bang Terkildsen 19-Oct-11 6:40am View
   
Sounds like you already have some code where you send an email and try to attach you pdf file. post that code please, click "Improve question".
Simon Bang Terkildsen 19-Oct-11 6:37am View
   
Simon Bang Terkildsen 18-Oct-11 19:52pm View
   
Do not repost, click "Improve question" to update your question instead.
Simon Bang Terkildsen 18-Oct-11 18:19pm View
   
I've added you sql to your question and indented it, so it's at least readable, this should raise your chance of getting an answer.
But before anyone you have to say what is wrong, do you get an error, do you not get the expected result (if so what do you get and what did you expect)
Simon Bang Terkildsen 18-Oct-11 16:25pm View
   
My 5
Simon Bang Terkildsen 18-Oct-11 16:07pm View
   
+5!
Simon Bang Terkildsen 18-Oct-11 16:00pm View
   
My 5. That's an interesting link, I thought of implementing WCF in C++ as a hassle, I might change my mind after reading it all.
Simon Bang Terkildsen 18-Oct-11 15:39pm View
   
hehe, happens to all of us now and then :)
Simon Bang Terkildsen 18-Oct-11 15:37pm View
   
Yeah, I have a lot of work right now, so just popping my head in now and then the next couple of weeks. I'm happy someone have noticed, thank you :)
Simon Bang Terkildsen 18-Oct-11 15:34pm View
   
My 5. You will run into problems though when you use native dlls, see Dealing With Native DLLs in .NET “AnyCPU” Builds for a way to deal with that problem.
Simon Bang Terkildsen 18-Oct-11 15:30pm View
   
see WPF Tutorial - Binding Converters
BooleanToVisibilityConverter already exists so you don't have to create it yourself
Simon Bang Terkildsen 18-Oct-11 15:22pm View
   
Agreed.
Simon Bang Terkildsen 18-Oct-11 15:19pm View
   
A 4, it's important that the Reprint property actually notifies about changes. I've mentioned that in my solution.
Simon Bang Terkildsen 18-Oct-11 12:25pm View
   
hehe, that's a few years before I were even born. It was in the 20th century where programming were actually hardcore stuff, I've always wanted to be part of that.
Now it's just architecture and design that's hardcore. I might have a glorified view of you "old" programmers, if so let me keep it :)
Simon Bang Terkildsen 18-Oct-11 11:58am View
   
An old chauvinist I see :P
Simon Bang Terkildsen 18-Oct-11 11:41am View
   
My 5.
Active Appearance Modeling would be the best, I believe, it's currently used for face tracking, and to track organs and foreign object in the body in the medical industry. However it's not easy to get started with, as all the information that exists about it is academic papers, so if you're not very good at mathematics you don't stand a chance.
Simon Bang Terkildsen 18-Oct-11 11:37am View
   
Yeah, I've seen some people detection/tracking algorithms in action on youtube and I'm impressed by the high accuracy, but the OP want to go one step further, to detect whether or not they have clothes on, well it's not even that easy they can have plenty of clothes on in a pornographic picture. To me it seems like a life long en devour that far from guarantees success.
Simon Bang Terkildsen 18-Oct-11 11:02am View
   
"computer vision" will also give some good results, the OpenCV library might be of interest.
That said like Dave and Albert has said, this is a massive undertaking, hell this is still an area that is being heavily researched all over the world. And you should expect to at least spend 2 years studying computer vision, before you can even start to create something that would have a decent success rate and a low false positives rate.
Simon Bang Terkildsen 17-Oct-11 0:17am View
   
You're supposed to ask a question here, not post some requirements and expect someone to do your work.
Simon Bang Terkildsen 16-Oct-11 13:37pm View
   
Good history lesson :)
Simon Bang Terkildsen 16-Oct-11 13:35pm View
   
Good one
Simon Bang Terkildsen 16-Oct-11 13:35pm View
   
Gotta keep in mind Google's up-time sucks, it's only about 5% :P
Simon Bang Terkildsen 16-Oct-11 13:34pm View
   
Please do do not post a question/comment as a solution. click "Have a question or Comment" to the solution you want to comment on.
As for your question, if you had taken the time to read what Abhinav linked you to, then you wouldn't have asked this. Mehdi has also given you the answer, with a historical background.
Simon Bang Terkildsen 16-Oct-11 11:35am View
   
Thank you for the vote, Espen :)
Simon Bang Terkildsen 15-Oct-11 18:37pm View
   
Hahaha, do you realize that you linked the OP's own post on another forum? the title and content are exactly the same, nonetheless he got his answer on original post.
Simon Bang Terkildsen 15-Oct-11 18:33pm View
   
+5
Simon Bang Terkildsen 15-Oct-11 18:18pm View
   
My 5
Simon Bang Terkildsen 15-Oct-11 18:11pm View
   
+5!
Simon Bang Terkildsen 15-Oct-11 18:11pm View
   
my 5
Simon Bang Terkildsen 15-Oct-11 17:16pm View
   
I don't know much about the subject, but that sounds like a good way to take it on.
Simon Bang Terkildsen 15-Oct-11 17:08pm View
   
Yeah it's great
Simon Bang Terkildsen 15-Oct-11 17:03pm View
   
+5
Simon Bang Terkildsen 15-Oct-11 14:47pm View
   
NO USER WILL EVER ENTER HIS FACEBOOK CREDENTIALS ON ANY SITE OTHER THAN FACEBOOK.
Not true, a lot would do that I'm sure
Simon Bang Terkildsen 15-Oct-11 14:17pm View
   
Another good answer
Simon Bang Terkildsen 15-Oct-11 14:16pm View
   
Good answer, my 5.
Simon Bang Terkildsen 15-Oct-11 14:15pm View
   
Yeah, you're not using any transaction.. So that is to be expected.
Simon Bang Terkildsen 15-Oct-11 14:15pm View
   
Correct
Simon Bang Terkildsen 15-Oct-11 14:15pm View
   
Deleted
Yeah, you're not using any transaction.. So that is to be expected.
Simon Bang Terkildsen 15-Oct-11 14:13pm View
   
You have the love of Google too I see :D
Simon Bang Terkildsen 15-Oct-11 14:13pm View
   
Good suggestion.
Simon Bang Terkildsen 15-Oct-11 14:09pm View
   
That's the way to do it, my 5.
Simon Bang Terkildsen 15-Oct-11 14:06pm View
   
Thank you, Espen.
Simon Bang Terkildsen 15-Oct-11 14:05pm View
   
Thank you. Google is amazing, you can nearly always find an answer there, it's like magic.
Simon Bang Terkildsen 15-Oct-11 14:04pm View
   
Thank you, Mehdi.
Simon Bang Terkildsen 15-Oct-11 14:04pm View
   
True, though I'm sure Access has it's uses, I just don't know of any :D
Simon Bang Terkildsen 15-Oct-11 14:02pm View
   
Thank you, Espen
Simon Bang Terkildsen 15-Oct-11 14:01pm View
   
Yeah the CP article archive contains a lot of useful information :D
Simon Bang Terkildsen 15-Oct-11 14:01pm View
   
Thank you :)
Simon Bang Terkildsen 15-Oct-11 14:01pm View
   
Thank you, Espen.
Simon Bang Terkildsen 14-Oct-11 18:45pm View
   
Nice one
Simon Bang Terkildsen 14-Oct-11 18:41pm View
   
Great article.
Simon Bang Terkildsen 14-Oct-11 18:33pm View
   
yeah good site.
Simon Bang Terkildsen 14-Oct-11 18:32pm View
   
+5
Simon Bang Terkildsen 14-Oct-11 18:31pm View
   
my 5
Simon Bang Terkildsen 14-Oct-11 18:28pm View
   
Do not repost, you haven't even added more details to your question, see the comments and solution on your previous question.
Deleting this repost, DO NOT REPOST.
Simon Bang Terkildsen 14-Oct-11 17:33pm View
   
Do NOT post comments as solutions, click "Have a Question or Comment?" if you want to comment on a solution.
deleting this solution
Simon Bang Terkildsen 14-Oct-11 14:36pm View
   
God dammit I hate reposts, deleting this question
Simon Bang Terkildsen 14-Oct-11 14:34pm View
   
If you had tried to play around with it you would have found out that there were missing a parenthesis set around the inner select.
The solution is updated.
Simon Bang Terkildsen 14-Oct-11 12:31pm View
   
Good walkthrough, +5
Simon Bang Terkildsen 14-Oct-11 12:25pm View
   
Do not repost! Read my solution to your original question
If you have details to add click "Improve question".
Simon Bang Terkildsen 14-Oct-11 12:23pm View
   
Updated the solution
Simon Bang Terkildsen 14-Oct-11 11:34am View
   
Repost, but fine the code has been cut down a lot, yet no question...
Simon Bang Terkildsen 14-Oct-11 11:27am View
   
No question, and a pile of code, doesn't get you anywhere.
Simon Bang Terkildsen 14-Oct-11 9:38am View
   
My pleasure
Simon Bang Terkildsen 14-Oct-11 9:30am View
   
Ketchup please XD
Simon Bang Terkildsen 14-Oct-11 9:16am View
   
Sound advice
Simon Bang Terkildsen 14-Oct-11 9:09am View
   
Indeed, my 5
Simon Bang Terkildsen 14-Oct-11 9:07am View
   
Ahh ok, I get it now, delete content not tables :)
As Simon said cascade delete is an option and a simple and easy one. Another option is to delete the "child data" first then the parent(s).
Simon Bang Terkildsen 14-Oct-11 9:05am View
   
Sorry, I don't think I understand what you're asking.
If you're asking if it is possible to find all tables that some random table has a relationship to then yes. But it's not easy however, but if you google t-sql table get relationships you should be able to find plenty of discussions about how you can do it, the first two hits seem promising.
Simon Bang Terkildsen 14-Oct-11 8:51am View
   
Mmmm... Fries
Simon Bang Terkildsen 14-Oct-11 8:26am View
   
My pleasure
Simon Bang Terkildsen 14-Oct-11 7:20am View
   
Your question doesn't make sense, the backspace key is "enabled".
I'm guessing you're working with WinForms and have a control were you want to handle the press of the backspace key. So click "Improve question" and add details about which control you're working with, what you're trying to achieve and what you've tried yourself.
Simon Bang Terkildsen 14-Oct-11 6:03am View
   
Do you expect us to figure out what problem you encountered and then also solve it for you? If you had stated what the problem was, you would have a chance of getting a solution.

Click "Improve question" to add details about the problem you're facing.
Simon Bang Terkildsen 14-Oct-11 6:00am View
   
Thank you, Espen.
Simon Bang Terkildsen 14-Oct-11 5:59am View
   
hehe, thank you.
Simon Bang Terkildsen 14-Oct-11 5:57am View
   
Thank you, Espen.
Simon Bang Terkildsen 14-Oct-11 5:56am View
   
Thank you, Mehdi.
Simon Bang Terkildsen 14-Oct-11 5:56am View
   
Thank you, Espen.
Simon Bang Terkildsen 14-Oct-11 5:54am View
   
That's because you're trying to insert a number (integer, double, ect.) into a column that has the type BLOB.
Remember when you write VALUES(...) in your sql the values must be specified in the exact same order as your columns is defined in the table, unless you state the columns in your sql, which you don't in the posted sql.
Simon Bang Terkildsen 14-Oct-11 5:52am View
   
That's likely because you don't have as many columns in your table as the number of values you're trying to insert into the new row.
Simon Bang Terkildsen 11-Oct-11 6:25am View
   
good answer, my 5
Simon Bang Terkildsen 10-Oct-11 15:50pm View
   
ok say you have a mutex which is owned by thread01 then when you call WaitForSingleObject thread02 it will not return until the mutex has been released by thread01. Once it returns the mutex is owned by thread02 if and only if the return value is WAIT_OBJECT_0 or WAIT_ABANDONED, it would return another value if it timeout or the mutex handle were closed.
Simon Bang Terkildsen 10-Oct-11 15:48pm View
   
1 - That's not what you stated in your question, in your question you indicated that the article no longer were in the CP article archive
2 - if you have trouble with the CP website then you're posting in the wrong place, go to the Site Bugs / Suggestions forum.
Simon Bang Terkildsen 10-Oct-11 15:31pm View
   
+5
Simon Bang Terkildsen 9-Oct-11 10:34am View
   
No, Microsoft doesn't support anything but Windows.
Simon Bang Terkildsen 8-Oct-11 17:20pm View
   
Mehdi is in his good right to say what he does.
Simon Bang Terkildsen 8-Oct-11 17:19pm View
   
Agreed
Simon Bang Terkildsen 8-Oct-11 15:44pm View
   
You say you've found code examples in languages that you cannot use, but you do not say what languages you can use...
Simon Bang Terkildsen 8-Oct-11 11:59am View
   
Thank you, Espen. WPF is a passion of mine :)
Simon Bang Terkildsen 8-Oct-11 11:58am View
   
My 5
Simon Bang Terkildsen 8-Oct-11 11:37am View
   
Good suggestion
Simon Bang Terkildsen 8-Oct-11 6:54am View
   
Nice simple answer, my 5
Simon Bang Terkildsen 8-Oct-11 5:26am View
   
My 5
Simon Bang Terkildsen 8-Oct-11 5:25am View
   
great links
Simon Bang Terkildsen 8-Oct-11 5:16am View
   
hehe yeah probably
Simon Bang Terkildsen 7-Oct-11 16:36pm View
   
+5!
Simon Bang Terkildsen 7-Oct-11 8:32am View
   
Agreed, nice one, my 5.
Simon Bang Terkildsen 7-Oct-11 8:31am View
   
Thank you, Dalek
Simon Bang Terkildsen 7-Oct-11 8:30am View
   
As for my picture, if you were suggesting that were a game or a movie then I take offense to that too. I served in Iraq, and trust me that wasn't a game.
Simon Bang Terkildsen 7-Oct-11 8:24am View
   
Dont think so much in "levels" - not all is a video game.
I take offense to that, I were not thinking in terms of games, you were.

At most it is better to have skill to solve real problems - NOT "academical issues"
Exactly having the ability to solve a given problem, you don't get that by knowing alot of different languages and frameworks. But by having a wast knowledge of different concepts and techniques.
Simon Bang Terkildsen 7-Oct-11 7:41am View
   
Valid guess, my 5, however Convert.ToDateTime can cast an exception as well, DateTime.TryParse would be the method to use.
Simon Bang Terkildsen 7-Oct-11 7:38am View
   
Great now the code is there, now read Solution 1 by CodeHelper_PS and tell us where the exception is thrown
Simon Bang Terkildsen 7-Oct-11 7:38am View
   
My 5, seems the OP didn't read this before add his code dump
Simon Bang Terkildsen 7-Oct-11 7:29am View
   
HAHAHA, ActiveX is not something you simply say here see these three, five lines of code and then you understand it, ActiveX is a ton load of trouble and requires a lot of effort on your part to get to work correctly and reliably. If you still want to do this Google ActiveX to find educational resources.
Simon Bang Terkildsen 7-Oct-11 7:28am View
   
When I say next level I mean improve the ability to solve a given problem. Learning how to write an android application while that would help getting familiar with a new framework doesn't really improve the OP's abilities.
Simon Bang Terkildsen 7-Oct-11 7:12am View
   
There's no error in the code
Yes there is otherwise you wouldn't get an exception, now would you?!
Post the relevant code.
Simon Bang Terkildsen 7-Oct-11 7:05am View
   
exactly, my 5
Simon Bang Terkildsen 7-Oct-11 6:57am View
   
"Design patterns, Operating System concepts" if you like smoking illegal drugs
?!?! Am I missing something or are you saying design patterns are of no use?!
and also knowing OS concepts would get the OP to get to the next level.
Simon Bang Terkildsen 6-Oct-11 19:16pm View
   
My pleasure
Simon Bang Terkildsen 6-Oct-11 19:15pm View
   
Yeah I'm aware of that, and I expected that the OP were too
Simon Bang Terkildsen 6-Oct-11 19:12pm View
   
yeah, I realized that, saw your solution and deleted the answer :)
My 5
Simon Bang Terkildsen 6-Oct-11 18:27pm View
   
You do not state any problem or question.
Simon Bang Terkildsen 6-Oct-11 18:22pm View
   
Thank you, Espen
Simon Bang Terkildsen 6-Oct-11 17:13pm View
   
Ah ok, I don't what topics has been covered in your class, but seems to me that you should have a look at data bindings, here is a CP article: WPF Data Binding - Part 1
Simon Bang Terkildsen 6-Oct-11 17:06pm View
   
Resources are supposed to define the visual appearance of your application, you would define brushes, styles, data templates and the like as resources, and these would only change if the user changed the theme of the application.

What you seem to be doing is to do a binding without using a binding, seems silly to me, I'm guessing your teacher is getting you to do something awkward now and then later get you to do it the right way, at least I hope that's the case.
Simon Bang Terkildsen 6-Oct-11 16:53pm View
   
Most likely, but resources isn't supposed to be used like that, so it really depends on what you're trying to do.
Simon Bang Terkildsen 6-Oct-11 16:49pm View
   
well you can also write Resources["AgentsList"] = agents, but the effect is exactly the same as the two lines I posted in the solution.
Simon Bang Terkildsen 6-Oct-11 12:30pm View
   
Hmm, who calls the authorities? :P
Simon Bang Terkildsen 6-Oct-11 12:27pm View
   
Thank you, Espen. I get one now and then :)
Simon Bang Terkildsen 6-Oct-11 12:24pm View
   
Thank you, Espen
Simon Bang Terkildsen 6-Oct-11 12:24pm View
   
My pleasure
Simon Bang Terkildsen 6-Oct-11 12:23pm View
   
Thank you, Espen
Simon Bang Terkildsen 6-Oct-11 12:19pm View
   
Much appreciated, Espen
Simon Bang Terkildsen 6-Oct-11 12:11pm View
   
Yeah well I suppose some of the CPians who doesn't spend much time in the Q6A might see it as harsh, but in the 2 months I've spend here I would say you're in your right to went now and then.
Simon Bang Terkildsen 6-Oct-11 12:04pm View
   
Thank you for the vote
Simon Bang Terkildsen 6-Oct-11 12:04pm View
   
Thank you, Espen
Simon Bang Terkildsen 6-Oct-11 12:03pm View
   
Much appreciated.
Simon Bang Terkildsen 6-Oct-11 12:03pm View
   
Thank you Espen
Simon Bang Terkildsen 6-Oct-11 11:56am View
   
Thanks, Espen
Simon Bang Terkildsen 6-Oct-11 11:55am View
   
breakpoint :)
Simon Bang Terkildsen 6-Oct-11 11:55am View
   
Thank you for the vote.
Well a PhD thesis doesn't have to take on the entire problem or even provide a general solution to a problem. So while you're correct taking on the OP's problem directly without any prior research to rely on, I still feel that it would be worth a PhD thesis. Now I'm not a researcher but I would start by using the research you mentioned about body gesture recognition, So you would look for the correct gestures in the correct order, once that is done I would go deeper.