Click here to Skip to main content
15,076,465 members

Comments by Toli Cuturicu (Top 200 by date)

Toli Cuturicu 17-Nov-12 20:34pm View
Very poor syntax. This will never compile!
Toli Cuturicu 17-Nov-12 20:28pm View
Toli Cuturicu 17-Nov-12 20:25pm View
Just ask THEM!
"Them" = the folks who mantain iTextSharp. They must have a forum or something there!
Toli Cuturicu 17-Nov-12 20:23pm View
Toli Cuturicu 17-Nov-12 20:21pm View
Don't do it!
Seriously, DON'T!!
Toli Cuturicu 17-Nov-12 20:10pm View
I usually hover with the mouse or other equivalent pointing device. If you have one, try using it. It may work.
Toli Cuturicu 22-Sep-12 18:01pm View
Toli Cuturicu 22-Sep-12 17:59pm View
I think I could be able to "decrypt" such a string if I find one ;-)
My 5, of course.
Toli Cuturicu 17-Sep-12 9:11am View
My five
Toli Cuturicu 11-Sep-12 13:29pm View
Are you absolutely sure it cannot be done even using pInvoke?
Toli Cuturicu 25-Jun-12 11:21am View
Toli Cuturicu 14-Jan-12 9:40am View
SAKryukov has already told you NOT to use a PictureBox for that purpose and he is RIGHT. So, why are you still asking him about PictureBoxes then?
Toli Cuturicu 2-May-11 14:24pm View
This is not an answer to my comment.
It seems as an answer to OP's question.
So, post it right!
Toli Cuturicu 26-Apr-11 6:05am View
I always missed this nice functionality from Pascal!
Toli Cuturicu 17-Apr-11 14:53pm View
It the same difference as between an Elephant and a Typewriter.
Toli Cuturicu 15-Apr-11 17:22pm View
5, but... I wouldn't recommend it. I'd hate a software that does this.
Toli Cuturicu 15-Apr-11 15:21pm View
Get a book or attend your classes.
Toli Cuturicu 15-Apr-11 14:31pm View
1. ok.
2. About paste... This is just for code, i.e. plain text which is colored by the control. It really shouldn't be allowed to paste rtf in it, because it makes no sense. Can you paste rtf in Visual Studio code editor??
3. Yes, it starts to get slower when approaching 1 megabyte, even with compiled Regex. Anyway, for a programming language it should be no problem.
Toli Cuturicu 14-Apr-11 22:33pm View
1. Comment from OP: Sorry. I need something simple. I don't want to create an elaborate syntax I just need to highlight a few words.
2. This would not be an all-purpose Control, so pasting RTF can be disabled as it doesn't serve the purpose: a light-weight coding editor.
3. A code file of a few MB!? Never seen such a thing!
Toli Cuturicu 14-Apr-11 18:51pm View
Toli Cuturicu 14-Apr-11 16:28pm View
Toli Cuturicu 14-Apr-11 5:32am View
You know... The OP just wants answers / code, not advice... It just happens all the time.
Toli Cuturicu 14-Apr-11 5:22am View
Read the question. It is NOT returning an int!
Toli Cuturicu 14-Apr-11 5:22am View
Read the question. It is NOT returning an int!
Toli Cuturicu 14-Apr-11 4:59am View
> all investigations on web failed.
Your Internet connection must be down.
Toli Cuturicu 14-Apr-11 4:40am View
Not clear.
Toli Cuturicu 13-Apr-11 8:16am View
Why? Seriously, why?
Toli Cuturicu 13-Apr-11 8:16am View
ArrayList has nothing helpful and useful compared to List<>. It is superseeded by List<>. So, just replace it.
Toli Cuturicu 13-Apr-11 8:12am View
Can't you use pre tags?! Have my one then!
Toli Cuturicu 13-Apr-11 8:12am View
The "best" way is, in my humble opinion, to use a real cell phone.
Toli Cuturicu 13-Apr-11 8:11am View
Toli Cuturicu 13-Apr-11 8:09am View
Not clear.
Toli Cuturicu 13-Apr-11 8:01am View
Why? (seriously, why?)
If you tell us your reasons, we may provide better answers.
Toli Cuturicu 13-Apr-11 7:58am View
Unreadable non-sense. Shame.
Toli Cuturicu 13-Apr-11 7:56am View
Just check the classes in System.Reflection namespace.
Toli Cuturicu 13-Apr-11 7:56am View
No comment
Toli Cuturicu 13-Apr-11 7:53am View
Visual Basic?? The question is tagged c#!
Toli Cuturicu 13-Apr-11 7:52am View
I know regex. I don't know what Dim and ByVal means and in what language.
Anyway, I don't care. The question was clearly tagged c#.
Toli Cuturicu 13-Apr-11 7:19am View
What language is that?!
Toli Cuturicu 13-Apr-11 7:19am View
No! You don't! A developer can use everything he wants.
But, if this is a homework, then we have a problem!
The question has to be tagged "homework", downvoted and / or deleted.
So, make up your mind.
Toli Cuturicu 13-Apr-11 7:18am View
No comment
Toli Cuturicu 13-Apr-11 3:27am View
Toli Cuturicu 13-Apr-11 3:24am View
I deleted this question. Our forum is already overcrowded with junk.
Toli Cuturicu 12-Apr-11 15:58pm View
It may better, for readibility sake, to use verbatim @ string syntax here... Just an idea.
Toli Cuturicu 12-Apr-11 15:51pm View
It wasn't me... :-(
Toli Cuturicu 12-Apr-11 15:51pm View
The OP asked something quite illogical, so I simply gave an appropriate absurd (but tangentially working) example...
Toli Cuturicu 12-Apr-11 15:51pm View
The OP asked something quite illogical, so I simply gave an appropriate absurd (but tangentially working) example...
Toli Cuturicu 12-Apr-11 4:48am View
Joke, right?
Toli Cuturicu 12-Apr-11 4:48am View
What is better? An Elephant or a Soda Vending Machine...?
Toli Cuturicu 12-Apr-11 4:28am View
Joke, right?
Toli Cuturicu 9-Apr-11 7:34am View
Toli Cuturicu 7-Apr-11 18:48pm View
No txtspk! Use proper grammar and spelling!
Don't write u, i, put, iam, codes, eney...
Sentences start with a Capital letter.
No space before punctuation !... Wrong: use punctuation!
Do you get it?
Toli Cuturicu 7-Apr-11 18:46pm View
Don't put your e-mail address in a public place!
You will get more and more spam!
Toli Cuturicu 7-Apr-11 16:11pm View
The only vote of 5 of your answer is / was mine.
Toli Cuturicu 7-Apr-11 11:00am View
Non-sense, imposibility, absurdity...
How old are you? Fifty?
This could only be done on Windows 98 or earlier!
Toli Cuturicu 7-Apr-11 10:54am View
Absurdity. Have my 1.
Toli Cuturicu 6-Apr-11 9:00am View
Your point is good.
Toli Cuturicu 6-Apr-11 8:59am View
Yes! This works. I only forgot to have that private storage EventHandler.
Have my 5 and Accepted.
Anyway, I should have figured it out myself. It is like a property with get / set, you must have a storage variable...
Toli Cuturicu 6-Apr-11 8:52am View
Sorry, but it gives an error to me. Please look at the code sample I provided. Thank you.
Toli Cuturicu 6-Apr-11 3:11am View
Or, I'll shout back at you and vote 1.
Toli Cuturicu 6-Apr-11 3:10am View
Not clear.
Toli Cuturicu 5-Apr-11 13:17pm View
Grammar... Spelling... Sounds familiar to you?
Toli Cuturicu 5-Apr-11 13:12pm View
Voted 5 to counter an idiot's 1.
Toli Cuturicu 5-Apr-11 13:11pm View
And... Never post fake answers! I wasn't nice and deleted yours.
Henry Minute was nicer and copied it as a comment.
Toli Cuturicu 5-Apr-11 13:10pm View
Absurdity. You can't (of course).
Toli Cuturicu 4-Apr-11 12:17pm View
Very bad design practice. Don't do it anymore.
Toli Cuturicu 28-Mar-11 16:42pm View
Not clear.
Toli Cuturicu 27-Mar-11 15:16pm View
Code dump; ask for work; rude
Toli Cuturicu 24-Mar-11 16:25pm View
Are you sure you allow it to start with a digit?
Isn't it supposed to be a programming language identifier?
Toli Cuturicu 24-Mar-11 16:16pm View
Have my 5, but... maybe not Regex at all... See my answer.
Toli Cuturicu 24-Mar-11 16:07pm View
Plain absurdity. Have my 1!
Toli Cuturicu 24-Mar-11 10:11am View
Toli Cuturicu 24-Mar-11 9:24am View
Don't post fake answers!
Toli Cuturicu 24-Mar-11 9:22am View
Forms can be MDI Child and MDI Parent, though.
Toli Cuturicu 24-Mar-11 9:13am View
For all of you! Stop using ArrayList! Think of them as deprecated for over 5 years! My God!
Toli Cuturicu 23-Mar-11 11:59am View
Are you too lazy to use code blocks?
Toli Cuturicu 19-Mar-11 22:04pm View
Not clear -> 1.
Toli Cuturicu 19-Mar-11 16:31pm View
Toli Cuturicu 19-Mar-11 16:26pm View
Only an 1x8 monochrome image can be converted to a byte?!
Toli Cuturicu 19-Mar-11 16:22pm View
> I have a string array...
That is NOT a string array!
It is clearly an int array!
Toli Cuturicu 18-Mar-11 20:24pm View
Really, can't you use <pre lang="cs"></pre> tags or are you plain lazy?
What about proper indenting...? Someone may want to actually read your answer!
Toli Cuturicu 18-Mar-11 20:22pm View
Stop posting FAKE answers. If you want to add something, use "Add Comment"!
Toli Cuturicu 17-Mar-11 8:33am View
No question. Just statements.
Toli Cuturicu 16-Mar-11 17:45pm View
Of course. Your idea is very good. Congratulations, you solved it!
Toli Cuturicu 16-Mar-11 17:35pm View
Location is an instance member, not a static one.
Toli Cuturicu 16-Mar-11 17:34pm View
Example: John London 1234 UK
What is this? Is it objs or objs[pos]? Who is y? 4?
What part of it do you want stored?
Give a complete example, please.
Toli Cuturicu 16-Mar-11 16:13pm View
Post the solution as an answer if it works!
Toli Cuturicu 16-Mar-11 16:11pm View
Not clear.
Toli Cuturicu 16-Mar-11 16:00pm View
Forget about ArrayList. Never use it again.
Toli Cuturicu 16-Mar-11 15:56pm View
Some clarification (or maybe some code) needed.
Toli Cuturicu 15-Mar-11 18:49pm View
Toli Cuturicu 15-Mar-11 15:01pm View
Your program [programme (British) but never programm] is already "connected" to the OS, since it was the OS who started it in the first place...
Toli Cuturicu 15-Mar-11 11:34am View
I second Henry Minute.
Toli Cuturicu 15-Mar-11 9:21am View
No, you do not!
Toli Cuturicu 15-Mar-11 9:17am View
Still non-sense. The individual who created this interview question is stupid.
Toli Cuturicu 15-Mar-11 9:13am View
Absurdity | Joke
Toli Cuturicu 15-Mar-11 9:11am View
Toli Cuturicu 15-Mar-11 8:20am View
I deleted your answer. Don't try it again.
Toli Cuturicu 15-Mar-11 8:19am View
Oh, yes. I'll keep telling the truth.
If you don't like it, don't bother us anymore.
There are lots of people who need and accept help, so... you got it.
Toli Cuturicu 14-Mar-11 18:55pm View
Toli Cuturicu 14-Mar-11 18:54pm View
Not clear.
Toli Cuturicu 14-Mar-11 18:50pm View
I need lots of stuff too... :-)
Toli Cuturicu 14-Mar-11 18:49pm View
Rephrase please.
Toli Cuturicu 14-Mar-11 18:44pm View
Use Unicode!
Toli Cuturicu 14-Mar-11 18:38pm View
What is that number (948...) supposed to mean? I deleted it anyway for being irrelevant.
Toli Cuturicu 14-Mar-11 18:35pm View
Non-sense. Have my One.
Toli Cuturicu 14-Mar-11 18:32pm View
Try other site then. Here, at CodeProject, things don't work that way!
Toli Cuturicu 14-Mar-11 18:31pm View
Never ever attempt to do such a monstruousity!
I would qualify your software as malware.
Toli Cuturicu 14-Mar-11 18:29pm View
Then, why does Microsoft violate its own naming conventions?
Toli Cuturicu 14-Mar-11 18:22pm View
I strongly second JOAT-MON.
What you want to do is an UI nightmare.
Don't try to invent UI conventions in Windows. It's Microsoft's job, not yours.
Your job is to follow UI conventions, not to redesign them!
If I get such software, I delete it imediatly.
Toli Cuturicu 14-Mar-11 18:15pm View
You have my blessing. Create it!
However, what was the question?
Toli Cuturicu 14-Mar-11 17:59pm View
The problem was that Red, Green and Blue should not have the same 1/3 factor, since do not have the same luminosity. Just look at solution 1 and see the right factors: 0.30, 0.59 and 0.11, quite different from 0.33, 0.33 and 0.33.
Toli Cuturicu 11-Mar-11 18:26pm View
Toli Cuturicu 11-Mar-11 14:21pm View
Ok. I thought you were just hunting for reputation points. Sorry for being so harsh.
Anyway, it's a good thing you learned how to use the system, isn't it?
Toli Cuturicu 11-Mar-11 14:19pm View
Changed my 3 to a 5.
It is very rare for someone to actually use criticism instead of flaming out. Congrats!
Toli Cuturicu 11-Mar-11 13:02pm View
Your question is very clear. I voted you 5. Sadly I don't know the answer.
Toli Cuturicu 11-Mar-11 12:55pm View
Inserting an HDD?? Into what? While the computer is powered on?! Wow!
Toli Cuturicu 11-Mar-11 12:52pm View
An esther of glycerin with fatty acids.
Toli Cuturicu 11-Mar-11 12:50pm View
Toli Cuturicu 11-Mar-11 12:37pm View
Extension methods do not exist in .net 2.0 either.
Toli Cuturicu 10-Mar-11 12:03pm View
Do not ever again try to post a fake answer.
I deleted the fake answers with which you flooded this question!
And I mean it, really, do not do this again!
Toli Cuturicu 9-Mar-11 15:45pm View
Google? MSDN?
Toli Cuturicu 9-Mar-11 14:20pm View
Can't you google?
Toli Cuturicu 9-Mar-11 14:18pm View
Absurdity. Stop thinking about this!
Toli Cuturicu 9-Mar-11 14:15pm View
> please explain this code line by line
You are joking, right?
Toli Cuturicu 7-Mar-11 15:30pm View
Toli Cuturicu 7-Mar-11 15:27pm View
Why an event??
Toli Cuturicu 7-Mar-11 15:16pm View
Do you mean "Bengali"?
Toli Cuturicu 6-Mar-11 17:38pm View
A class.
Toli Cuturicu 6-Mar-11 16:40pm View
No question. Just statements.
Toli Cuturicu 6-Mar-11 16:39pm View
This only works for very small numbers.
Let's calculate the factorial of uint.MaxValue instead!
Toli Cuturicu 6-Mar-11 16:38pm View
This cannot be done.
It is impossible to calculate and even display the factorial of an arbitraly large number!
Toli Cuturicu 5-Mar-11 14:05pm View
Use it for each and every message!
What works for one will work for all!
Be brave!
Toli Cuturicu 5-Mar-11 13:49pm View
Use Control Panel.
Toli Cuturicu 4-Mar-11 12:49pm View
You got my 4 anyway.
Toli Cuturicu 4-Mar-11 12:09pm View
Way better using string formatting!
Toli Cuturicu 4-Mar-11 10:01am View
Joking, huh?
Toli Cuturicu 4-Mar-11 9:59am View
Well... I'm almost sure ex.InnerException was null.
Toli Cuturicu 4-Mar-11 9:58am View
> i do not know you to use try and catch
Learn then! Read help (RTFM)
Toli Cuturicu 4-Mar-11 9:56am View
Non-sense. Ask someone hwo knows a little English to formulate the question for you.
Toli Cuturicu 4-Mar-11 9:54am View
Colossal Absurdity. Stop programming or you'll hurt someone, something or yourself.
Toli Cuturicu 4-Mar-11 9:49am View
Toli Cuturicu 4-Mar-11 9:48am View
> I want to make mobile surveillance program with c#
You have my blessing.
Toli Cuturicu 4-Mar-11 9:19am View
If you are new in c#, then you should try easier stuff first.
Toli Cuturicu 4-Mar-11 9:17am View
Strange code... there is neither argc, nor argv there! It will surely not compile!
Toli Cuturicu 1-Mar-11 15:54pm View
Don't post fake answers! Post comments instead. I deleted your "answer", because it was not an answer to your question!
Toli Cuturicu 1-Mar-11 15:52pm View
Non-sense (have my 1)
Toli Cuturicu 1-Mar-11 7:59am View
Ultra Chart...? Since this is not a .NET Framework Control, but a third party one, you may ask THEM in order to get a good answer.
Toli Cuturicu 26-Feb-11 8:39am View
Absurdity! (is it a joke?)
Toli Cuturicu 25-Feb-11 9:16am View
Not c#. Removed misleading tag.
Toli Cuturicu 24-Feb-11 17:00pm View
Where are you stuck?
Toli Cuturicu 24-Feb-11 16:10pm View
Where exactly do you get this error?! At which line?
Toli Cuturicu 24-Feb-11 16:08pm View
Don't do it!
Else people will delete your software at once and call you Rohit Bansal The little!
Toli Cuturicu 23-Feb-11 17:47pm View
Good joke! (the question was a joke, wasn't it?!)
Toli Cuturicu 22-Feb-11 8:52am View
I deleted your fake answers. Never post a fake answer again! Ok?
Toli Cuturicu 21-Feb-11 4:50am View
And AD means... Anno Domini or what??
Toli Cuturicu 15-Feb-11 1:27am View
Don't SHOUT!
Use <pre lang="cs">...</pre> tags!
Toli Cuturicu 15-Feb-11 1:02am View
Reason for my vote of 1
Plain Wrong (have you tested it?) Hint: try "AbCd"
Toli Cuturicu 13-Feb-11 17:44pm View
Reason for my vote of 5
Usefull... Some people couldn't probably do this.
Toli Cuturicu 13-Feb-11 0:41am View
I want a lot of things... ;-)
Toli Cuturicu 13-Feb-11 0:27am View
>"I think it can help"
I don't think so.
Toli Cuturicu 25-Jan-11 13:07pm View
There is no "difference class". Just use the - operator!
Toli Cuturicu 24-Jan-11 4:43am View
Press the DEL key.
Toli Cuturicu 17-Jan-11 5:26am View
Make the Form smaller. :-)
Toli Cuturicu 10-Jan-11 8:02am View
The compiler does not mind if you put all the method on one line.
However, the readers do mind. And Visual Studio corrects it automatically when you type the closing brace.
Code formatting conventions are there for a reason: to abide to them, so code is easier to read.
Toli Cuturicu 9-Jan-11 15:03pm View
Yes of course.
Toli Cuturicu 9-Jan-11 8:19am View
The OP posted a fake answer in order to get some points. I spotted it at removed it at once. So, his trick finally did no good for him.
Toli Cuturicu 9-Jan-11 8:17am View
Oh, you put it in the wrong place, that's why I did not see it at first.
Toli Cuturicu 9-Jan-11 3:20am View
Correct format should be 2,879,068 though.
Toli Cuturicu 4-Jan-11 13:09pm View
Don't post fake answers! You fool no one!
Toli Cuturicu 4-Jan-11 13:05pm View
Very good! (except for a missing brace)
Toli Cuturicu 3-Jan-11 5:36am View
No. There is no question.
Toli Cuturicu 2-Jan-11 8:12am View
Toli Cuturicu 2-Jan-11 8:02am View
Yes SAKryulov, you are being right. This is not a programming question.
Toli Cuturicu 25-Dec-10 17:29pm View
Toli Cuturicu 25-Dec-10 17:23pm View
Repost. I will delete this in a few hours if you do not copy-paste this in your original question!
Toli Cuturicu 25-Dec-10 17:21pm View
Ok. Issue solved.
Toli Cuturicu 24-Dec-10 12:57pm View
By the way, what color does the number 14 have? Is it blue? What about letter Y. It must be green!
Toli Cuturicu 23-Dec-10 19:54pm View
That is not c# (read the question tags before answering)
Toli Cuturicu 20-Dec-10 18:26pm View
Toli Cuturicu 20-Dec-10 16:36pm View
No question. You got my one, because there is no zero.
Toli Cuturicu 20-Dec-10 16:32pm View
Never post fake answers. (I deleted yours this time)
Toli Cuturicu 20-Dec-10 16:26pm View
Toli Cuturicu 20-Dec-10 16:24pm View
If it is a web project, why can't you specify it in the TAGS?!
Toli Cuturicu 20-Dec-10 16:19pm View
Why not use a parameterized query, like everyone else does?
Toli Cuturicu 20-Dec-10 16:17pm View
Read the TAGS, please. No VB there!
Toli Cuturicu 20-Dec-10 15:32pm View
Toli Cuturicu 19-Dec-10 18:52pm View
Toli Cuturicu 18-Dec-10 18:14pm View
Oh, if you need more samples, please look at Microsoft help on the classes I just mentioned. In v.3.5 and 4.0, those samples are quite informative yet short.
Toli Cuturicu 18-Dec-10 17:46pm View
The CodeProject members ususally do not like to answer what seems to be homework or interview questions.
Toli Cuturicu 18-Dec-10 17:39pm View
Toli Cuturicu 18-Dec-10 17:37pm View
Don't post any more fake answers! Never!
Toli Cuturicu 18-Dec-10 17:37pm View
Do you need the .sln file only?? :-)
Toli Cuturicu 18-Dec-10 12:18pm View
Interesting answer. A lot to study and sadly, I do not have the software... :-( You got my Five but not ACCEPT... yet.
Toli Cuturicu 18-Dec-10 12:12pm View
It should fit on a DVD anyway, so 4.3 GB will be a limit anyway. I have to somehow distribute the software. Downloading several GB from the Internet will not make anyone happy.
Toli Cuturicu 18-Dec-10 12:06pm View
This should not be done.
Toli Cuturicu 17-Dec-10 21:51pm View
If you really want to throw your database away... then may I suggest not to create it in the first place?
Toli Cuturicu 17-Dec-10 15:13pm View
While your code works, it does not do what the OP asked for.
He did not want to set or toggle caps lock status.
He simply wanted to retrieve it.
See the correct answer above.
Toli Cuturicu 17-Dec-10 15:12pm View
Never post fake answers (I deleted yours this time).
Toli Cuturicu 17-Dec-10 15:11pm View
Already answered... and way better.