15,886,110 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 Kris Lantz (Top 40 by date)
Kris Lantz
8-Jul-20 12:02pm
View
Why are you yelling? We're right here.
Kris Lantz
10-Apr-20 16:25pm
View
We'll share ours if you share yours first.
Kris Lantz
3-Apr-20 16:11pm
View
So... where are you stuck?
Kris Lantz
2-Apr-20 15:25pm
View
"Help" implies that you've made an effort. Since you're only seeking the answer, I think you meant, "Do."
Kris Lantz
31-Mar-20 15:33pm
View
It looks like similar has been asked before, with a potential modifiable solution here (Solution 4.) https://www.codeproject.com/Questions/720667/How-to-restrict-special-characters-and-spaces-in-t
Kris Lantz
31-Mar-20 13:04pm
View
Show us the attempt you've made, via code, and you'll get more useful aid. As is stands, it looks like you just expect a solution.
Kris Lantz
23-Mar-20 7:53am
View
Correct, but where is it defined?
Kris Lantz
17-Mar-20 13:47pm
View
What a delightful change of process between the two. Didn't realize that.
Kris Lantz
11-Mar-20 13:23pm
View
I think we'll need some additional code supplied. What does your validation look like, how is your form updated, etc, etc.
Kris Lantz
6-Mar-20 12:16pm
View
Google search showed several different solutions, as well as different possibilities for cause. With information here being limited, have you tried solutions from Googly?
Kris Lantz
5-Mar-20 16:00pm
View
Oh yes, Eclipse has some debugging options. It's vital to learn how to use it, especially if you are a professional, or are pursuing this stuff professionally. I use Visual Studio's debugger daily. I found some info on eclipse's debugger. https://www.eclipse.org/community/eclipse_newsletter/2017/june/article1.php
Kris Lantz
5-Mar-20 15:42pm
View
What are you using to code in Java?
Kris Lantz
5-Mar-20 15:00pm
View
Without knowing how the entire project functions, my insight is limited. The debugger would be useful here. Run through and see if the values are what you expect at each point, and go from there.
Kris Lantz
5-Mar-20 14:20pm
View
Why would you want to put all of that info into main only, and then recursively call main()? Splitting into methods is precisely the way I would do it. It makes things more manageable.
If you're referring to taking the separate classes and joining into a single, then that is possible.
Kris Lantz
5-Mar-20 9:12am
View
I'm not sure of differences in local, but during development with django, our API requests had to be authenticated, and permissions were bound to accounts. General users could post/get, but only admins had access to delete/put. Some resource on that server should be managing that, because you would not want delete/put exposed to and usable by everyone.
The error is mentioning it's a permission issue, so I would investigate how those are handled.
Kris Lantz
5-Mar-20 8:47am
View
and the token is bound to an account type, correct? i.e. general user
Kris Lantz
4-Mar-20 13:17pm
View
When your app contacts the server, how does the server resolve who is making the request?
Kris Lantz
25-Feb-20 11:46am
View
Your PUT command is creating a brand new resource; a new customer. From an operation standpoint, put and post are not the same.
Two of the API's I use daily allow me to post information, but I am not permitted to send those same requests with a 'put' command; I don't have permission.
Kris Lantz
25-Feb-20 11:15am
View
There's no new packages to grab, and the verbage change from POST to PUT is usually the requirement, but I seem to recall that (in the little bit of web dev I did in college) that the account making the request had to have explicit permissions.
Kris Lantz
25-Feb-20 10:56am
View
Doesn't each type of request require the respective permission to do so? Have you verified that you have the permission to PUT?
Kris Lantz
14-Feb-20 15:01pm
View
for (int i = 0; i < listView.getAdapter().getCount(); i++) {
if (listView.getChildAt(i) != null) {}
The second line is checking if the listview has children (for that iteration.)
My point 2) is asking if you have verified that
if(listView.getChildAt(i) != null) {}
is in fact not null for all 15 iterations of the loop.
Kris Lantz
14-Feb-20 13:45pm
View
Have you:
1) Verified the listView.getAdapter().getCount(); is returning the correct value (of 15)?
2) If 1 is correct, that all listView items have children?
Kris Lantz
22-Jan-20 13:39pm
View
Deleted
It's hard to tell without seeing more of what you've done. Have you tried reducing the percentages to see if it will fit? The min-width/height could be tied to the size /resolution of the video itself, and not explicitly the window size.
Kris Lantz
22-Jan-20 10:40am
View
Is there an issue, or it this a dump-in-someone-else's-lap sort of deal?
Kris Lantz
21-Jan-20 10:23am
View
Were there any errors or status notifications when you ran the migrate?
Kris Lantz
21-Jan-20 8:20am
View
Just for clarity, is this an additional page being added to a site that is already live (and working otherwise?)
Kris Lantz
17-Jan-20 8:30am
View
Have you checked that the permission to access the user's location is being set properly? I recall a similar issue when I did geoservice stuff.
Kris Lantz
14-Jan-20 12:45pm
View
Why is there a need for this duplicate question, when you have aid in the original?
Kris Lantz
9-Jan-20 15:51pm
View
I hadn't considered that. I appreciate your addition, good sir.
Kris Lantz
9-Jan-20 15:49pm
View
Where is $res fetching an array from? Does fetch take a param?
Kris Lantz
9-Jan-20 10:48am
View
I personally am not familiar with MIPS syntax, but the first slide here might be useful. https://courses.cs.vt.edu/cs2506/Fall2014/Notes/L04.MIPSAssemblyOverview.pdf
Kris Lantz
9-Jan-20 10:28am
View
You can check to make sure data is within the 0-99 bounds before checking the success/failed.
Kris Lantz
9-Jan-20 9:38am
View
This smells like homework. Have you attempted the problem, so that one might offer some guidance, over just the solution?
Kris Lantz
8-Jan-20 13:58pm
View
Beat me to it. Take my stars...
Kris Lantz
8-Jan-20 13:35pm
View
Does the column "CarNumber" exist in the DB?
Kris Lantz
7-Jan-20 15:00pm
View
From the code provided above, conString is not declared, meaning the new OracleConnection(conString) will not process, because it is null. The connection will never be opened to the DB.
Kris Lantz
2-Jan-20 15:16pm
View
Is the adView.AdUnitId assignment intentional? The number looks fake and does not match what Google provides here https://developers.google.com/admob/android/banner
From what I could gather, the adLoad() should be called in the class that is going to make the request, and not in the renderer itself, but my experience with how Xamarin does things vs Android Studio, is limited.
Kris Lantz
31-Dec-19 8:26am
View
By "crashing", do you mean at apk install or during runtime? If you have access to real hardware, Android Studio supports live debugging on the device (you might already know.) I used that feature quite a lot for troubleshooting, instead of those... delightful emulators.
Kris Lantz
31-Dec-19 7:55am
View
It's odd that the question is near identical to the first time, but maybe the solution I offered previously wasn't enough. I figured mentioning Jon's answer specifically, and trying to show it does (I think) what the OP is looking for, was the best option here.
Kris Lantz
24-Dec-19 11:06am
View
The question is vague and doesn't have a simple answer. What type of data, and what are you doing with it? Is there a language or framework in mind? There are plenty of resources/tutorials on MVC on Google, so I would start there.
Show More