15,867,771 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 jimmson (Top 121 by date)
jimmson
15-Jun-20 4:19am
View
Can you show us the code you have so far?
jimmson
15-Jun-20 3:11am
View
Please don't repost the same question: https://www.codeproject.com/Questions/5271016/Page-routing-not-working-in-ASP-NET
jimmson
1-Jun-20 8:12am
View
This is not free coding service. If you need a help, you need to do some work by yourself.
jimmson
12-May-20 9:25am
View
Yes, but I was assuming you would use your condition "if(GuessLenght == WordLenght)" first, what would be FALSE.
It is not difficult to do it way you just suggested, but you need different algorithm - just count number of characters in each word and compare that.
jimmson
4-Mar-20 7:31am
View
Textbox doesn't save anything by itself.
jimmson
4-Mar-20 6:39am
View
If you don't make effort to ask the question properly, don't expect from others to make effort to answer you.
jimmson
27-Feb-20 9:15am
View
Good! :)
Questions on CodeProject are not closed, they can only be solved (as far as I know).
I deleted my answer because I made a mistake, your problem was slightly different than I thought. Sorry about that mate.
jimmson
27-Feb-20 9:05am
View
In what namespace do you have ApplicationSignInManager class? What is the name of this namespace?
jimmson
27-Feb-20 4:39am
View
Please add the details of the error. Use "Improve question" link to update your question.
jimmson
26-Feb-20 7:51am
View
The code you've posted has nothing to do with sessions..
jimmson
20-Feb-20 6:12am
View
You need to store the value from textbox to database (or another storage) and retrieve it on the page you need.
jimmson
13-Feb-20 8:10am
View
You seem to misunderstand what "protected" means in this case. Question would be much more clear if you can include your code.
jimmson
4-Feb-20 9:30am
View
Sure I can do that! For paying clients. This is a free help. Take it or leave it.
jimmson
4-Feb-20 8:46am
View
5!
jimmson
4-Feb-20 8:38am
View
Can you elaborate?
jimmson
4-Feb-20 6:30am
View
That's good news! So maybe you can delete this question, or answer it by yourself, so other people don't need to waste the time with answering?
jimmson
4-Feb-20 4:53am
View
Have you ever tried to google your question/problem?
https://www.google.com/search?client=firefox-b-d&q=HttpContext+does+not+contain+definition+of+GetOwninContext
jimmson
30-Jan-20 7:39am
View
Deleted
Share your code, if you want to get help.
This is not free coding service.
jimmson
30-Jan-20 3:39am
View
If you're getting some syntax error, it's not from the code you posted.
I don't have any problem to compile it.
jimmson
29-Jan-20 8:42am
View
So.. JavaScript or Java? Those are not the same!
jimmson
24-Jan-20 8:05am
View
That's better!
So, you should specify action and method in your Html.BeginForm(), as I wrote in my answer. Get those things right, and you may have an answer (however I'm not saying there isn't any other error).
Here you find how to do it: https://docs.microsoft.com/en-us/dotnet/api/system.web.mvc.html.formextensions.beginform?view=aspnet-mvc-5.2
jimmson
24-Jan-20 7:57am
View
This is not what I'm talking about. Show us the code INCLUDING your form tags. There's no form in the code and by the type of questions I usually see from you here on CodeProject, I'm in real doubt you actually have any form. I'm just trying to help..
jimmson
24-Jan-20 6:17am
View
Then you haven't included it in your code you sent.
jimmson
24-Jan-20 6:00am
View
4XX errors are client-side errors. So the code would be quite useful to help you.
jimmson
8-Jan-20 9:26am
View
Deleted
November doesn't have 31 days. Neither it's the last month of the year.
jimmson
2-Jan-20 9:38am
View
On which line do you get the error? You need to get more information about the exception, it's the key to solve your problem.
jimmson
2-Jan-20 8:56am
View
There's no question in your question. Please add details using the green "Improve question" link.
jimmson
21-Nov-19 3:31am
View
5!
jimmson
19-Nov-19 9:56am
View
Thanks, pal!
jimmson
21-Oct-19 8:32am
View
:) this gave me good laugh, thanks. You're right though.
jimmson
21-Oct-19 8:22am
View
There's no desc keyword in the code.
jimmson
17-Oct-19 6:11am
View
Look at the https://docs.microsoft.com/en-us/dotnet/api/system.math.round?view=netframework-4.8 to get some info on Math.Round method and to see your options. However, changing 10.04 to 10.05 has nothing to do with rounding. You will need to implement your own algorithm.
jimmson
17-Oct-19 5:54am
View
Why would 10.04 round to 10.05? It doesn't make any sense.
jimmson
24-Sep-19 10:07am
View
Good answer.
jimmson
12-Sep-19 4:22am
View
I'll post a solution. This should be easy now ;)
jimmson
12-Sep-19 3:04am
View
Glad you've got it resolved. I was actually looking for the model constructor, but you didn't include it in your code.
jimmson
11-Sep-19 10:31am
View
I don't think the error raises anywhere in the code you've posted. There's no "path" parameter in the code and you don't execute any method that requires one. You gonna have to dig deeper. Do you have an exception details? Look for stack trace and inner exceptions. Feel free to update your question with those information.
jimmson
11-Sep-19 7:29am
View
There's probably not much one can figure out from what you've posted here. At least for me, the code looks fine and most likely the problem is somewhere else. As I mentioned, posting the class you're setting as your DataContext, or the code behind for given Window, would give much more insight to the problem.
jimmson
11-Sep-19 5:52am
View
What the class ViewModel looks like?
jimmson
11-Sep-19 5:43am
View
There's always the first time for everybody. Better start learning ;)
jimmson
4-Sep-19 8:02am
View
Could you explain in more depth what are you trying to do? This seems to be quite broad.
jimmson
4-Sep-19 5:56am
View
What are the scriptParameters?
jimmson
4-Sep-19 3:46am
View
Are you sure you are passing the hostname and not something else?
jimmson
29-Aug-19 8:00am
View
5!
jimmson
28-Aug-19 5:55am
View
a) there is no question in your post
b) this is not "do my work for me" kind of site
jimmson
28-Aug-19 4:22am
View
You've already asked this question here: https://www.codeproject.com/Questions/5165787/Refresh-selecteditem-radgridview-WPF
jimmson
22-Aug-19 6:53am
View
You'll need to dig up the real exception. Internal server error is generic error saying there's something wrong on the server side.
jimmson
8-Aug-19 3:57am
View
What does the error says?
jimmson
11-Jul-17 7:13am
View
You need to espace ':' in this string. Like this: @"HH\:mm"
jimmson
3-Jul-17 10:51am
View
Show us the code you used. Also, if it so urgent, you should consider renting a coder.
jimmson
28-Jun-17 9:42am
View
Yeah, why just not copy and paste whole assignment... BTW you're already two days late.
jimmson
28-Jun-17 6:50am
View
If you can't even do this on your own, you should take a step back and start learning basics prior to making your own app.
jimmson
26-Jun-17 8:38am
View
Well, CefSharp is actually what I wanted to recommend you, till you wrote you need a classic built-in webbrowser. :) Good to hear you resolved it though.
jimmson
26-Jun-17 6:52am
View
Sorry to hear that! Built-in WPF browser is quite broken (by my opinion) but there are free alternatives you could use instead.
jimmson
26-Jun-17 6:49am
View
Hi, do you have to use built-in WPF WebBrowser or not?
jimmson
15-Jun-17 5:44am
View
Programming is about solving the problems. If you going to remove my answer as solution every time you break your code, I don't think this conversation is really going somewhere.
jimmson
15-Jun-17 4:44am
View
You probably changed something.
jimmson
15-Jun-17 4:39am
View
You're welcome! Happy codding.
jimmson
15-Jun-17 4:32am
View
Did you copy "private static Pet vov;" from the start of my code? I tested the code (and debugged) and it's working.
jimmson
15-Jun-17 4:19am
View
I've updated my answer with code.
jimmson
15-Jun-17 3:56am
View
You can store the pet instance in some private field. Then access it from the thread callback method and call SetHunger. Show me the code what have you tried, so I can help you with it.
jimmson
9-Jun-17 4:01am
View
Great, so you need to do:
1) create a new class that will inherit from Window class
2) in the constructor of this class, add key binding (as in the link examples)
3) inherit your windows from this new class
This is not tested, but I'm pretty sure it should work. Just be sure you have a command accessible (you may need to add command bindings to the constructor as well).
I would recommend to try it on the one window first.
jimmson
8-Jun-17 9:50am
View
Okey, so what they inherit from?
jimmson
8-Jun-17 5:36am
View
"Please help me to do such" - and what exactly do you mean by this?
jimmson
8-Jun-17 3:40am
View
Owner is something else. It would work with common parent, the class they inherit from. Do they inherit from Window class?
jimmson
7-Jun-17 3:12am
View
Yes, it is. Do these windows have some common parent? You can add command binding to the parent (in code, not xaml).
jimmson
6-Jun-17 10:42am
View
Well, thanks for the update, but sorry, I'm not going to download and run the whole application just to be able to help you. And I doubt anybody will. Get rid of the unnecessary code and post the relevant part of the code here.
jimmson
6-Jun-17 9:54am
View
Do you access UI thread in the catch clause? Show the code, it's probably the source of the problem.
jimmson
6-Jun-17 6:23am
View
Your question is missing a question.
jimmson
5-Jun-17 8:37am
View
Well, you can just add key binding to the each window. It can point to the same command, you don't need to duplicate it.
jimmson
26-May-17 7:30am
View
Show us the code. I'm sure HtmlAgilityPack can get all HTML elements quite easily.
jimmson
25-May-17 3:46am
View
Remove your email credentials from the question ASAP and change the password to your email, unless they are fake.
jimmson
22-May-17 8:10am
View
Oh yeah, I see it now. The problem is that the collection in this window is different from the collection bound to your DataGrid.
It's not clear to me how you create this window, but you can resolve the problem if you pass the instance of _loadDataBinding from the previous window where the DataGrid is to this window and use it, instead of re-creating it.
jimmson
22-May-17 7:24am
View
You're welcome!
About the adding - I recommend you to send it as a new question. Comments are not the best place to solve this. Also, include your code to see where are you stuck.
jimmson
9-May-17 10:39am
View
No, it's not really urgent. Maybe for you it is, but it is quite irrelevant when you asking for free help. And also, it's rude!
jimmson
3-May-17 8:36am
View
Then look into these two databases on your data to see what are the differences. This isn't something anybody from internet could do for you.
jimmson
3-May-17 7:58am
View
I don't have an access to your data, so I really can't do that for you. Look at your data, find what's "id" type.
jimmson
5-Apr-17 10:06am
View
This is really not making it clear. Did you debug your code?
What you should do is pass your data from DoWork method and access them in the ProgressChanged or RunWorkerCompleted handler.
I recommend you to look at how to use BackgroundWorker properly: https://msdn.microsoft.com/en-us/library/system.componentmodel.backgroundworker(v=vs.110).aspx
jimmson
5-Apr-17 7:56am
View
Did you tried to debug your code? I would recommend to try that without the BackgroundWorker to see whether the code works without it. Anyway, you doing few mistakes I can see right now:
backgroundWorker1.ReportProgress - the first parameter is progress in percent, you sending there number of rows.
Also, it's not clear to me, where the data are actually assigned to the data grid DataSource. You have there //dataGridView1.DataSource = Obj.myView; that is commented out. Interaction with UI thread should never happen in the DoWork method.
jimmson
5-Apr-17 7:06am
View
Where're you stuck?
jimmson
28-Feb-17 6:16am
View
Hi Patrick, I'm sorry, I thought that you don't need to get item selected. I tried to run your code and textboxes are editable. Only problem I see is that it needs two clicks instead of just one, but I can edit them.
jimmson
27-Feb-17 10:33am
View
Ok, I understand. I sent my answer as solution. I need to go for today, but I'll be here tomorrow if you have some questions about my answer.
jimmson
27-Feb-17 10:16am
View
By my opinion, the ListBox would be very bad choice. There are better alternatives, but it depends on many factors. The first thing - do you need to reuse this control in other parts of your application?
jimmson
27-Feb-17 9:59am
View
Hi Patrick. From your description, I'm not sure whether ListBox is really what you looking for. What exact ListBox features do you need?
jimmson
24-Feb-17 3:57am
View
You're welcome. Happy coding :)
jimmson
24-Feb-17 3:52am
View
As I understand, you use the button multiple times on this starting page - you just want to change image for each button. I still think the custom control is the best way and it's easy to create one. It doesn't matter if you reuse control in just one place or not. It's also the clean way how to solve this problem.
jimmson
22-Feb-17 6:51am
View
Why did you repost existing answer?
jimmson
21-Feb-17 8:18am
View
Thank you!
jimmson
21-Feb-17 4:56am
View
You're welcome.
jimmson
17-Feb-17 4:58am
View
more like where's the question?
jimmson
16-Feb-17 11:10am
View
I doubt that. Sorry I need to go now. Debug your code, you will eventually see the problem. I can't do that for you. :)
jimmson
16-Feb-17 11:01am
View
Ok, lets get back a little. Try this code:
string filePath = @"C:\";
System.Diagnostics.Process.Start("explorer.exe", string.Format("/select, \"{0}\"", filePath));
If it opens file explorer and selects the C drive, this code snippet works. Then you have to figure out why it's not working for you. If the snippet not working as I described, then there must be some problem in your OS.
jimmson
16-Feb-17 10:55am
View
Share it here in comments or improve your question. Send it as solution only if it is really a solution.
jimmson
16-Feb-17 10:49am
View
MessageBox.Show is really bad substitute for debugging.. However, try this piece of code with some other (hardcoded) existing path and you'll see its doing what you need. Error must be somewhere in your code.
jimmson
16-Feb-17 10:38am
View
Ok, but it doesn't necessarily means its the value of the exactpath. Debug your code to see what actually is in the exactpath.
jimmson
16-Feb-17 10:31am
View
Ok, are you sure the exact path is valid? Can you send the exactpath value?
jimmson
10-Feb-17 7:35am
View
Deleted
If you REALLY tried google, you would already have your answer. There are thousands of examples on this topic..
jimmson
7-Feb-17 10:28am
View
People here are trying to help programmers, and not doing their job for free..
jimmson
2-Feb-17 4:58am
View
You are welcome. Happy coding!
jimmson
27-Jan-17 4:52am
View
Well you should at least give it a try.
jimmson
19-Jan-17 9:03am
View
I don't think giving him full answer would be really helpful.
jimmson
19-Jan-17 8:48am
View
Then your "son" should ask his teacher and not you.
jimmson
18-Jan-17 4:09am
View
You have already got the answer in the previous question (which was the same).
jimmson
16-Dec-16 12:00pm
View
You're welcome!
jimmson
16-Dec-16 11:49am
View
Big part of programming is to figure out the problems and find the solutions :) Google is your friend. If you will not be able to solve the issue and will need help, I recommend to ask a new question, describe it properly and show your code. I'm afraid this is no longer related to your original question.
jimmson
16-Dec-16 11:21am
View
Try look at the inner exception (and inner of inner and so on). There's a big chance this not relate to the original question. :)
jimmson
16-Dec-16 8:50am
View
There are several ways in Visual Studio, by using Object browser, by using tooltips.. I recommend to learn more about namespaces, it will be much clearer then! https://msdn.microsoft.com/en-us/library/dfb3cx8s.aspx
jimmson
30-Nov-16 4:49am
View
Try clean/rebuild or close/open Visual Studio. Also, it's not a good idea to name your types with lowercase first letter. Look at the naming guidelines: https://msdn.microsoft.com/en-us/library/ms229002(v=vs.110).aspx
jimmson
30-Nov-16 4:33am
View
So this is not working?
login form = new login();
form.Show();
What error message you get?
jimmson
19-May-16 7:15am
View
I'm sorry, I didn't notice you use VB, not C#. But the idea is still same. Put index into separate variable and then check that this index is in the range of the collection you working with -> equal/bigger than zero AND smaller than the count of items in the collection.
jimmson
19-May-16 7:08am
View
Hello, please don't post a your reply as a solution, use comments or "Improve your question" button. Anyway, your code is not very clear, you doing a lot of stuff in one line of code.. I assume exception is thrown from RemoveAt method - put everything inside into separate variable and check that index is in the range. Something like this:
var index = ddlChangeStatus.Items.IndexOf(ddlChangeStatus.Items.FindByText("On Hold/Pending"));
if(index >= 0 && index < ddlChangeStatus.Items.Count)
{
ddlChangeStatus.Items.RemoveAt(index);
}
jimmson
19-May-16 6:50am
View
Hi, what is wrong with the index - explanation is in the title of your question. Did you tried to debug your code? Without debug, you hardly solve this problem..
jimmson
13-Apr-16 9:09am
View
Pass path to image as argument and load image in code.
jimmson
5-Feb-16 6:49am
View
You are welcome.
jimmson
5-Feb-16 6:07am
View
Try to add some timeout after clicking to 'next' button. Please look at this: http://stackoverflow.com/a/20093953
jimmson
5-Feb-16 5:56am
View
Did you try to use By.id("Passwd")? Not sure why it's not working with xpath, it seems valid.
jimmson
5-Feb-16 4:59am
View
Did you even read error message? You have an explanation on the first line you sent..
jimmson
25-Jan-16 9:42am
View
You didn't mentioned what problem or question you have.
jimmson
13-Nov-15 12:59pm
View
Thanks Matt!
jimmson
13-Nov-15 12:04pm
View
Thank you Bill
jimmson
13-Nov-15 10:13am
View
You're welcome :)
Show More