15,663,341 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 Python questions
View Javascript questions
View C++ questions
View Java 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 Henrik Jonsson (Top 8 by date)
Henrik Jonsson
7-Aug-17 13:38pm
View
Are you planning to use Windows Forms or WPF?
Also please see previous related question: https://www.codeproject.com/Questions/1179690/How-to-do-drag-and-drop-multiple-listview-item-to
Henrik Jonsson
20-Oct-16 15:18pm
View
Check the stack trace to see whether you end up in a call to remove or add while you are iterating from the same thread.
Henrik Jonsson
27-Aug-16 8:09am
View
You should state what type of error (Exception) you get, to let us help you better.
Please observe that there is a 2G size limit of any .NET object, even on 64-bit systems. See http://stackoverflow.com/questions/1087982/single-objects-still-limited-to-2-gb-in-size-in-clr-4-0?noredirect=1&lq=1
Henrik Jonsson
24-Jun-16 3:21am
View
I think you must explain a little bit more and show where you have put the above code. Only if you put it in the SelectedValueChanged event handler it might work. However, your conversion to String and then to Int64 seems very strange.
Henrik Jonsson
2-Apr-16 16:05pm
View
Hi,
you indicate above that you have tried with a manifest. However, are you sure that you have an "app.manifest" file with the following line: <requestedexecutionlevel level="requireAdministrator" uiaccess="false">
and that file is specified as the Manifest file in VS Project properties. If this is the case you should get a prompt for evaluated access whenever you start the program and then not get any UnauthorizedAccessException exception when you try to copy to a folder under c:\Program files\. I just tried that.
Please try that and good luck.
Henrik Jonsson
14-Mar-16 16:17pm
View
Next time, why not trying googling for "difference between BlockingCollection and ConcurrentBag" first. For me this led to the following Code Project Article that explain some usage scenarios: http://www.codeproject.com/Articles/181410/Thread-safe-Collections-in-NET
Henrik Jonsson
24-Aug-15 14:20pm
View
I think you have to clarify which game engine you are using.
I suspect that after you have stopped the timer, the invocation of your code (script) above will also be stopped. Therefore, the "else" case will never be reached. You may have to implement cancellation by setting som state variable instead which must be considered before moving any game object.
Henrik Jonsson
24-Aug-15 14:13pm
View
Do you really mean mean "overloading", as in having the same method name but with different parameters, and not "overriding", meaning that a derived class creates a new version of the method with the same parameters. For the latter, overriding, you can use the "sealed" keyword. For the former, overloading, it is not possible without using a static code analyzer (written using Roslyn for instance), or a tool that uses reflection on the compiled assembly to look for methods with same names but different signature (parameters).
Try to explain what you want to prevent, and reason for it. Then maybe someone can help you better.
Show More