15,867,756 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 Kabwla.Phone (Top 30 by date)
Kabwla.Phone
13-Feb-12 8:26am
View
Deleted
I would not know, I have only used it in winform environments.
Kabwla.Phone
13-Feb-12 5:56am
View
Deleted
Assembly mscorlib.dll, v4.0.30319
namespace System.Collections.Generic
public class List<t>
Kabwla.Phone
2-Dec-11 10:43am
View
Deleted
The website already warned me that this tip was 'very long', merging the tips would only make it longer.
I was thinking about creating some sort of small series of tips (something like 'making life better with extensions') but only formalize this if a had actually written a few of them down.
Perphaps the 'Tips' section is not the correct place for this idea, in which case I am open to suggestions.
Kabwla.Phone
1-Dec-11 3:48am
View
Deleted
Reason for my vote of 5
Much easier to remember than the other alternatives.
Kabwla.Phone
28-Nov-11 5:56am
View
Deleted
The code has undergone several revisions and optimizations.
The original code made by rj45 used an additional function named 'GetSubControls'. The latest revision of the code, (from my hand, for which rj45 is yet still to credit or thank me) no longer needs this function.
Check out Alternative1 which gives you the option to go dept-first or width first, depending on your needs.
Kabwla.Phone
28-Nov-11 5:04am
View
Deleted
You are very right and I should/will change the code.
However, I am used to building database driven applications, where the cycles wasted by navigating the gui / TypeCasting are not even a percentage of a percentage of the cycles waisted by waiting for the data to arrive.
Ps: a vote on the idea (irregardless of implementation) would be appreciated.
Kabwla.Phone
23-Nov-11 5:05am
View
Deleted
Yes, you are right.
It's a bit messy and requires trial and error.
The fact about the print-statement is still true though.
Kabwla.Phone
8-Nov-11 4:45am
View
Deleted
If I recall correctly, the soundex is dependant on the language set for the database.
If your database is used by different countries (or in a country that has multiple native languages) then you have a problem, because you can only use one language for the database, and words sound really differentin different languages.
Kabwla.Phone
7-Nov-11 9:44am
View
Deleted
Reason for my vote of 1
Failure to provide credits to Kabwla.
Kabwla.Phone
7-Nov-11 9:14am
View
Deleted
I once wrote a very stupid "delphi joke" as a comment in my code. It went:
The return value is passed by reference,
as a result, this procedure does not function.
Kabwla.Phone
7-Nov-11 9:09am
View
Deleted
There is a difference between 7 and 8.
Alternative 8 implements the 'Singleton pattern' for a SINGLE class (of type singleton) as aproved by Microsoft. My version implements the pattern for any class (of type TSingletonType) by the use of the generic class (Singleton) so you can put it in your core library, and will never have to implement it again.
Yes the structure of the code copied 1:1 from one of the implementations above, but I think I have added an important feature that very likely not everybody knows will work.
Kabwla.Phone
7-Nov-11 3:30am
View
Deleted
Alternative 8 ends all discussion.
Alternative 7 provides a (crazy) generic solution.
Kabwla.Phone
7-Nov-11 3:27am
View
Deleted
Reason for my vote of 1
I'm a big fan of alternative 8, that should be on top.
Kabwla.Phone
7-Nov-11 3:27am
View
Deleted
Reason for my vote of 1
I'm a big fan of alternative 8, that should be on top.
Kabwla.Phone
7-Nov-11 3:27am
View
Deleted
Reason for my vote of 1
I'm a big fan of alternative 8, that should be on top.
Kabwla.Phone
7-Nov-11 3:26am
View
Deleted
Reason for my vote of 5
That link you provide is golden and should close this article.
Kabwla.Phone
7-Nov-11 3:18am
View
Deleted
Reason for my vote of 2
You are leaking memory in the XLSX case, add a using statement around your memory stream.
Kabwla.Phone
2-Nov-11 4:03am
View
Deleted
Actually, yes. Not that it has anything to do with the solution, I think, I stole this idea from Eric Lippert.
(ooh, Delphi, How beautiful your 'sets' were.)
Kabwla.Phone
1-Nov-11 9:02am
View
Deleted
Reason for my vote of 2
This alternative is not 'lazyloading'.
Kabwla.Phone
1-Nov-11 8:32am
View
Deleted
See Alternative 1 to see why it works. (with too much code)
Kabwla.Phone
1-Nov-11 7:59am
View
Deleted
Reason for my vote of 2
For unprofessional usage of language
Kabwla.Phone
20-Oct-11 8:03am
View
Deleted
Reason for my vote of 1
Personally attacked because of providing alternative.
Kabwla.Phone
20-Oct-11 8:02am
View
Deleted
I do not understand why you attack me.
I just point out a few shortcommings in your solution and inspired by your setup, I provide an alternative to remove these shortcommings.
*sigh* nobody is nice on the internet anymore.
Kabwla.Phone
19-Oct-11 4:09am
View
Deleted
Reason for my vote of 5
Great tip.
Kabwla.Phone
14-Oct-11 4:54am
View
Deleted
Sometimes I feel that being a programmer is much like being a doctor.
You just have to know everything and if you don't, something dies.
(Either being an appliction or a patient.
Oddly enough, more people care about the death of their application,
than the massacre op people... )
Kabwla.Phone
12-Oct-11 9:54am
View
Deleted
Reason for my vote of 5
As promissed, a better vote!
Kabwla.Phone
12-Oct-11 4:40am
View
Deleted
Now I feel bad about giving just 3.
Kabwla.Phone
12-Oct-11 4:12am
View
Deleted
Reason for my vote of 3
Pretty good information, though I do not know the kind of code you are working on, it does very much sound like a code smell. Lets hope you did not solve the wrong problem ;-)
Kabwla.Phone
12-Oct-11 4:04am
View
Deleted
Reason for my vote of 3
Can you do a performance test to see if there is a difference with Rodriguess?
That would earn you better votes.
Kabwla.Phone
12-Oct-11 4:03am
View
Deleted
Reason for my vote of 1
Very inefficient:
Unneeded object creations:
New {}
Yield construct
ForEach (creates ittterator)
Execution delegation for:
select
Order by
Yield
Loops throug the 'collection' multiple times:
Select
ForEach
Both Rodriguess and Rissing are better (Much)
Show More